On Sat, 5 May 2007 09:15:41 +0000 (UTC)
Duncan <[EMAIL PROTECTED]> wrote:
--snip--
> 
> Actually, here, I have 8 gigs.  That's a bit overkill.  I'd probably 
> stick with four if I were doing it over, as over four gigs remains 
> entirely empty, most of the time, not even used for cache.
--snip--

In case you didn't know...

There are several kernel configuration options you can tweak to make it
cache more aggressively. Also you could try XFS - it is known to be one
of the most hungry-for-RAM file systems. Please, have in mind that
these tweaks could be dangerous for your file system in case of power
failure. Consider using an UPS.

So, you could try changing the values of the following params
in /etc/sysctl.conf and activate their new values by "sysctl -p"

vm.overcommit_memory 
fs.xfs.xfsbufd_centisecs
fs.xfs.xfssyncd_centisecs 
fs.xfs.age_buffer_centisecs 
vm.dirty_ratio 
vm.dirty_background_ratio
vm.dirty_expire_centisecs
vm.dirty_writeback_centisecs
vm.swappiness 
vm.swap_token_timeout 
vm.vfs_cache_pressure 
vm.page-cluster

The  meanings of these options are described in the kernel docs, so the
files containing the info could be found by grepping like:
"grep -rinm1 dirty_expire_centisecs /usr/src/linux/Documentation". 

Have fun! ;-)

-- 
Best regards,
Daniel

-- 
[EMAIL PROTECTED] mailing list

Reply via email to