Relocate application pre-heat data

Sep 13, '02 08:19:13AM

Contributed by: Anonymous

After getting the /etc/rc file re-edited (thanks to Jaguar overwriting my files) so that my swapfile was on my other hard drive (thanks to this hint), I noticed that the original /private/var/vm folder wasn't completely clean yet. It turns out that the "pre-heated" data for your apps is stored in that same folder. So, this is a pretty minor tweak if you've already got the swapfile moved over (this is later in the rc script, so you don't have to do much else):

##
# pre-heat support for working set profiles
##
appprofiledir=/Volumes/Delta/private/var/vm/app_profile
(Note that "Delta" is the name of my swap file partition.)

This worked for me. I don't know if it made things "snappier," but I liked having all the stuff in one place. Hope this helps!

Comments (4)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020913051913365