Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 16:29:56 -0400 (EDT)
From:      John Ioannidis <ji@research.att.com>
To:        freebsd-bugs@freebsd.org
Subject:   swapper process accumulating time in 4.0-STABLE with NO_SWAPPING 
Message-ID:  <200006302029.QAA29869@bual.research.att.com>

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

I'm running a 4.0-STABLE kernel with options NO_SWAPPING, yet after
less than three days of uptime, the swapper has accumulated 14 seconds of
CPU time.  Where is this coming from? Why is there a swapper process even
running?  Observe:

$ strings /kernel | grep ^___ | grep SWAP
___options      NO_SWAPPING
$ uptime
 4:26PM  up 2 days, 21:20, 6 users, load averages: 0.07, 0.04, 0.00
$ ps alx | grep swapper
    0     0     0   0 -18  0     0    0 sched  DLs   ??    0:00.14  (swapper)
$ sysctl -a | grep swap
vm.swap_enabled: 0
vm.swap_async_max: 4
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swappgsout: 0
vm.swap_idle_enabled: 0
vm.defer_swapspace_pageouts: 0
vm.disable_swapspace_pageouts: 0
vfs.nfs.diskless_swappath: 


If we're not swapping, why does the swapper thread have to run at all?

/ji


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




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