Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 09:22:01 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        davidg@Root.COM
Cc:        dyson@freebsd.org, stable@freebsd.org
Subject:   Re: Another try at the vm_pageout.c -stable diff
Message-ID:  <199606260722.JAA03525@zibbi.mikom.csir.co.za>
In-Reply-To: <199606260337.UAA00265@root.com> from David Greenman at "Jun 25, 96 08:37:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
>    Here is yet another diff. This is the product of a discussion I just had
> with John about the nature of some of the performance problems people have
> complained about.
>    This makes a slight change to the policy for bringing pages off of the
> active queue and should make the statistics gather *much* more effective
> in some cases. Please try it out and get back to us. Thanks!
> 
> -DG
> 
> David Greenman
> Core-team/Principal Architect, The FreeBSD Project
> 
> (This includes John's other changes, so apply this to a fresh -stable copy of
> vm_pageout.c)
> 

I'm not sure how relevant this still is. I see that there was a few commits
during the night (well night for me here in SA).

David I have tried your patch, but the kernel dies with "panic: unwire:
page not in pmap" as soon as the machine starts to swap. It did not say
anything more.

I also tried the patch that John Dyson sent, but it also died. I have
written down the essentials, but I did not get a coredump.

| Fatal trap 12 page fault while in kernel mode
| fva = 0x7be05bb0
| Supervisor write
| ip = 0x8:0xf0186fa7
| The process running was top

| nm kernel | sort produces:
| f0186bd4 T _vm_map_lookup_done
| f0186c00 T _vm_map_simplify
| f0186d00 F vm_meter.o
| f0186d00 T _vmmeter
| f0186d60 T _loadav
| f0186dd0 T _vm_sysctl
| f0186eb0 T _vmtotal
| f0187060 F vm_mmap.o
| f0187068 T _sbrk
| f0187074 T _sstk

I am now running with just the "#if 0" changed to "#if 1" in vm_pageout.c
and will see how it go. We are already swapping 40MB and it still looks
good.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za



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