Ramdisks - Now We Are Talking Hyperspace
linux-mag.com
linux-mag.com
I put my browser cache, several logging files and other volatile things there. Whenever I download something just to dispose it later, it goes in there. If I try something stupid with a lot files or some big ones, it goes in there.
It feels much nicer than to fragment the harddisk for such things; maybe it is just a placebo but it makes me happy. And of course access and usage of those files is blazing fast.
PS: Having Opera's temporary download directory automatically wiped away alone is worth it... :)
I call it /tmp-ram and I give it the same drwxrwxrwt permissions as /tmp.
I use it as the default place for all downloads.
Another example, I listen to streaming radio, and I rip it to disk (so I don't have to deal with buffering, and so I can skip songs). I put it in /tmp-ram, it rips from one end, and I play and then delete from the other.
Hard disk: _ 100 MB/s
Ram disk : ____________________ 2000 MB/s
'K?I wrote an article some months back about competing with OSS, which included some very basic advice like "If you offer software for download, you should have a prominent button which lets people download your software". I did not anticipate this recommendation would be controversial. I got some absolutely priceless comments about it. My two favorites: users who can't find the software without a big ugly button don't deserve to have it, and technically disinclined users who are attempting to install software from the Internet are already doing something wrong, they should be getting it from their distro's repo instead.
Graphs without much content, which is the leading combination these days - especially around "tech", business, economics sites/"content", is pretty damn annoying and it makes it feel a lot more cheap.
I do agree that a graph would be a nice complement. Even if the "problem with Linux/tech crowd" was pretty unnecessary.
Does anyone know how to signal to the Operating System NOT TO CACHE these filesystems? This would be ram caching a ram cache which wouldn't make performance sense.
I cannot work out if that is part of the tmpfs/ramdisk driver itself, or if people who write these sort of articles don't know about normal read/write caching that occurs in all operating systems.
This is confirmed in these docs:
Documentation/filesystems/ramfs-rootfs-initramfs.txt
Documentation/filesystems/tmpfs.txt
Also, what other RAM-to-HD backup mechanisms are out there?