This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] always inline alloc_perturb.


On Fri, Dec 12, 2014 at 10:53:26AM -0500, David Miller wrote:
> From: OndÅej BÃlka <neleai@seznam.cz>
> Date: Fri, 12 Dec 2014 16:50:51 +0100
> 
> > And is worse performance in next ten years until that issues are fixed
> > acceptable?
> 
> In moderate amounts, it's no big deal.

You have no guarantee that its just moderate amount. From your warnings
it looks that compiler decided never inline anything. So how much does
malloc_benchtest differ after you build with ./configure --disable-werror?

On x86 simulating that with noinline gives 10% performance degradation
which as half of total time spend in libc is in malloc+variants.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]