Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 13:02:48 +0200
From:      peceka <peceka@gmail.com>
To:        Glenn Dawson <glenn@antimatter.net>
Cc:        freebsd-stable@freebsd.org, Vlad GALU <vladgalu@gmail.com>
Subject:   Re[2]: device polling and high load averages
Message-ID:  <06021512.20050927130248@gmail.com>
In-Reply-To: <6.2.3.4.2.20050927031346.043d5060@cobalt.antimatter.net>
References:  <1413940267.20050927112619@gmail.com> <79722fad05092702411f0b15e1@mail.gmail.com> <6.2.3.4.2.20050927031346.043d5060@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Witaj Glenn,

W Twoim li=9Ccie datowanym 27 wrze=9Cnia 2005 (12:14:25) mo=BFna przeczyta=
=E6:

> At 02:41 AM 9/27/2005, Vlad GALU wrote:
>>On 9/27/05, peceka <peceka@gmail.com> wrote:
>> > Hi,
>> >
>> > I've got:
>> > fw3# uname -r
>> > 5.4-RELEASE-p7
>> >
>> > in my kernel config i've set:
>> > options         HZ=3D1000
>> > options         DEVICE_POLLING
>> >
>> > fw3# cat /etc/rc.conf | grep ifconfig
>> > ifconfig_em0=3D"inet 192.168.1.251 netmask 255.255.255.0 polling"
>> >
>> > fw3# cat /etc/sysctl.conf | grep poll
>> > kern.polling.enable=3D1
>> > kern.polling.idle_poll=3D1
>> >
>> > 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%=20
>> 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  =3D 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.




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