[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /tmp to tmpfs makes it useless



> This is complete bullshit. If you know nothing about how virtual memory
> works, please refrain from making a fool of yourself.
 :-(

> Files which are written on a regular filesystem stay on memory. This is
> called the buffer cache. Whenever they are not used and/or the system
> needs to reclaim memory, they are trashed.
> Files which are written on a tmpfs stay on memory. Whenever they are not
> used and/or the system needs to reclaim memory, they are swapped.
> 
> See? No difference.

You seem to forget that memory is not an unlimited resource, the system might 
need it for other things, and in that case a large tmpfs causes severe 
slowdown (and even complete freeze).

Bye
-- 
Salvo Tomaselli


Reply to: