device polling and high load averages

peceka peceka at gmail.com
Tue Sep 27 04:02:54 PDT 2005


Witaj Glenn,

W Twoim liście datowanym 27 września 2005 (12:14:25) można przeczytać:

> At 02:41 AM 9/27/2005, Vlad GALU wrote:
>>On 9/27/05, peceka <peceka at gmail.com> wrote:
>> > Hi,
>> >
>> > I've got:
>> > fw3# uname -r
>> > 5.4-RELEASE-p7
>> >
>> > in my kernel config i've set:
>> > options         HZ=1000
>> > options         DEVICE_POLLING
>> >
>> > fw3# cat /etc/rc.conf | grep ifconfig
>> > ifconfig_em0="inet 192.168.1.251 netmask 255.255.255.0 polling"
>> >
>> > fw3# cat /etc/sysctl.conf | grep poll
>> > kern.polling.enable=1
>> > kern.polling.idle_poll=1
>> >
>> > And all the time i've got:
>> > fw3# uptime
>> > 11:22AM  up  1:59, 1 user, load averages: 1.00, 1.00, 0.96
>> >
>> > from top:
>> > last pid: 88131;  load averages:  1.00,  1.00,  0.96
>> > 24 processes:  1 running, 23 sleeping
>> > CPU states:  0.0% user,  0.0% nice, 99.2% system,  0.8% 
>> interrupt,  0.0% idle
>> >
>> > But this machine do nothing, just pure FBSD system. So why there is
>> > such high load aver.?
>> >
>>
>>   Because of kern.polling.idle_poll.

> and a load average of 1 isn't exactly "high" either...

But for machine which does nothing?
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.13-MHz 686-class CPU)
real memory  = 1341063168 (1278 MB)

What to do with kern.polling.idle_poll? It is needed to be set to 1?
What does this do?

Best regards,
p.



More information about the freebsd-stable mailing list