Polling slows down bandwidth

Коньков Евгений kes-kes at yandex.ru
Sat Oct 30 17:15:56 UTC 2010


Hi, Larry.


LB> Also make sure kern.polling.idle_poll is enabled.  By default it is
LB> disabled.  This makes a big difference in polling throughput.

enabling that take all CPU time.

last pid: 38722;  load averages:  1.88,  1.18,  0.85    up 1+18:43:28  20:04:54
101 processes: 5 running, 74 sleeping, 22 waiting
CPU:  1.4% user,  0.0% nice, 61.7% system, 36.8% interrupt,  0.0% idle
Mem: 395M Active, 898M Inact, 288M Wired, 5636K Cache, 213M Buf, 388M Free
Swap: 4063M Total, 4063M Free

  PID USERNAME   PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
   51 root       171 ki31     0K    16K RUN      0:56 39.89% idlepoll
   14 root       -44    -     0K    16K WAIT     3:50 30.47% swi1: net
    2 root       -68    -     0K    16K sleep  253:55 25.20% ng_queue0
17358 bind        44    0   223M   184M RUN     14:30  0.39% named
 1324 root        44    0 31828K  9192K select   9:35  0.29% mpd5
   55 root        20    -     0K    16K syncer   5:18  0.29% syncer

How that affect other processes? Will they be slowed down by idlepoll?

-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-net mailing list