Subject: Re: 2.0beta performance
To: Jukka Marin <jmarin@embedtronics.fi>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-users
Date: 10/27/2004 20:27:52
SODA Noriyuki wrote:

> >>>>> On Wed, 27 Oct 2004 13:10:19 +0300,
> 	Jukka Marin <jmarin@embedtronics.fi> said:
> 
> > My desktop machine (AMD Athlon XP 2600+ with 1 GB RAM) has been up for 44
> > days now (ever since I stopped using gimp which causes a softdep panic).
> > The more time passes, the slower the system becomes.  At the moment, almost
> > everything I do causes massive paging which freezes everything (mp3 play,
> > mouse pointer, shells etc.).  The freeze lasts 5 to 10 seconds and during
> > this time, the machine appears to get nothing useful done.
> 	:
> > I'm pretty sure a reboot would "fix" the problem, but before that, is there
> > anything I should check to see what causes this problem?  I didn't see this
> > under 1.6, so it might be connected to the new buffer cache system or some
> > such.
> 
> Does the kernel contain the following fix?
> (i.e. src/sys/uvm/uvm_anon.c revision 1.28.2.2)
> There was similar problem (discussed in "Bad response" thread in
> current-users on September), and it's fixed by this.
> 
> http://mail-index.netbsd.org/source-changes/2004/09/11/0006.html

As a quick check, try this command:

	vmstat -s | egrep 'managed|anonymous|cached' | grep -v scanned

If you see "anonymous pages" greater than "pages managed" then it's a
symptom of the bug.  Upgrade to a newer 2.0 branch kernel and you will
be _much_ happier.  I am :-)

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/