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?
How to place / store a file in memory on linux?
linux;files;memory
On Linux, you probably already have an tmpfs filesystem that you can write to at /dev/shm.$ >/dev/shm/foo$ df /dev/shm/fooFilesystem           1K-blocks      Used Available Use% Mounted ontmpfs                   224088         0    224088   0% /dev/shmThis may use swap, however. For a true ramdisk (that won't swap), you need to use the ramfs filesystem.mount ramfs -t ramfs /mountpoint