Hi Valérie,
Valerie Clement wrote:
Hi Maeda,
Could you try the following patch ?
It should improve things, but I still think of a better correction.
Thanks a lot,
Valérie
The patched kernel lives much longer, but the hang-up still happens.
The following information is /proc/meminfo and /proc/vmstat during
the hang-up.
$ cat /proc/meminfo
MemTotal: 4076448 kB
MemFree: 2656656 kB
Buffers: 357888 kB
Cached: 609360 kB
SwapCached: 36976 kB
Active: 490032 kB
Inactive: 621152 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 4076448 kB
LowFree: 2656656 kB
SwapTotal: 4135360 kB
SwapFree: 4022208 kB
Dirty: 1248 kB
Writeback: 0 kB
Mapped: 159216 kB
Slab: 103616 kB
CommitLimit: 6173584 kB
Committed_AS: 323152 kB
PageTables: 7344 kB
VmallocTotal: 137430532096 kB
VmallocUsed: 17872 kB
VmallocChunk: 137430511536 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 262144 kB
$ cat /proc/vmstat
nr_dirty 78
nr_writeback 0
nr_unstable 0
nr_page_table_pages 459
nr_mapped 9951
nr_slab 6478
pgpgin 115846465
pgpgout 61693632
pswpin 6231301
pswpout 3736232
pgalloc_high 0
pgalloc_normal 16052695
pgalloc_dma 102
pgfree 16218928
pgactivate 2862066
pgdeactivate 11023729
pgfault 23813087
pgmajfault 1889416
pgrefill_high 0
pgrefill_normal 33950300
pgrefill_dma 0
pgsteal_high 0
pgsteal_normal 9182009
pgsteal_dma 0
pgscan_kswapd_high 0
pgscan_kswapd_normal 24345507
pgscan_kswapd_dma 0
pgscan_direct_high 0
pgscan_direct_normal 0
pgscan_direct_dma 0
pginodesteal 0
slabs_scanned 0
kswapd_steal 9182009
kswapd_inodesteal 0
pageoutrun 0
allocstall 0
pgrotated 3781639
nr_bounce 0
Thanks,
MAEDA Naoaki
diff -ruNp a/mm/vmscan.c b/mm/vmscan.c
--- a/mm/vmscan.c 2006-02-01 15:44:01.000000000 +0100
+++ b/mm/vmscan.c 2006-02-01 15:53:43.000000000 +0100
@@ -800,6 +800,9 @@ refill_inactive_zone(struct zone *zone,
if (swap_tendency >= 100)
reclaim_mapped = 1;
+ if (!ckrm_class_limit_ok(ckrm_zone->memcls))
+ reclaim_mapped = 1;
+
while (!list_empty(&l_hold)) {
cond_resched();
page = lru_to_page(&l_hold);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech