Best kind of hard drive for heavy use?
Steve O'Hara-Smith
steve at sohara.org
Thu Sep 15 13:52:35 UTC 2016
On Thu, 15 Sep 2016 14:29:37 +0100
Shamim Shahriar <shamim.shahriar at gmail.com> wrote:
> I might be mistaken here, but from man tmpfs
>
> *size* Specifies the total file system size in bytes. If zero (the
> default) or a value larger than SIZE_MAX - PAGE_SIZE is given, the
> available amount of memory (including main memory and swap space) will be
> used.
>
> My understanding, which might be wrong, is that as long as your size of
> tmpfs is smaller than ram, it is kept on the ram. Swap is only used when
> your tmpfs exceeds the available physical ram.
Nope tmpfs is just another user of RAM and will be swapped
according to memory pressure just like any other user of RAM - IOW if you
have a tmpfs half the size of your memory that isn't too busy and processes
keeping most of your memory busy then likely you'll find tmpfs data swapped
out.
--
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions
mailing list