Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 1997 21:44:40 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Re: news server behaviour
Message-ID:  <Pine.BSF.3.91.970709212620.869w-100000@panda.hilink.com.au>

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


I'm still puzzled by the news server behaviour.  The machine is a P100 
with 32 MB RAM, 1 x 1GB and 1 x 730 MB quantum HDD, no readers, receiving 
about kbps from a ppp connection.  Innd shows CPU usage of 90%; user CPU 
is about 45%; system CPU is about 50%.

I did have an adaptec 1542cf host adapter and DG suggested the bounce 
buffers were causing problems. He also suggested enabling the Pentium 
bcopy optimizations.

I have replaced the 1542cf with a 2940 pci host adapter and enabled the 
bcopy optimizations, with no discernable difference in behaviour.

Below is the output of 'iostat -c 50'.  Can anyone tell me why the 
CPU is spending so much time on system things?

Thanks,

Danny

      tty          sd0           sd1           wd0          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  us ni sy in id
 221   61  11   1  0.0    6   0  0.0   12   1 12.0   9  0 14  1 76
 598    0  20   2  0.0   16   1  0.0  214  13 17.8  33  0 60  4  4
  15    0  44   3  0.0  167  15  0.0   60   4  9.9  36  0 47  2 16
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  39  0 60  1  0
   0    0   0   0  0.0  167  11  0.0    0   0  0.0  27  0 56  2 15
4340    0  16   2  0.0   65   8  0.0   91   5 18.1  43  0 53  4  0
   0    0   0   0  0.0   16   1  0.0    0   0  0.0  36  0 64  1  0
 445    0  60   6  0.0    0   0  0.0    0   0  0.0  35  0 56  1  9
 902    0 100   7  0.0   10   1  0.0   32   2 13.7  51  0 48  2  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  29  0 71  0  0
2351    0 107   8  0.0    0   0  0.0   32   2  9.8  34  0 60  2  5
   0    0  32   4  0.0    0   0  0.0    0   0  0.0  42  0 58  0  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  25  0 75  0  0
  62    0  28   2  0.0    0   0  0.0    0   0  0.0  25  0 71  2  3
 980    0  62   5  0.0    0   0  0.0   32   2  2.0  38  0 57  5  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  31  0 67  2  0
   0    0 603  38  0.0  191  12  0.0    0   0  0.0  22  0 35  1 42
   0    0  42   4  0.0   16   1  0.0   32   2  5.9  48  0 51  1  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  33  0 67  0  0
1727    0  16   1  0.0    0   0  0.0   32   2  5.9  44  0 53  3  0
      tty          sd0           sd1           wd0          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  us ni sy in id
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  46  0 53  1  0
   0    0   0   0  0.0  175  11  0.0    0   0  0.0  22  0 61  1 16
   0    0 619  40  0.0   32   2  0.0   34   3 11.6  29  0 43  3 26
   0    0  85   7  0.0   32   2  0.0  374  27 13.9  42  0 47 12  0
1116    0  79   6  0.0    0   0  0.0    0   0  0.0  40  0 53  3  5
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  34  0 63  3  0
 153    0  22   2  0.0    0   0  0.0    0   0  0.0  32  0 64  2  3
1791    0  49   5  0.0    0   0  0.0   33   3 14.2  39  0 58  2  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  33  0 67  0  0
   0    0 587  37  0.0  191  12  0.0    0   0  0.0  19  0 34  2 45
   0    0  35   4  0.0   16   1  0.0   32   2 13.7  42  0 57  2  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  30  0 69  1  0
1277    0  16   1  0.0    0   0  0.0   32   2  9.8  45  0 52  3  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  41  0 57  2  0
   0    0  95   6  0.0  167  11  0.0    0   0  0.0  24  0 51  2 23
2083    0  54   4  0.0   48   4  0.0   32   2  5.9  47  0 47  3  3
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  43  0 57  1  0
 600    0  28   2  0.0    0   0  0.0    0   0  0.0  40  0 56  1  3
 943    0  37   3  0.0   43   4  0.0   47   3 13.7  39  0 58  3  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  32  0 68  0  0
      tty          sd0           sd1           wd0          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  us ni sy in id
2098    0  52   5  0.0    0   0  0.0   32   2 13.7  41  0 57  1  1
   0    0  28   2  0.0    0   0  0.0    0   0  0.0  36  0 61  2  0
   0    0   0   0  0.0  158  10  0.0    0   0  0.0  28  0 55  2 15
   0    0 637  42  0.0   48   3  0.0   32   2  5.9  33  0 36  2 28
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  40  0 59  1  0
  63    0   0   0  0.0    0   0  0.0    0   0  0.0  32  0 68  0  0
1532    0  16   1  0.0    0   0  0.0   32   2  5.9  37  0 61  2  0
   0    0   0   0  0.0    0   0  0.0    0   0  0.0  39  0 61  0  0
   0    0 587  37  0.0  191  12  0.0    0   0  0.0  24  0 37  1 38
   0    0  30   3  0.0   16   1  0.0   32   2  5.9  45  0 53  2  0




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970709212620.869w-100000>