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

Re: Moving /tmp to tmpfs makes it useless



Le vendredi 25 mai 2012 à 11:11 +0200, Salvo Tomaselli a écrit : 
> 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).

Then increase your swap size.

When you run out of swap, the system fills memory with things that could
be swapped out, and has to reduce the buffer cache. 

Which then gives poor performance, regardless of the filesystem
your /tmp is mounted on.

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-


Reply to: