Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 16:33:07 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Alfred Perlstein <bright@rush.net>
Cc:        current@FreeBSD.org
Subject:   RE: HEADS UP: I broke swapping
Message-ID:  <XFMail.010522163307.jhb@FreeBSD.org>
In-Reply-To: <20010520164603.B17514@superconductor.rush.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20-May-01 Alfred Perlstein wrote:
> I broke swapping with the vm mutex.
> 
> Hopefully I should have this fixed up within a couple of days tops.
> 
> No, I'm not heading off to Aruba or someplace after this intrusive
> change, I am working on it.  Your kernel may panic, but I hope you
> all keep a level head about this and don't follow suit. :)
> 
> Patches, suggestions and crashdumps would be helpful.
> 
> Bruce has been giving me some helpful tracebacks that I'm planning
> to use to stabilize the system.

I am currently running X on my laptop with a current kernel with the patch
http://www.FreeBSD.org/~jhb/patches/vm.patch.  It is swapping, and I've tested
out exhausting all the swap and mem at least which worked.

> swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s2b        266112       16   266096     0%    Interleaved
> vmstat -s
   659683 cpu context switches
   547856 device interrupts
     5289 software interrupts
   269300 traps
  1492219 system calls
       26 kernel threads created
      710  fork() calls
       59 vfork() calls
        0 rfork() calls
       15 swap pager pageins
       17 swap pager pages paged in
      524 swap pager pageouts
     7923 swap pager pages paged out
      803 vnode pager pageins
     6173 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
      253 page daemon wakeups
...
vm.vm_faults_no_vm_mtx: 209859
vm.vm_faults_no_giant: 0
vm.stats.vm.v_vm_faults: 227165

The patch still needs some cleanups, and there are some lock order reversals I
still need to work on, but it might be worth testing. :)

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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