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

Re: deleting content of /tmp



On 25.03.07 23:32, Henrique de Moraes Holschuh wrote:
> On Sat, 24 Mar 2007, Jorge Peixoto de Morais Neto wrote:
> > What is the performance impact of mounting /tmp in tmpfs? Some thoughts:
> 
> 1. It is a lot faster for a lot of stuff, as long as your kernel has proper
> swapping behaviour.  This happens because tmpfs can avoid a great deal of
> costly operations that other filesystems with backing store need to perform
> (such as the need to keep metadata in sync on the backing store).
> 
> 2. It will waste more virtual memory space than your regular filesystem with
> a backing store, as it needs to keep all data in virtual memory (even if it
> happens to be swapped).  This *can* be a problem on 32-bit systems.

is virtual memory a problem on 32bit OS? I think even 32bit CPUs do have
support for much larger _virtual_ memory.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.



Reply to: