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 > RAM disk possible in Tiger?

RAM disk possible in Tiger?
Thread Tools
Appleman
Mac Elite
Join Date: Feb 2001
Location: France
Status: Offline
Reply With Quote
May 22, 2005, 08:01 AM
 
I have been searching in the forums for this, but only found threads dating back to 2000, 2002. Since Tiger is this possible? Mac Help doesn't say anything about it, so I;m afraid not.
CharlesS seemed to have made an app which has something to do with it though it isn't clear to me if that is what I want: with RAM Disk I mean the thing we had in OS 9.
Thanks.
     
Tyre MacAdmin
Mac Elite
Join Date: Feb 2002
Status: Offline
Reply With Quote
May 22, 2005, 01:46 PM
 
Here is a ram disk creator for OS X that was working in Panther... I'd email them and see if it still works...

http://www.donelleschi.com/ramdiskcreator/
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
May 22, 2005, 02:18 PM
 
Figure out the size you want, in kilobytes. Multiply that number by 2 to get the number of 512-byte sectors. Now, enter this command:

hdiutil attach -nomount ram://<sectors>

replacing <sectors> with the number of 512-byte sectors in the RAM disk that you want. This will create a RAM disk. You'll still need to format it with Disk Utility, newfs, or whatever.

Of course, there are a few GUI wrappers to do this, too, if you don't like the Terminal.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Appleman  (op)
Mac Elite
Join Date: Feb 2001
Location: France
Status: Offline
Reply With Quote
May 22, 2005, 02:33 PM
 
Originally Posted by Tyler McAdams
Here is a ram disk creator for OS X that was working in Panther... I'd email them and see if it still works...

http://www.donelleschi.com/ramdiskcreator/
Thanks.

Originally Posted by CharlesS
Figure out the size you want, in kilobytes. Multiply that number by 2 to get the number of 512-byte sectors. Now, enter this command:

hdiutil attach -nomount ram://<sectors>

replacing <sectors> with the number of 512-byte sectors in the RAM disk that you want. This will create a RAM disk. You'll still need to format it with Disk Utility, newfs, or whatever.

Of course, there are a few GUI wrappers to do this, too, if you don't like the Terminal.
Thanks.
     
larkost
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
May 22, 2005, 05:41 PM
 
Much more important note: 99 out of 100 times a RAM disk will not make things any faster, and will probably make this slower when you count in the time to create and manage the RAM-disk. MacOS X already intelligently caches disk operations so you are only duplicating the work it is already doing, and just cutting down on the memory available for it to do its work.

The number of cases where you can better guess what ram usage pattern is better than the OS is very small.
     
Tyre MacAdmin
Mac Elite
Join Date: Feb 2002
Status: Offline
Reply With Quote
May 22, 2005, 07:48 PM
 
You could make a ram disk for a VPC vm which would help things if you have a G5 with about 4gigs worth of ram... that's an example that would seep things up. I think it comes down to do you have the extra ram to allocate, so that the system and the program(s) you're using at the time don't become affected.
     
Appleman  (op)
Mac Elite
Join Date: Feb 2001
Location: France
Status: Offline
Reply With Quote
May 23, 2005, 04:01 AM
 
Originally Posted by larkost
Much more important note: 99 out of 100 times a RAM disk will not make things any faster, and will probably make this slower when you count in the time to create and manage the RAM-disk. MacOS X already intelligently caches disk operations so you are only duplicating the work it is already doing, and just cutting down on the memory available for it to do its work.

The number of cases where you can better guess what ram usage pattern is better than the OS is very small.
In that case I'll stay away from it.
     
   
 
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 03:31 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.,