Tuning the unified buffer cache
Tuning the unified buffer cache
- Subject: Tuning the unified buffer cache
- From: Joel Reymont <email@hidden>
- Date: Sun, 2 Mar 2008 03:04:19 +0000
Folks,
I'm working with expensive software to parse a 5-300Gb csv file and
write out each column as a separate binary file. I'm running 10.5.2.
I find that I cannot process my huge files without running 'purge' a
few times throughout processing to clear the cache and return occupied
memory. Otherwise, the cache takes over memory and heavy swapping
starts.
I understand that a 'no cache' option is available in the open call
but I don't have access to the source code of the software I'm working
with.
Is there a command line tool or a set of system calls I can use to
limit the size of the cache to a certain amount of memory?
Would setting kern.maxvnodes with syscntl help here?
Thanks, Joel
--
http://wagerlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden