Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2020 14:40:07 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Gordon Bergling <gbergling@googlemail.com>, freebsd-hackers@freebsd.org
Cc:        Allan Jude <allanjude@freebsd.org>
Subject:   Re: Constant load of 1 on a recent 12-STABLE
Message-ID:  <ea3ebab2a0aefde8693097ac964917affa696917.camel@freebsd.org>
In-Reply-To: <20200603202929.GA65032@lion.0xfce3.net>
References:  <20200603101607.GA80381@lion.0xfce3.net> <c18664e8-b4e3-1402-48ed-3a02dc36ce29@freebsd.org> <20200603202929.GA65032@lion.0xfce3.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2020-06-03 at 22:29 +0200, Gordon Bergling via freebsd-hackers wrote:
> [...]
> 
> The only key performance indicator that is relatively high IMHO, for a 
> non-busy system, are the context switches, that vmstat has reported.
> 
> -------------------------------------------------------------------------------
> procs  memory       page                    disks     faults         cpu
> r b w  avm   fre   flt  re  pi  po    fr   sr da0 da1   in    sy    cs us sy id
> 0 0 0 514G  444M  7877   2   7   0  9595  171   0   0    0  4347 43322 17  2 81
> 0 0 0 514G  444M     1   0   0   0     0   44   0   0    0   121 40876  0  0 100
> 0 0 0 514G  444M     0   0   0   0     0   40   0   0    0   133 42520  0  0 100
> 0 0 0 514G  444M     0   0   0   0     0   40   0   0    0   120 43830  0  0 100
> 0 0 0 514G  444M     0   0   0   0     0   40   0   0    0   132 42917  0  0 100
> --------------------------------------------------------------------------------
> 
> Any other ideas what could generate that load?
> 
> Best regards,
> 
> 

Interrupts/second consistently zero is the strange part of that vmstat
output.  That makes me think the problem has something to do with
timekeeping and is a problem with the statistics used by top rather
than having some "stuck process" actually consuming time.

Are there any other signs of timekeeping trouble on the machine, like
ntpd repeatedly stepping the clock?  What's the output for

  sysctl kern.timecounter
  sysctl kern.eventtimer

-- Ian




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