Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1464351

Re: [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement
Date 2016-08-17 08:50 +0200
Message-ID <s72PM-5MN-17@gated-at.bofh.it> (permalink)
References <s6Nxo-4cZ-11@gated-at.bofh.it> <s6PSx-5xO-1@gated-at.bofh.it> <s6QbU-5V1-33@gated-at.bofh.it> <s6VOh-161-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 16, 2016 at 04:09:19PM -0700, H. Peter Anvin wrote:
> On August 16, 2016 10:16:35 AM PDT, Borislav Petkov <bp@suse.de> wrote:
> >On Tue, Aug 16, 2016 at 09:59:00AM -0700, H. Peter Anvin wrote:
> >> Dang...
> >
> >Isn't 9.3% improvement a good thing(tm) ?
> 
> Yes, it's huge.  The only explanation I could imagine is that scrambling %rdi caused the scheduler to do completely the wrong thing.

Not entirely surprising. We have plenty bitmasks and if hweight is
corrupting the source data instead of computing the weight then we end
up having two bits of wrong information.

After that, all we can do is more wrong of course...

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [lkp] [x86/hweight]  65ea11ec6a:  will-it-scale.per_process_ops 9.3% improvement "H. Peter Anvin" <hpa@zytor.com> - 2016-08-16 19:00 +0200
  Re: [lkp] [x86/hweight]  65ea11ec6a:  will-it-scale.per_process_ops  9.3% improvement Borislav Petkov <bp@suse.de> - 2016-08-16 19:20 +0200
    Re: [lkp] [x86/hweight]  65ea11ec6a:  will-it-scale.per_process_ops 9.3% improvement "H. Peter Anvin" <hpa@zytor.com> - 2016-08-17 01:20 +0200
      Re: [lkp] [x86/hweight]  65ea11ec6a:  will-it-scale.per_process_ops  9.3% improvement Borislav Petkov <bp@suse.de> - 2016-08-17 07:50 +0200
        Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement "Huang\, Ying" <ying.huang@intel.com> - 2016-08-18 00:30 +0200
          Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a:  will-it-scale.per_process_ops 9.3% improvement Borislav Petkov <bp@suse.de> - 2016-08-18 05:50 +0200
            Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement "Huang\, Ying" <ying.huang@intel.com> - 2016-08-18 06:00 +0200
              Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a:  will-it-scale.per_process_ops 9.3% improvement Borislav Petkov <bp@suse.de> - 2016-08-18 06:20 +0200
            Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement "H. Peter Anvin" <hpa@zytor.com> - 2016-08-18 06:00 +0200
      Re: [lkp] [x86/hweight]  65ea11ec6a:  will-it-scale.per_process_ops  9.3% improvement Peter Zijlstra <peterz@infradead.org> - 2016-08-17 08:50 +0200

csiph-web