Action required: Rawhide: /tmp is now on tmpfs
Chris Adams
cmadams at hiwaay.net
Fri Jun 1 16:01:37 UTC 2012
Once upon a time, Reindl Harald <h.reindl at thelounge.net> said:
> DO NOT SPIT USELESS DATA IN MY RAM PER DEFAULT BECAUSE RAM
> IS EXPENSIVE STORAGE AND USED FOR BETTER THINGS
Actually, the data written to /tmp _always_ goes through the page cache
and is held in RAM (at least for a bit). Since many things in /tmp are
short-lived, they'll stay in the page cache for "life". The difference
between /tmp-on-storage and /tmp-on-tmpfs is that tmpfs has no overhead
for reading metadata from storage, allocating space, flushing updated
metadata, etc.; the files just only exist in the same page cache they
would have been in all along.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the devel
mailing list