I have read somewhere that one can put a file on a linux system into memory, and loading it will be superfast.
How do I do this? How do I verify the file is loaded from memory?
|
|
|
If your operating system is aiming for POSIX compliance, you probably already have an
This may use swap, however. For a true ramdisk (that won't swap), you need to use the
|
||||
|
|
|
It's called a ramdisk. You can simply mount your RAM as follows:
This creates a ramdisk of 2 GiB. For more information see |
|||||
|