Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2010 20:15:46 +0300
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        Larry Baird <lab@gta.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re[2]: Polling slows down bandwidth
Message-ID:  <1887153402.20101030201546@yandex.ru>
In-Reply-To: <20101029181706.79027.qmail@mailgate.gta.com>
References:  <110929.14152.74663@localhost> <20101029181706.79027.qmail@mailgate.gta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1887153402.20101030201546>