[lc-devel] cc on ARM
Status: Beta
Brought to you by:
nitin_sf
From: Artur W. <wi...@th...> - 2003-09-02 15:35:04
|
Hello, we are looking for possibilities of optimizing our embedded linux-based system, and wondering if we can benefit from using the compressed cache. We don't actually have swap disk in our system, but we do a lot of mmaps on a read-only slow memory medium (compact flash through USB). About 2/3 of the system memory is used up by our programs, and about 1/3 is used by the kernel cache. When the kernel needs more memory to satisfy user program requests, it has to remove some pages from the cache to free up some memory. Then when that data is needed again, it has to be read back from the slow medium. I can imagine that the kernel could compress some of the cache to free up the space instead of discarding it completely. Is this what this implementation of the compressed cache is about ? And another question: what would be the effort to port this compressed cache to the ARM kernel ? We have the kernel 2.4.19. Thanks for any help, Artur Wisz |