Date: Wed, 3 Feb 2016 00:00:48 +1100 From: Dewayne Geraghty <dewaynegeraghty@gmail.com> To: freebsd-hackers@freebsd.org Subject: Priority settings for gmirror,cam,geom are at the right priority -8? Message-ID: <CAGnMC6qO%2BkMM3XWCPWaDkqmhqu6LA%2BR-g49eVqAw6TpO%2BoLaDg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
While waiting for a bunch of build jails to be cleaned, I glanced at
top -PjSuz -mio -o ivcsw
and noticed that g_mirror, geom,cam and rm were experiencing involuntary
context swaps. I could understand rm, but not the system daemons. All of
these had a priority of -8. I'm wondering if the system daemons should be
set at a higher priority, or should I expect a speedier rm if I niced it?
The system almost idle, load averages being { 0.15, 0.48, 0.87 }
PID JID UID VCSW IVCSW READ WRITE FAULT TOTAL PERCENT
COMMAND
7 0 0 3594 15 0 0 0 0 0.00%
g_mirror gm0
13 0 0 3512 12 0 0 0 0 0.00%
geom
37223 0 0 1528 7 1523 3 0 1526 90.67% rm
4 0 0 1938 5 0 0 0 0 0.00% cam
12 0 0 2018 1 0 0 0 0 0.00%
intr
This is on a xeon 8 core with SSD's whose sole purpose is to build FreeBSD
stable and packages that we require. The scheduler is 4BSD and
kern.sched.slice=64. As such I'm stumped as to why "intr" would run out of
its quantum (and its running at priority -72)?
My apologies for any apparent ignorance, I'm a physicist by training and
security manager via necessity. :)
Kind regards, Dewayne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGnMC6qO%2BkMM3XWCPWaDkqmhqu6LA%2BR-g49eVqAw6TpO%2BoLaDg>
