[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [patch] new-vm improvement [Re: 2.2.0 Bug summary]
From:       Benjamin Redelings I <bredelin () ucsd ! edu>
Date:       1998-12-31 22:03:18
[Download RAW message or body]

Hi Andrea,

	I added your patch to test1-2.2.0-pre2, and your patch does not appear
to work, becuase the page cache grows too large and swaps out too many
things.

At bootup:
telomere:~> cat free1
             total       used       free     shared    buffers    
cached
Mem:         63476      25684      37792      18108       1476     
15376
-/+ buffers/cache:       8832      54644
Swap:        34236          0      34236

After running netscape:
telomere:~> cat free2
             total       used       free     shared    buffers    
cached
Mem:         63476      48352      15124      30592       1796     
28772
-/+ buffers/cache:      17784      45692
Swap:        34236          0      34236

After running 'wc /usr/bin/*'
telomere:~> cat free3
             total       used       free     shared    buffers    
cached
Mem:         63476      61100       2376      10464       1064     
51040
-/+ buffers/cache:       8996      54480
Swap:        34236       9904      24332

Without your patch, running 'wc /usr/bin/*' swaps out only about 220k.
So perhaps your change to 'count' in filemap.c was incorrect?

> -       count = (limit<<1) >> (priority);
> +       count = limit >> priority;

-benRI

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic