← sources

Is it wise to have /tmp mapped to RAM in performance critical systems?

source: reddit (reddit:sysadmin)published 2026-11-02 14:28ingested 2026-11-03 02:41

retained text

I am currently addressing a memory fragmentation issue, some data:

* System has 64 Gb of RAM
* `/tmp` is mapped to RAM
* Number of HugePages available decreases rapidly within a few days

No one could convince me `/tmp` on memory is a good idea. The only reason I can think is performance but that's not valid when fragmentation is harming the system.

document fetched 2026-11-03 00:38 · canonical https://reddit.com/r/sysadmin/comments/1xlyneb/is_it_wise_to_have_tmp_mapped_to_ram_in