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

Re: Moving /tmp to tmpfs makes it useless



]] Josselin Mouette 

> 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.

Once swap usage hits ~2x physical memory size, you'll run into trouble
with kswapd on Linux consuming large amounts of CPU, though.

On the other side, if this means we end up getting that bug fixed, I
wouldn't complain. :-)

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


Reply to: