Re: rc.d/tmp: tmpfs support not entirely complete?
- In reply to: Tomek CEDRO : "Re: rc.d/tmp: tmpfs support not entirely complete?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Sep 2025 18:06:01 UTC
On Sat, 27 Sep 2025 18:02:54 +0200 Tomek CEDRO <tomek@cedro.info> wrote: > one question here by the way is md faster than tmpfs? i find tmpfs a bit > slow.. > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info My understanding is that both are different in their purpose. md acts as virtual "disk", backed by disk image like *.iso, and needed to be mounted as the backed filesystem (if the image is partitioned, mount the partition as the defined filesystem type, like FAT, UFS, ...). Not 100% sure, but if filesystems inside md can be updated via md if mounted with rw. OTOH, tmpfs itself act as a actual (but volatile) filesystem, mounted as tmpfs. And once in memory pressures, less actively used part of it is swapped, if swap partitions or swap files are cofigured (swap backed). And these differences can affect performance, depending on memory pressures. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>