News for hackers. Stuff that matters.
Re:Memory Trick Could Speed Up the Web by bradleyland on Monday October 17, 2011 @10:03AM (#3120494)
See also:

    mkdir /media/ramdisk
    chmod 777 /media/ramdisk
    mount -t tmpfs -o size=1024M tmpfs /media/ramdisk/
Note: Do not copy/paste this in to your shell unless you know what you're doing. This will immediately seize 1 GB of RAM that you may or may not have free. Any data you put there will go up in smoke if your system loses power or is forced to reboot without first copying the data to persistent storage.

There are no comments on this comment yet.