Talk:RAM disk/@comment-85.180.162.100-20110415125637

I use this script to create a 8GB ram disk every time my computer boots (user login). (Start Scripteditor and save it as a Program, Go to user Startup Items add the Program. Although it takes up to 2 minutes until the raid is created) I use a G5 (Late 2005). This really speeds up my work, since Photoshop can address just 3GB of Ram running under 10.5.8.

Enjoy

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]