Rozdělování disků

Pav Lucistnik pav at oook.cz
Thu Nov 17 17:05:03 CET 2005


Divacky Roman píše v čt 17. 11. 2005 v 16:55 +0100:
> On Thu, Nov 17, 2005 at 03:30:22PM +0100, Ondra Koutek wrote:
> > Nechci do toho moc mluvit odbornikum, ale nejak me to prijde jako
> > hloupost. Kdyz mam 256MB / a chci mit zbytek univerzalni, tak si nemuzu
> > pomoct, ale /tmp, /var a /usr na jednu partition nedam, pac to pujde
> > spatne mountovat.
> > Na serveru mam jen jeden slice, proc delat dva?
> > 
> > Konkretne mi prijde, ze volba "auto' dava velmi dobre hodnoty, mam je na
> > desktopu k plne spokojenosti. Pokud chces mit universalnost, tak na
> > desktopu bude stacit jeden FS v / a swap 2xRAM
> 
> proc by mel byt swap 2xram??? by mne zajimalo kde se tahle informace vzala a
> proc se furt tak drzi pri zivote... ;(

man 7 tuning

     You should typically size your swap space to approximately 2x main mem-
     ory.  If you do not have a lot of RAM, though, you will generally want a
     lot more swap.  It is not recommended that you configure any less than
     256M of swap on a system and you should keep in mind future memory expan-
     sion when sizing the swap partition.  The kernel's VM paging algorithms
     are tuned to perform best when there is at least 2x swap versus main mem-
     ory.  Configuring too little swap can lead to inefficiencies in the VM
     page scanning code as well as create issues later on if you add more mem-
     ory to your machine.  Finally, on larger systems with multiple SCSI disks
     [...]

-- 
Pav Lucistnik <pav at oook.cz>
Co vime o lasce? Laska je jako hruska. Hruska je sladka a ma urcity
tvar. Zkuste presne definovat tvar hrusky.
  -- Marigold: Pul stoleti poezie




More information about the Users-l mailing list