20 Aug 13:03
[RFC][PATCH 0/2] Quicklist is slighly problematic.
From: KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
Subject: [RFC][PATCH 0/2] Quicklist is slighly problematic.
Newsgroups: gmane.linux.kernel, gmane.linux.kernel.mm
Date: 2008-08-20 11:05:51 GMT
Subject: [RFC][PATCH 0/2] Quicklist is slighly problematic.
Newsgroups: gmane.linux.kernel, gmane.linux.kernel.mm
Date: 2008-08-20 11:05:51 GMT
Hi Cristoph, Thank you for explain your quicklist plan at OLS. So, I made summary to issue of quicklist. if you have a bit time, Could you please read this mail and patches? And, if possible, Could you please tell me your feeling? -------------------------------------------------------------------- Now, Quicklist store some page in each CPU as cache. (Each CPU has node_free_pages/16 pages) and it is used for page table cache. Then, exit() increase cache, the other hand fork() spent it. So, if apache type (one parent and many child model) middleware run, One CPU process fork(), Other CPU process the middleware work and exit(). At that time, One CPU don't have page table cache at all, Others have maximum caches. QList_max = (#ofCPUs - 1) x Free / 16 => QList_max / (Free + QList_max) = (#ofCPUs - 1) / (16 + #ofCPUs - 1) So, How much quicklist spent memory at maximum case? That is #CPUs proposional because it is per CPU cache but cache amount calculation doesn't use #ofCPUs. Above calculation mean(Continue reading)
RSS Feed