Interesting uses for /dev/shm

Khyron320

Senior member
Aug 26, 2002
306
0
0
www.khyrolabs.com
So the other thread about old ssds and writing to the same spot got me thinking. What are some interesting uses of /dev/shm?

Some quick googling sugested running vms from it.
I thought about encoding here.
Using it to speed up a gzip ->
Gzip file.bigfile /dev/shm/file.bigfile.gz && mv /dev/shm/file.bigfile.gz .
Sharing a steam backup at a lan party from it via samba so the hdd doesn't get thrashed and bottle down to 2mb/sec per player.


Any other ideas for the shared memory pool?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
/dev/shm is just a tmpfs mount these days, it would probably be better to use a separate mount for other odds and ends in case you do have something really wants to use shm.