|Apr 18, 2009, 11:47 PM||#1|
Allocate contiguous hard drive space for swap space?
After some messing about on my computer (short story:inf loop, loop writes to container in memory), I've built up large chunks of swap space on my computer. The problem isn't space that's been used up, rather the locking up of the system when switching to another application. Since the hard drive IO is flooded by calls, and that the swap space is invariably fragmented across the entire drive (iDefrag currently shows 2 1GB swapfiles: 984 and 3873 pieces).
When I went back to working in Numbers (1 400kb document open), I got a beachball for about 5-6 minutes while the app was being read back into memory from the thousands of bits on my hard drive.
Now, as my thread topic suggests: is there a way to dedicate a portion of the drive (preferably not a partition) of contiguous space ONLY for swap space usage? Googling turned up a few *nix related methods, but the link below has a stack of comments titled 'stupid idea'.
Can anyone break down the method (and why they think it's a stupid idea) in the link below?
Thoughts? Suggestions? Or is it just not possible?
Official MR IRC
Slow news day? Never fear, Digitimes is here. Serving up free hits for techblogs everywhere.
Last edited by sammich; Apr 18, 2009 at 11:53 PM.
|Apr 19, 2009, 07:22 AM||#2|
I think you are over thinking this problem. I would start with something like applejack run in full auto mode. One of the things it does is clean up the swap files.
Defragmenting is usually not the solution.
UMBP 2.4 15" replacement for a MBP2,2 with a boatload of issues.
|Apr 19, 2009, 04:35 PM||#3|
Mac OS will only use contiguous space for swap chunks. Typically, the problem is that it can't find large enough chunks, and a full defrag opens up large spaces.
A reboot resets the swap chunks, I believe.
The link you included may not be relevant, considering it was based on very old OS X.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|External hard drives on network not recognized||scisport||iMac||2||Mar 18, 2012 09:08 AM|
|Hard Drive for Optibay for shock protection - WD Scorpio Black?||oxfordguy||MacBook Pro||10||Sep 29, 2011 04:06 PM|
|Second hard drive to be used for both Windows and MAC?||konaseema||MacBook Pro||5||Jun 29, 2011 03:53 PM|
|Iomega Hard drive with password protection?||respectabilia||Mac Peripherals||1||Nov 7, 2010 01:02 PM|
All times are GMT -5. The time now is 01:19 PM.