Once upon a time, Reindl Harald <h.rei...@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 <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to