Re: interrupt threads CPU usage in FreeBSD 8.0

2009-11-04 Thread Vlad Galu
2009/10/21 Igor Sysoev i...@rambler-co.ru:
[...]

/metoo, 8.0-RC2
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: interrupt threads CPU usage in FreeBSD 8.0

2009-11-03 Thread Oleg Bulyzhin

Yes, something is wrong (8.0-RC2):

last pid:  7327;  load averages:  0.31,  0.53,  0.55up 0+03:51:35  14:36:22
81 processes:  5 running, 60 sleeping, 16 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.6% idle
CPU 1:  0.0% user,  0.0% nice, 26.7% system,  0.0% interrupt, 73.3% idle
CPU 2:  0.0% user,  0.0% nice, 25.6% system,  0.0% interrupt, 74.4% idle
CPU 3:  0.0% user,  0.0% nice,  3.8% system,  0.0% interrupt, 96.2% idle
Mem: 22M Active, 11M Inact, 157M Wired, 64K Cache, 23M Buf, 3754M Free
Swap: 2048M Total, 2048M Free

  PID USERNAME PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   10 root 171 ki31 0K64K CPU00 226:34 99.07% {idle: cpu0}
   10 root 171 ki31 0K64K RUN 3 221:56 95.56% {idle: cpu3}
   10 root 171 ki31 0K64K CPU11 179:58 73.10% {idle: cpu1}
   10 root 171 ki31 0K64K CPU22 175:32 68.07% {idle: cpu2}
0 root -680 0K   128K -   2  55:20  1.76% {em1 taskq}
   11 root -32- 0K   256K WAIT0   2:10  0.29% {swi4: clock}
0 root -680 0K   128K -   1  50:42  0.00% {em0 taskq}

em0  em1 taskqueues should have wcpu ~25%

-- 
Oleg.


=== Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- o...@rinet.ru ===


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: interrupt threads CPU usage in FreeBSD 8.0

2009-11-03 Thread Attilio Rao
2009/10/21 Igor Sysoev i...@rambler-co.ru:
 Hi,

 for some reason in 8.0 top always shows 0% CPU usage for intr kernel
 process and active interrupt thread, irq19 bge0 in my case.

 8-0 RC1 top -PS:

 CPU 0: 27.8% user,  0.0% nice,  7.1% system,  0.0% interrupt, 65.0% idle
 CPU 1:  3.0% user,  0.0% nice,  2.3% system,  7.1% interrupt, 87.6% idle

  PID USERNAME THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root   2 171 ki31 0K32K RUN 0 140.7H 152.54% idle
 61371 nobody 1  69  -10   384M   289M kqread  0 105:56 17.77% nginx
 61372 nobody 1  67  -10   384M   293M CPU00 106:15 16.99% nginx
   12 root  15 -60- 0K   240K WAIT0  54:50  0.00% intr

 8.0 RC1 top -PSH:

  PID USERNAMEPRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root171 ki31 0K32K RUN 1  71.5H 81.05% {idle: cpu1}
   11 root171 ki31 0K32K CPU00  69.3H 69.19% {idle: cpu0}
 61372 nobody   68  -10   384M   294M kqread  0 107:06 18.99% nginx
 61371 nobody   68  -10   384M   291M kqread  0 106:45 16.99% nginx
   12 root-68- 0K   240K WAIT1  50:48  0.00% {irq19: bge0}
   17 root 44- 0K16K syncer  1   5:23  0.00% syncer
   12 root-32- 0K   240K WAIT1   3:06  0.00% {swi4: clock}

 7.2-STABLE top -PS:

 CPU 0:  9.0% user,  0.0% nice,  7.9% system,  9.0% interrupt, 74.1% idle
 CPU 1: 23.3% user,  0.0% nice,  8.3% system,  0.0% interrupt, 68.4% idle

  PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   12 root1 171 ki31 0K16K RUN 0 275.0H 83.59% idle: cpu0
   11 root1 171 ki31 0K16K RUN 1 264.2H 76.27% idle: cpu1
 16109 nobody  1  68  -10   376M   307M CPU01  28:05 21.97% nginx
 16110 nobody  1   4  -10   376M   316M RUN 0  28:05 20.17% nginx
   26 root1 -68- 0K16K WAIT0 902:39  6.69% irq19: bge0

How old is your 7.2-STABLE?

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: interrupt threads CPU usage in FreeBSD 8.0

2009-11-03 Thread Igor Sysoev
On Tue, Nov 03, 2009 at 05:36:55PM +0100, Attilio Rao wrote:

 2009/10/21 Igor Sysoev i...@rambler-co.ru:
  Hi,
 
  for some reason in 8.0 top always shows 0% CPU usage for intr kernel
  process and active interrupt thread, irq19 bge0 in my case.
 
  8-0 RC1 top -PS:
 
  CPU 0: 27.8% user,  0.0% nice,  7.1% system,  0.0% interrupt, 65.0% idle
  CPU 1:  3.0% user,  0.0% nice,  2.3% system,  7.1% interrupt, 87.6% idle
 
   PID USERNAME THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
11 root   2 171 ki31 0K32K RUN 0 140.7H 152.54% idle
  61371 nobody 1  69  -10   384M   289M kqread  0 105:56 17.77% nginx
  61372 nobody 1  67  -10   384M   293M CPU00 106:15 16.99% nginx
12 root  15 -60- 0K   240K WAIT0  54:50  0.00% intr
 
  8.0 RC1 top -PSH:
 
   PID USERNAMEPRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
11 root171 ki31 0K32K RUN 1  71.5H 81.05% {idle: cpu1}
11 root171 ki31 0K32K CPU00  69.3H 69.19% {idle: cpu0}
  61372 nobody   68  -10   384M   294M kqread  0 107:06 18.99% nginx
  61371 nobody   68  -10   384M   291M kqread  0 106:45 16.99% nginx
12 root-68- 0K   240K WAIT1  50:48  0.00% {irq19: 
  bge0}
17 root 44- 0K16K syncer  1   5:23  0.00% syncer
12 root-32- 0K   240K WAIT1   3:06  0.00% {swi4: 
  clock}
 
  7.2-STABLE top -PS:
 
  CPU 0:  9.0% user,  0.0% nice,  7.9% system,  9.0% interrupt, 74.1% idle
  CPU 1: 23.3% user,  0.0% nice,  8.3% system,  0.0% interrupt, 68.4% idle
 
   PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
12 root1 171 ki31 0K16K RUN 0 275.0H 83.59% idle: cpu0
11 root1 171 ki31 0K16K RUN 1 264.2H 76.27% idle: cpu1
  16109 nobody  1  68  -10   376M   307M CPU01  28:05 21.97% nginx
  16110 nobody  1   4  -10   376M   316M RUN 0  28:05 20.17% nginx
26 root1 -68- 0K16K WAIT0 902:39  6.69% irq19: 
  bge0
 
 How old is your 7.2-STABLE?

I saw this on 7.0-7.2. One of 7.2-S is, for example, from 2009.10.04.23.59.59.
I believe I saw the same CPU usage on FreeBSD-6 too.


-- 
Igor Sysoev
http://sysoev.ru/en/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


interrupt threads CPU usage in FreeBSD 8.0

2009-10-21 Thread Igor Sysoev
Hi,

for some reason in 8.0 top always shows 0% CPU usage for intr kernel
process and active interrupt thread, irq19 bge0 in my case.

8-0 RC1 top -PS:

CPU 0: 27.8% user,  0.0% nice,  7.1% system,  0.0% interrupt, 65.0% idle
CPU 1:  3.0% user,  0.0% nice,  2.3% system,  7.1% interrupt, 87.6% idle

  PID USERNAME THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root   2 171 ki31 0K32K RUN 0 140.7H 152.54% idle
61371 nobody 1  69  -10   384M   289M kqread  0 105:56 17.77% nginx
61372 nobody 1  67  -10   384M   293M CPU00 106:15 16.99% nginx
   12 root  15 -60- 0K   240K WAIT0  54:50  0.00% intr

8.0 RC1 top -PSH:

  PID USERNAMEPRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root171 ki31 0K32K RUN 1  71.5H 81.05% {idle: cpu1}
   11 root171 ki31 0K32K CPU00  69.3H 69.19% {idle: cpu0}
61372 nobody   68  -10   384M   294M kqread  0 107:06 18.99% nginx
61371 nobody   68  -10   384M   291M kqread  0 106:45 16.99% nginx
   12 root-68- 0K   240K WAIT1  50:48  0.00% {irq19: bge0}
   17 root 44- 0K16K syncer  1   5:23  0.00% syncer
   12 root-32- 0K   240K WAIT1   3:06  0.00% {swi4: clock}

7.2-STABLE top -PS:

CPU 0:  9.0% user,  0.0% nice,  7.9% system,  9.0% interrupt, 74.1% idle
CPU 1: 23.3% user,  0.0% nice,  8.3% system,  0.0% interrupt, 68.4% idle

  PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   12 root1 171 ki31 0K16K RUN 0 275.0H 83.59% idle: cpu0
   11 root1 171 ki31 0K16K RUN 1 264.2H 76.27% idle: cpu1
16109 nobody  1  68  -10   376M   307M CPU01  28:05 21.97% nginx
16110 nobody  1   4  -10   376M   316M RUN 0  28:05 20.17% nginx
   26 root1 -68- 0K16K WAIT0 902:39  6.69% irq19: bge0


-- 
Igor Sysoev
http://sysoev.ru/en/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org