Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Use something other than the Startup disk for VM?

Use something other than the Startup disk for VM?
Thread Tools
UNTeMac
Mac Elite
Join Date: Jan 2001
Location: Denton, TX
Status: Offline
Reply With Quote
Feb 4, 2005, 07:37 PM
 
I have one of the older iMacs and I upgraded the hard drive to 40 gigs a little over a year ago. Due to the 1st 8Gb startup disk rule, I have it partitioned 7.9Gb and 32Gb.

The problem is my first partition is always getting full due to disk paging during heavy multitasking. I know the simpler solution would be more RAM (192MB right now) but my question is:

Can I make my 32Gb partition my scratch disk for OS X, rather than my startup? How?
"This show is filmed before a live studio audience as soon as someone removes that dead guy!" - Stephen Colbert
     
waffffffle
Mac Elite
Join Date: Sep 2000
Status: Offline
Reply With Quote
Feb 5, 2005, 01:09 AM
 
That's probably not a good idea, because it would require the disk head to jump around to move between the VM space and your boot disk. You're probably just better off moving your home folder to the big partition instead. VM usually doesn't take up more than a gig on those old iMacs with low RAM.
     
Telusman
Dedicated MacNNer
Join Date: Jul 2002
Location: Calgary, Alberta
Status: Offline
Reply With Quote
Feb 5, 2005, 12:30 PM
 
I think it would be an ideal thing for him to move his paging file(s) to the other volume, he's probably experiencing a little pagefile fragmentation if his disk is getting very full and the OS is just looking for space to put things. putting the pagefile on the other partition would make it so the OS would always have room to create a single pagefile chunk and not have to spread it over available freespace. Sadly there is no feature for this, and the older solutions i've tried failed to work under Panther as they had in Jaguar. Sorry i can't help any further, but I do believe this should be a power user type feature inside the OS

- Telusman
"No ma'am i'm not angry at you, I'm angry at the cruel twist of fate that directed your call to my extension..."
     
ul1984
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status: Offline
Reply With Quote
Feb 5, 2005, 02:17 PM
 
this works just fine in panther: http://www.math.columbia.edu/~bayer/OSX/swapfile/

its been a while since i used it, so i havent tried it on 10.3.7, but it should still work.
     
UNTeMac  (op)
Mac Elite
Join Date: Jan 2001
Location: Denton, TX
Status: Offline
Reply With Quote
Feb 5, 2005, 05:07 PM
 
Originally posted by waffffffle:
That's probably not a good idea, because it would require the disk head to jump around to move between the VM space and your boot disk. You're probably just better off moving your home folder to the big partition instead. VM usually doesn't take up more than a gig on those old iMacs with low RAM.
Yeah, looking at the methods required and the risks involved, I'll wait to see if a better solution comes out.

As for moving my home folder...do I just alias it and then copy to my big partition and delete the old? Thanks.
"This show is filmed before a live studio audience as soon as someone removes that dead guy!" - Stephen Colbert
     
waffffffle
Mac Elite
Join Date: Sep 2000
Status: Offline
Reply With Quote
Feb 5, 2005, 07:02 PM
 
Originally posted by Telusman:
I think it would be an ideal thing for him to move his paging file(s) to the other volume, he's probably experiencing a little pagefile fragmentation if his disk is getting very full and the OS is just looking for space to put things. putting the pagefile on the other partition would make it so the OS would always have room to create a single pagefile chunk and not have to spread it over available freespace. Sadly there is no feature for this, and the older solutions i've tried failed to work under Panther as they had in Jaguar. Sorry i can't help any further, but I do believe this should be a power user type feature inside the OS

- Telusman
There is only a performance advantage to using a separate volume for VM if that volume is a different physical disk, on a different device chain. Using two partitions on the same disk is bad for performance.
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 5, 2005, 11:08 PM
 
As others have said, do not do this unless you have a completely separate disk which you want to use for VM. Although it won't break the machine if you use a separate partition on the same disk, it will hurt your performance much more than it helps.

You can use a separate partition on any drive, but performance on that drive will suffer because the heads must jump back and forth a greater distance than they otherwise would. This is why it's a Very Bad Idea to use a separate partition on your startup disk. What you want is to use a disk which won't be used for anything else very often. The ideal situation is to dedicate an entire drive to be used only for VM, but that's more extreme than most people need or want to do.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:48 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,