Re: lug-bg: memory menagment again...-2.4.X eats swap
- Subject: Re: lug-bg: memory menagment again...-2.4.X eats swap
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Mon, 18 Jun 2001 20:13:43 +0300
On Monday 18 June 2001 19:10, you wrote:
> hm na kakwo popadnah :)
> ---- alan cox' diary, june 14th
> Finished all of Harry Potter. I now see a major fight breaking out
> between Telsa and me over who reads the next one first once it comes
> out.
>
> I did manage to finally push out the changes I had been accumulating
> over the past few days, including the main VM changes that are also in
> 2.4.6pre and seem to massively improve performance when swapping.
e ste go opitame , samo da ostane vreme
> -----
> i btw ne e redno da imate swap po-malko ot 2xRAM + nqkoi i drug
> megabait.
pri men 2.2 si raboteshe korektnmo i bez tova pravilo , i az ne pomnq ot koga
, ta za tova vuobste i ne sum si i pomislql che 2.4 moje da ima takava
restrikciq : 2*ram ili 0
> s 2.4 kerneli ima problemi s po-malko swap. horata kazwat taka ili pone
> 2xRAM ili 0 swap.
vidqh , pishe go kato _RECOMMENDED_ na arhiva na LKML , ama po skoro si e
_REQUIRED_ .
Problema na 2.4 e v swapoff() , koito ponqkoga propuska da po4isti dead swap
chaced pages , i osven tova e baven kato vadi ot swapa .
> The swapoff algorithms in 2.2 and 2.4 are basically identical.
> The problem *appears* worse in 2.4 because it uses lots
> more swap.
>
> > they can sometimes take over 30 minutes to shutdown.
>
> Yes. The sys_swapoff() system call can take many minutes
> of CPU time. It basically does:
>
> for (each page in swap device) {
> for (each process) {
> for (each page used by this process)
KE GO FIX-nat znam :)
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|