4 ms·
For OS X, you can create a RAM disk like so: diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430` ex: Initialized /dev/rdisk4 as a
by PStamatiou 16y ago
For OS X, you can create a RAM disk like so:
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430`
ex:
Initialized /dev/rdisk4 as a 569 MB HFS Plus volume
works for me in firefox. but doesn't really seem faster, probably because my main disk is an ssd raid array.
http://dl.dropbox.com/u/186198/Screenshots/7k4b.png http://dl.dropbox.com/u/186198/Screenshots/7k4b.png
- brunoqc 16y agoIsn't speedtest for the bandwidth? Maybe you should try to find speed tests for browsers, like at http://www.webdevelopersnotes.com/articles/test-browser-speed.php http://www.webdevelopersnotes.com/articles/test-browser-spee...
- PStamatiou 16y agothat was just an open tab and not related to my ramdisk setup tinkering
- kevinburke 16y agoI tried doing that and got this message: Usage: diskutil eraseVolume format name MountPoint|DiskIdentifier|DeviceNode Completely erase an existing volume. Ownership of the affected disk is required. Format is the specific filesystem name you want to erase it as (HFS+, etc.). Name is the (new) volume name (subject to filesystem naming restrictions), or can be specified as %noformat% to skip initialization (newfs). You cannot erase the boot volume. Example: diskutil eraseVolume JHFS+ UntitledHFS /Volumes/SomeDisk Edit: I got it to work by doing hdiutil attach -nomount ram://1165430 on one line, then diskutil eraseVolume on the newly mounted volume.