Hum.... Je ne voudrais pas �tre m�chant, mais cela me rappelle "512Ko
should be enough for everyone".
Plus s�rieusement, je pense que qd on peut faire la m�me chose avec
moins de ressources, il ne faut pas s'enpriver (c'est � mon avis la
politique de la Debian, par rapport aux distributions commerciales, et
je l'appr�cie beaucoup).
Que le noyau conserve des "pages sales" dans le swap ne me semble pas
tr�s... propre. C'est regrettable surtout si on peut faire autrement.
Mais que l'utilisateur ne puisse pas avoir le choix, c'est carr�ment de
la dictature !! :P

En fait, je pense qu'il y a d'autres raisons, non arbitraires, pour ce
choix de swap=2*RAM (contre swap<=2*RAM avant) qui ne sont pas
expliqu�es ici et j'aimerai beaucoup que les personnes comp�tentes sur
cette liste (s'il y en a) nous les explique.

Merci,
        Nico.

Olivier Abad wrote:
> 
> Vu sur kernel-traffic (d�sol� pour le post en anglais, mais je n'ai pas
> le courage de traduire. En r�sum�, Linus dit que pour le noyau 2.4,
> l'�quation Swap = 2 x RAM devient vraie) :
> 
> http://kt.linuxcare.com/kernel-traffic/kt20010126_104.epl#2
> 
> 2. Greater 2.4 Swap Requirements
> 7 Jan - 18 Jan (100 posts) Archive Link: Subtle MM bug
> 
> In the course of discussion, it became clear that Linux 2.4.x required
> more swap than previous versions. Rik van Riel [*] mentioned, "2.4 keeps
> dirty pages in the swap cache, so you will need more swap to run the
> same programs..." He asked Linus Torvalds [*], "is this something we
> want to keep or should we give the user the option to run in a mode
> where swap space is freed when we swap in something non-shared ?" Linus
> replied:
> 
>   I'd prefer just documenting it and keeping it. I'd hate to have two
>   fairly different modes of behaviour. It's always been the suggested
>   "twice the amount of RAM", although there's historically been the
>   "Linux doesn't really need that much" that we just killed with 2.4.x.
> 
>   If you have 512MB of RAM, you can probably afford another 40GB or so
>   of harddisk. They are disgustingly cheap these days.
> 
> Olivier
> --
> The universe is all a spin-off of the Big Bang.
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Nicolas SABOURET
LIMSI-CNRS, BP133, 91403 Orsay, France
http://www.limsi.fr/Individu/nico


Répondre à