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


Click here to return to the '10.5: How to create a RAM disk larger than 2.2GB' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to create a RAM disk larger than 2.2GB
Authored by: Harald Ge on Apr 15, '11 06:06:28AM
I use this script to create a 8,3GB ram disk every time my computer boots (after user login).
(Start Scripteditor and save it as a executable program, then add the programm as a user startup item. Although it can take up to 2 minutes until the raid is created)
I use a G5 (Late 2005) with very mixed ram (pc2 4200, 5300, 6400 etc).
It might be interesting to test this method with a raid 1 configuration. on top of the raid 0 conifguration.
This really speeds up my work, since Photoshop can address just 3GB of ram under 10.5.8.


Enjoy H.

http://haraldgeisler.com


Here is the script:


do shell script "
if ! test -e /Volumes/\"SpeedDisk\" ; then
diskutil erasevolume HFS+ r1 `hdiutil attach -nomount ram://4629672`
diskutil erasevolume HFS+ r2 `hdiutil attach -nomount ram://4629672`
diskutil erasevolume HFS+ r3 `hdiutil attach -nomount ram://4629672`
diskutil erasevolume HFS+ r4 `hdiutil attach -nomount ram://4629672`
diskutil createRAID stripe SpeedDisk HFS+ /Volumes/r1 /Volumes/r2 /Volumes/r3 /Volumes/r4;
fi
"



XBench results:

Results 490.69
System Info
Xbench Version 1.3
System Version 10.5.8 (9L31a)
Physical RAM 14336 MB
Model PowerMac11,2
Processor PowerPC G5x2 @ 2.30 GHz
L1 Cache 64K (instruction), 32K (data)
L2 Cache 1024K @ 2.30 GHz
Bus Frequency 1 GHz
Drive Type SpeedDisk
Disk Test 490.69
Sequential 311.07
Uncached Write 292.70 179.71 MB/sec [4K blocks]
Uncached Write 625.50 353.91 MB/sec [256K blocks]
Uncached Read 147.69 43.22 MB/sec [4K blocks]
Uncached Read 932.28 468.56 MB/sec [256K blocks]
Random 1161.13
Uncached Write 439.26 46.50 MB/sec [4K blocks]
Uncached Write 1590.40 509.15 MB/sec [256K blocks]
Uncached Read 6071.25 43.02 MB/sec [4K blocks]
Uncached Read 2667.39 494.95 MB/sec [256K blocks]





[ Reply to This | # ]