Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 1996 13:16:37 -0500 (EST)
From:      John Dyson <dyson@dyson.iquest.net>
To:        fcurrent@jraynard.demon.co.uk (James Raynard)
Cc:        freebsd-current@freebsd.org, dyson@freebsd.org
Subject:   Re: VM problems 05/29/96
Message-ID:  <199605301816.NAA24087@dyson.iquest.net>
In-Reply-To: <199605300109.BAA10515@jraynard.demon.co.uk> from "James Raynard" at May 30, 96 01:09:48 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> > 	Sorry I was not able to send you the output over the weekend.
> > But, I just got done testing your VM changes you submitted on 5/29 and
> > things are getting better.
> 
> I'm still having the same problems with Emacs 8-(
> 
Here is a fairly detailed status report of the solution to the
problems that you and some others have been having:

There has been several bugs that both DG and I have found.

1)	DG has found that there is a case that can block that can allow
	the page queue can change in the deactivate-->free loop in
	the pageout daemon (just fixed.)

The following were found last night by me, but not fixed in the tree yet:
2)	The inactive, free, active AND cache queues can be modified
	by vfs_bio at splbio interrupt time :-(.  (Have a fix on
	my machine.)

3)	The active queue can get modified by in the active->deactive/cache
	loop in the pageout daemon by vm_page_protect(m, VM_PROT_NONE).
	(Have a fix on my machine.)

Aall of the above has caused queue corruption in the pageout daemon,
and since DG and I both have at least 32MByte of ram, the problem is
not manifest often for us to have trouble.  Each fix has made my system
running in 4-8MBytes "better", and have been I have often been "tricked"
by the problem appearing to go away with each succesive fix.

There is still a problem when using 4MByte memory of my system locking up under
X windows, but the queue corruption is gone now.  (This (1,2) above could be
the instability that some people have seen running their system has an MMAPped
news server.)  (3) above only manifests itself when the page that is unmapped
from a process is just prior to it's pagetable page in the active queue
(believe it or not, it happens often...)

DG and I have found *numerous* bugs in the pageout daemon recently.

I plan to commit the above fixes on the night of 30May.

John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605301816.NAA24087>