How to reduce page cache?
Hi.
Quoted 10 lines · i ?i??ea(C) Chun-Mok Chung
You are right. If I don't reduce pageset2 size, swsusp2 works well. And
image_size_limitfunction works well, too.The problem occurs because of my additional codes.
I tried reducing pageset2 to enhance resume performance by reducing disk I/O time.
Because my box uses ramdisk,shrink_cache()doesn't write-back dirty page to disk and the cache size decrease only a little.
So, I willing to release dirty pages ininactive_listwhich are mapped to program file and not used any more.
Ah. Now I'm with you.
I wonder whether you'll get better help by talking to the guys who really understand the memory manager. They're accessible via the Linux-MM mailing list, which I've cc'd.
Guys, Chun-mok is using a 2.4.19-rmk7-pxa2 kernel. Are you able to give him some suggestions?
Regards,
Nigel
Signature · 12 lines
Nigel Cunningham Software Engineer, Canberra, Australia http://www.cyclades.com Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574 Maintainer of Suspend2 Kernel Patches http://suspend2.net -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>