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

From: Borislav Petkov
Date: Wed Aug 17 2016 - 23:45:54 EST


On Wed, Aug 17, 2016 at 03:29:04PM -0700, Huang, Ying wrote:
> branch-miss-rate decreased from ~0.30% to ~0.043%.
>
> So I guess there are some code alignment change, which caused decreased
> branch miss rate.

Hrrm, I still can't imagine how that would happen if the machine
supports POPCNT and we never call the __sw_hweight* variants. Or does
it?

Can you paste /proc/cpuinfo from that Sandy Bridge-EP box?

Thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--