On Thu, 29 Sep 2011, Alex,Shi wrote: > > Is it really worth it? The higher the value the higher the potential > > memory that is stuck in the per cpu partial pages? > > It is hard to find best balance. :) Well then lets err on the side of smaller memory use for now. > I am tested aim9/netperf, both of them was said related to memory > allocation, but didn't find performance change with/without PCP. Seems > only hackbench sensitive on this. As to aim9, whichever with ourself > configuration, or with Mel Gorman's aim9 configuration from his mmtest, > both of them has no clear performance change for PCP slub. AIM9 tests are usually single threaded so I would not expect any differences. Try AIM7? And concurrent netperfs? The PCP patch helps only if there is node lock contention. Meaning simultaneous allocations/frees from multiple processor from the same cache. > Checking the kernel function call graphic via perf record/perf report, > slab function only be used much in hackbench benchmark. Then the question arises if its worthwhile merging if it only affects this benchmark. > Above is what I did this week for PCP. > > BTW, I will take my one week holiday from tomorrow. e-mail access will > be slow. Have a nice holiday.