From owner-freebsd-stable@FreeBSD.ORG Tue Sep 27 11:02:54 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CCB616A41F for ; Tue, 27 Sep 2005 11:02:54 +0000 (GMT) (envelope-from peceka@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F71543D55 for ; Tue, 27 Sep 2005 11:02:53 +0000 (GMT) (envelope-from peceka@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so616155nzk for ; Tue, 27 Sep 2005 04:02:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:x-mailer:reply-to:x-priority:message-id:to:cc:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; b=V0QrpVsAgdize3OktG9CcSQQXUarvCxwopx17Dz1YCMQJGwFADIgq6t2hJogO4IcB4Rb8yajCmYptsih+xERG5NNJZw0KF9OWXajyEDOoUU2y1hIJKVgyi2XRFht7KBJ/RKAumG8MV9daaxwgKBXXVoFqzDwEGVBGV/CRV9fRGY= Received: by 10.54.111.2 with SMTP id j2mr2654987wrc; Tue, 27 Sep 2005 04:02:53 -0700 (PDT) Received: from OP8 ( [217.153.93.59]) by mx.gmail.com with ESMTP id g5sm1008709wra.2005.09.27.04.02.51; Tue, 27 Sep 2005 04:02:52 -0700 (PDT) Date: Tue, 27 Sep 2005 13:02:48 +0200 From: peceka X-Mailer: The Bat! Professional (v3.0.2.10) X-Priority: 3 (Normal) Message-ID: <06021512.20050927130248@gmail.com> To: Glenn Dawson 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> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1250 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, Vlad GALU Subject: Re[2]: device polling and high load averages X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peceka List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 11:02:54 -0000 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 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.