Subject: Re: 2.0beta performance
To: Jukka Marin <>
From: SODA Noriyuki <>
List: netbsd-users
Date: 10/27/2004 19:22:25
>>>>> On Wed, 27 Oct 2004 13:10:19 +0300,
	Jukka Marin <> 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
There was similar problem (discussed in "Bad response" thread in
current-users on September), and it's fixed by this.

Subject: CVS commit: [netbsd-2-0] src/sys/uvm
To: None <>
From: Havard Eidnes <>
List: source-changes
Date: 09/11/2004 11:00:10

Module Name:	src
Committed By:	he
Date:		Sat Sep 11 11:00:10 UTC 2004

Modified Files:
	src/sys/uvm [netbsd-2-0]: uvm_anon.c

Log Message:
Pull up revisions 1.30-1.31 (requested by yamt in ticket #830):
  Correct page accounting for anon pages: decrement
  uvmexp.anonpages when orphaning an A->K loaned page, and
  null out anon.u.an_page as the anon no longer owns the page
  in that case.  Add a few related assertions.  Also correct
  a comment.

To generate a diff of this commit:
cvs rdiff -r1.28.2.1 -r1.28.2.2 src/sys/uvm/uvm_anon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.