public inbox for [email protected]
 help / color / mirror / Atom feed
  • * Re: [PATCH v4] arch/x86: Improve 'rep movs{b|q}' usage in memmove_64.S
           [not found] ` <[email protected]>
           [not found]   ` <[email protected]>
    @ 2022-03-16 16:23   ` Borislav Petkov
      1 sibling, 0 replies; 2+ messages in thread
    From: Borislav Petkov @ 2022-03-16 16:23 UTC (permalink / raw)
      To: Noah Goldstein; +Cc: tglx, mingo, x86, hpa, luto, linux-kernel
    
    On Wed, Nov 17, 2021 at 03:02:45PM -0600, Noah Goldstein wrote:
    > Add check for "short distance movsb" for forwards FSRM usage and
    > entirely remove backwards 'rep movsq'. Both of these usages hit "slow
    > modes" that are an order of magnitude slower than usual.
    > 
    > 'rep movsb' has some noticeable VERY slow modes that the current
    > implementation is either 1) not checking for or 2) intentionally
    > using.
    > 
    > All times are in cycles and measuring the throughput of copying 1024
    > bytes.
    
    All these claims need to be proven by
    
     - real benchmarks - not a microbenchmark - where it shows that
     modifications like that are not "in the noise". Others should be able
     to verify those results too.
    
     - on a bunch of CPUs from different vendors to verify that they don't
       cause performance regressions on any.
    
    HTH.
    
    -- 
    Regards/Gruss,
        Boris.
    
    https://people.kernel.org/tglx/notes-about-netiquette
    
    
    ^ permalink raw reply	[flat|nested] 2+ messages in thread

  • end of thread, other threads:[~2022-03-16 16:23 UTC | newest]
    
    Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <[email protected]>
         [not found] ` <[email protected]>
         [not found]   ` <[email protected]>
         [not found]     ` <CAFUsyfJTuFjVXHMgYi0uggVNW=1WW1uVYa7avVjW5VBb2cmAkQ@mail.gmail.com>
         [not found]       ` <[email protected]>
         [not found]         ` <CAFUsyfLUQLj5py1AQ+4NptM6htWxV5i0qxkeXDUdFPfAnqRY2w@mail.gmail.com>
         [not found]           ` <CAFUsyfKrGhTHoC+MXiA3zFY-dT0wqPRxoJwMY=+uPbj0p0dDAg@mail.gmail.com>
         [not found]             ` <CAFUsyfJQq5n12L-fCsagk5LOqLYXL+3BAORHDCXY-Ud1t2CVDg@mail.gmail.com>
         [not found]               ` <CAFUsyf+4vgZsM9gdyN1=eP_MzDsuOXOdKitS=1Rj-jBpdFGg9Q@mail.gmail.com>
    2022-03-16 14:15                 ` [PATCH v4] arch/x86: Improve 'rep movs{b|q}' usage in memmove_64.S Noah Goldstein
    2022-03-16 16:23   ` Borislav Petkov
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox