For data sharing between process using in-RAM memory files, is it /run
a good place to store “big” files (where “big” means between 100MiB and 1GiB, but not bigger than that), or is /dev/shm
(or use shm_open
) a better place?
In my system, both /run
and /dev/shm
are tmpfs
mount points of same size, 16GiB. /run
is usually used for storing lock files and other “little things”, but I don’t know what could be wrong with using /run
has a general place to store in-memory shared files.