Thread: [lc-devel] Compressed Cache v0.23pre4
Status: Beta
Brought to you by:
nitin_sf
From: Marc-Christian P. <m....@gm...> - 2002-05-22 19:00:48
|
Hi Rodrigo, and again, i think, i am the first man, beneath you, who tests this versi= on :)=20 =2E.. This code went into WOLK 3.4 Final version. I've tested it, runs fi= ne=20 till now. And i must say, my System is running very very smooth with=20 Compressed Cache activated :) ... and even much smoother with Lock-Break = from=20 Preemptible Kernel. version 0.23pre4 seems to work fine with it, prior=20 versions freezes my mashine. A question for understanding: What should be the Size of Compressed Cache= ? Is=20 there a way to calculate it by hand if, let us say, RAM is 256MB and also= =20 SWAP is 256MB ? Hint: You should readd config help that the size is still tuneable via /p= roc,=20 not only with adding a boot param to the bootmanager :) Thanks for your great work Rodrigo. If you need help, let me know! --=20 Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. |
From: Rodrigo S. de C. <rc...@im...> - 2002-05-23 12:38:00
|
On Wed, May 22, 2002 at 08:59:45PM +0200, Marc-Christian Petersen wrote: > and again, i think, i am the first man, beneath you, who tests this > version :) Yes, I guess so. It's great to know there are some people besides me testing the patch :-) > This code went into WOLK 3.4 Final version. I've tested it, runs > fine till now. And i must say, my System is running very very smooth > with Compressed Cache activated :) ... What's your system configuration? Do you have page cache support enabled? What's the size you are setting to the compressed cache? > and even much smoother with Lock-Break from Preemptible > Kernel. version 0.23pre4 seems to work fine with it, prior versions > freezes my mashine. So doesn't it freeze with Lock-Break when untarring a kernel any longer? Even with page cache support enabled? > A question for understanding: What should be the Size of Compressed > Cache? Is there a way to calculate it by hand if, let us say, RAM is > 256MB and also SWAP is 256MB? I don't think there will have one optimal compressed cache size during all the time your system is up. That's because your system will have various memory needs and memory references throughout this time and a single compressed cache size is unlikely to be the optimal for all these scenarios. Anyway, while we don't have adaptivity working reasonably well for compressed cache, you have to pick a size to be able to have compressed cache benefits (hopefully) by now. I would choose something like 15% to 25% of your memory size, because you wouldn't have too much aditional cost since it's not that large and also it isn't so small that can still provide some benefit, if that's the case. That way, in your case, I would set the compressed cache size to something like 40Mb and 64Mb. > Hint: You should readd config help that the size is still tuneable > via /proc, not only with adding a boot param to the bootmanager :) Nice tip, I will do that. > Thanks for your great work Rodrigo. If you need help, let me know! Thanks for your help. Best regards, -- Rodrigo S. de Castro <rc...@im...> |
From: Marc-Christian P. <m....@gm...> - 2002-05-23 14:36:31
|
On Thursday 23 May 2002 14:37, Rodrigo Souza de Castro wrote: Hi Rodrigo, > Yes, I guess so. It's great to know there are some people besides me > testing the patch :-) :-) > What's your system configuration? Do you have page cache support > enabled? What's the size you are setting to the compressed cache? Its a Celeron 800MHz, UDMA66 IDE Disk, 256MB RAM, running Debian SID. Compressed Cache settings are: Compressed Cache: 0.23pre4 Compressed Cache: initial size Compressed Cache: 6552 pages =3D 26208KiB Compressed Cache: page watermarks (normal zone) Compressed Cache: (255, 510, 765) -> (255, 510, 765) Compressed Cache: hash table Compressed Cache: fragment (32768 entries =3D 131072B) Compressed Cache: free space (42 entries =3D 168B) > > and even much smoother with Lock-Break from Preemptible > > Kernel. version 0.23pre4 seems to work fine with it, prior versions > > freezes my mashine. > So doesn't it freeze with Lock-Break when untarring a kernel any > longer? Even with page cache support enabled? as i told in the other email, there was a freeze some hours ago. Now i tr= y=20 this with out page compressing. > [ - SNIP: explaination size of compressed cache - ] thnx, i will play with it a bit around :) > > Hint: You should readd config help that the size is still tuneable > > via /proc, not only with adding a boot param to the bootmanager :) > Nice tip, I will do that. :-) great! > > Thanks for your great work Rodrigo. If you need help, let me know! > Thanks for your help. you are welcome! --=20 Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. |