Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Relocate application pre-heat data System
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!
    •    
  • Currently 2.50 / 5
  You rated: 2 / 5 (2 votes cast)
 
[3,990 views]  

Relocate application pre-heat data | 4 comments | Create New Account
Click here to return to the 'Relocate application pre-heat data' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Tell me more
Authored by: Yaso on Sep 13, '02 02:19:03PM

Tell me more about \"the \"pre-heated\" data for your apps\". What does it do?
Thanks



[ Reply to This | # ]
Tell me more
Authored by: platon on Sep 13, '02 04:19:05PM

I found a good explanation on Apple's Developer Technotes.
URL: http://developer.apple.com/technotes/tn2002/tn2053.html

Search for "app_profile"



[ Reply to This | # ]
Tell me more
Authored by: Yaso on Sep 16, '02 11:46:27AM

Thanks for the info. I'll add this file to my separate SWAP partition.



[ Reply to This | # ]
Are you sure it worked?
Authored by: frogmella on Sep 25, '02 08:09:50AM

I've done the same, and find that no files are being written into either my new, or original, swap directories. I can't figure out why - I tried putting loads of ConsoleMessage commands in the script, but they don't seem to print out.

Anyone have any ideas?



[ Reply to This | # ]