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