I have a question concerning the /dev/shm and the tmpfs mount. The version of the kernel is the following: 2.6.32-696.16.1.el6.x86_64.
Here is my case:
- I have 2 applications on my machine, one which is latency critical, the other one which is not;
- The latency critical application write many files of data (writes are not in the critical path), at high speed (1GB file every 20 seconds in my test);
- For many reasons, those files are written to ramdisk;
- The second application consume them, and delete them when done.
- /dev/shm (default size 48g)
- mount -t tmpfs -o size=48g tmpfs /tmp/dummyDir
Is there any recommendation about mounting tmpfs folder ? Or is the /dev/shm so particular it is expected to behave "better" than manually mounted folder ?
I could not find much documentation about it