[PATCH] powerpc64: strrchr optimization for power8
Rajalakshmi Srinivasaraghavan
raji@linux.vnet.ibm.com
Tue Mar 21 05:15:00 GMT 2017
On 03/17/2017 09:08 PM, Carlos O'Donell wrote:
> Knowing the mean value of string lengths would let us decide where
> to place most of optimization efforts. I don't know that we have any
> good references to academic literature here.
>
No, I dont have details about strrchr call statistics. This
optimization is to make use of POWER 8 capabilties in general.
> Now I plotted the power8 performance and there is a big bump in the middle,
> any idea why?
I could see some sudden increase for sizes 104-118 and around 222
in the shared sheet. However there is no special logic in the code
related to these sizes. I tried to check if this happens on my
test P8 ppc64le system and I could not recreate this.
--
Thanks
Rajalakshmi S
More information about the Libc-alpha
mailing list