Messages in this thread | | | Date | Fri, 03 Oct 2008 07:37:50 -0500 | From | Christoph Lameter <> | Subject | Re: [PATCH 4/4] capture pages freed during direct reclaim for allocation by the reclaimer |
| |
KOSAKI Motohiro wrote:
>> Parallel allocations are less a problem if the freed order 0 pages get merged >> immediately into the order 1 freelist. Of course that will only work 50% of >> the time but it will have a similar effect to this patch. > > Ah, Right. > Could we hear why you like pcp disabling than Andy's patch?
Its simpler code wise.
> Honestly, I think pcp has some problem.
pcps are a particular problem on NUMA because the lists are replicated per zone and per processor.
> But I avoid to change pcp because I don't understand its design.
In the worst case we see that pcps cause a 5% performance drop (sequential alloc w/o free followed by sequential free w/o allocs). See my page allocator tests in my git tree.
> Maybe, we should discuss currect pcp behavior?
pcps need improvement. The performance issues with the page allocator fastpath are likely due to bloating of the fastpaths (antifrag did not do much good on that level). Plus current crops of processors are sensitive to cache footprint issues (seems that the tbench regression in the network stack also are due to the same effect). Doubly linked lists are not good today because they touch multiple cachelines.
| |