make check fails on rhel5/ppc

Ingvar Hagelund ingvar at redpill-linpro.com
Tue Mar 27 02:10:41 PDT 2012


* Ingvar Hagelund wrote:
> > With the proposed atomic operations for ppc patch, I can finally build
> > jemalloc-2.2.5 on rhel5/ppc. make check fails like this for all but the
> > bitmap test.
> > 
> > Too many small size classes (269 > max 256)
> > 
> > More details below.
> > 
> > Is this just missing tuning? Where are the knobs to turn?

* Jason Evans wrote:
> Something terrible must be wrong with the configuration. Quantum and page size are the most likely culprits; what are they set at?

Page size on rhel5/ppc64 is 64k. This should really be picked up by
configure, for example via getconf, not hard coded.

rhel5_ppc64$ getconf PAGESIZE
65536

(As opposed to the standard 4k page size on most Linux systems,
including rhel5 on i386 and x86_64)

Quantum in this context, that's the smallest memory block allocated by
malloc, right? Do you have any command or C snippet that may show that?

Ingvar





More information about the jemalloc-discuss mailing list