Priority settings for gmirror,cam,geom are at the right priority -8?

Dewayne Geraghty dewaynegeraghty at gmail.com
Tue Feb 2 13:01:20 UTC 2016


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


More information about the freebsd-hackers mailing list