Re: how to efficient use linux caches

2010-11-01 Thread Mulyadi Santosa
Hi... Let's see if I can help ... On Mon, Nov 1, 2010 at 19:48, loody milo...@gmail.com wrote: I am debugging a user mode program which is used to play multimedia. The size of cache memory is growing so high while playing files and that makes my kernel become slow cache grows at that

how to efficient use linux caches

2010-10-31 Thread loody
Dear all: I have some questions about virtual memory (VM) subsystem of the Linux kernel. 1. From linux doc, there is drop_caches in /proc/ which can let us to free the cache that kernel used, such as dentries and inodes, etc. I know i can echo 1, 2 or 3 to free different level of caches in the

Re: how to efficient use linux caches

2010-10-31 Thread Greg Freemyer
On Sun, Oct 31, 2010 at 11:26 PM, loody milo...@gmail.com wrote: Dear all: I have some questions about virtual memory (VM) subsystem of the Linux kernel. 1. From linux doc, there is drop_caches in /proc/ which can let us to free the cache that kernel used, such as dentries and inodes, etc. I

Re: how to efficient use linux caches

2010-10-31 Thread Rajat Sharma
what kind of system call will increase the size of cache? be clear about which cache? Are you interested in dentry cache, inode cache or page cache? dentry cache and inode cache can grow only by access to filesystem, access multiple files on your system. For page cache increase, you can simple