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

Re: Comment le ménage de /tmp se fait ?



Quoting Alain Tesio <alain@onesite.org>:

> Francois Bottin wrote:
> 
> > De même, si votre /tmp est très solicité en lectures/écritures et que sa
> > taille reste contrôlée, tmpfs peut s'avérer très utile.
> 
> A vérifier pour la rapidité c'est pas sûr que ça soit
> plus rapide :
> 
> http://lkml.org/faq/lkmlfaq-9.html#s9-12
> 

Un point pour toi ! Il est vrai que je n'ai jamais fait de test de perf sur mes
machines, et que je suis passé à tmpfs sur mes /tmp par analogie avec les
Solaris que j'ai utilisé. D'un autre côté, voici ce qu'on peut lire dans
filesystems/tmpfs.txt (dans les docs du noyau) :
    Some people (including me) find it very convenient to mount it
    e.g. on /tmp and /var/tmp and have a big swap partition. But be
    aware: loop mounts of tmpfs files do not work due to the internal
    design. So mkinitrd shipped by most distributions will fail with a
    tmpfs /tmp.
Donc l'auteur de la doc (Christoph Rohland) pense (pensait ?) que c'est un bon
truc... Mais il est peut-être ancien utilisateur de Solaris comme moi.

    François.


-- 
Francois BOTTIN
--
    "How kind," the PFY sighs. "But where will I go?" 
    "Somewhere where they know nothing about computing...
where they wouldn't know a RAM chip from a potato chip!" 
    "But I don't want to visit Microsoft!" he whines.
              The BOFH 1998 - Simon Travaglia (bofh.ntk.net)



Reply to: