• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Tuning the unified buffer cache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Tuning the unified buffer cache
      • From: Quinn <email@hidden>
  • Prev by Date: Getting the number of vnodes in use
  • Next by Date: Re: Tuning the unified buffer cache
  • Previous by thread: Getting the number of vnodes in use
  • Next by thread: Re: Tuning the unified buffer cache
  • Index(es):
    • Date
    • Thread