[lc-devel] a problem? - /proc/sys/vm/comp_cache/size
Status: Beta
Brought to you by:
nitin_sf
From: Michal P. <gl...@ir...> - 2002-07-05 11:12:36
|
Hello, i found, that /proc/sys/vm/comp_cache/size is chainging itself as it wants... when i try to "echo 4096 > /proc/sys/vm/comp_cache/size" it changes for a few seconds (probably to the first next compress/decompress) and then it gains the last value. (i'm trying to lower from ~11000 to 4096) *lowering isn't possible for now?* algorithm chainging is OK Conf: Latest version of your patch (downloaded yesterday) All options for cache compression in kernel: ON krnl2.4.18 sysRH 7.1 92MBSDRAM 366MHzCeleron66MHz 6.4GBATA33SegateDMAon ===================== MemTotal: 92668 kB MemFree: 5732 kB MemShared: 0 kB Buffers: 984 kB Cached: 19096 kB CCacheAlloc: 43572 kB CCacheUsed: 34382 kB SwapCached: 7880 kB Active: 21596 kB Inactive: 9920 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 92668 kB LowFree: 5732 kB SwapTotal: 385520 kB SwapFree: 345268 kB ====================== compressed cache - statistics algorithm WKdm* Compressed Pages: 242208 Swap Cache: 69268 Page Cache: 172940 Dirty: 39359 Clean: 202849 Decompressed Pages: 86229 Swap Cache: 57916 Page Cache: 28313 Written Out: 10379 Swap Cache: 10379 Page Cache: 0 Faulted In: 88679 Swap Cache: 48722 Page Cache: 39957 Compression MinSize: 272 MaxSize: 4372 AvgSize: 2866 Ratio: 69% MinCycles: 24941 MaxCycles: 6049369 AvgCycles: 79958 Decompression MinCycles: 9794 MaxCycles: 2154162 AvgCycles: 29394 ============================ compressed cache - free space histogram total 0f 1f 2f 3f more buffers nopg 0: 1852 0 1844 8 0 0 0 0 1 - 200: 5421 0 1802 3225 306 88 0 0 200 - 400: 1296 0 1024 182 70 20 0 0 400 - 600: 292 0 279 12 0 1 0 0 600 - 800: 318 0 315 2 1 0 0 0 800 - 1000: 203 0 200 3 0 0 0 0 1000 - 1200: 157 0 156 1 0 0 0 0 1200 - 1400: 456 0 456 0 0 0 0 0 1400 - 1600: 204 0 204 0 0 0 0 0 1600 - 1800: 203 0 203 0 0 0 0 0 1800 - 2000: 222 0 222 0 0 0 0 0 2000 - 2200: 23 0 23 0 0 0 0 0 2200 - 2400: 0 0 0 0 0 0 0 0 2400 - 2600: 0 0 0 0 0 0 0 0 2600 - 2800: 0 0 0 0 0 0 0 0 2800 - 3000: 0 0 0 0 0 0 0 0 3000 - 3200: 0 0 0 0 0 0 0 0 3200 - 3400: 0 0 0 0 0 0 0 0 3400 - 3600: 0 0 0 0 0 0 0 0 3600 - 3800: 0 0 0 0 0 0 0 0 3800 - 4000: 0 0 0 0 0 0 0 0 4001 - 4096: 20 20 0 0 0 0 0 0 ============================== -- Michal 'Glaeken' Plachta gl...@ir... Friday, July 05, 2002 12:58 |