4 ms·
Whoa. Super interesting! Maybe even useful for compiling during development ... develop in workspace, use unison to copy over to the ramdisk, then do all build
by gargarplex 5y ago
Whoa. Super interesting!
Maybe even useful for compiling during development ... develop in workspace, use unison to copy over to the ramdisk, then do all builds from the ramdisk dir?
Would you agree with this article's recommendations regarding ramdisk setup?
https://www.linuxbabe.com/command-line/create-ramdisk-linux https://www.linuxbabe.com/command-line/create-ramdisk-linux There seems to be controversy in the comments as to whether tmpfs is a proper ramdisk - although no clear tutorial as to a better method. Interested to learn more!
- silisili 5y agoYeah they are used a lot interchangeably, but the top commenter is probably technically correct. In this case I'm just using tmpfs as outlined in your link. Keep in mind tmpfs can actually swap when out of space, if that matters to you.
- georgia_peach 5y agoStrangely, I've gotten slightly better performance out of an ordinary filesystem (XFS) than tmpfs. Perhaps filesystem caching is more performant at the moment? I've never really dug into the bowels of it. Any kernel FS gurus have an answer?