From owner-freebsd-hardware@FreeBSD.ORG Fri Nov 14 11:48:58 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33508106567D for ; Fri, 14 Nov 2008 11:48:58 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E2B458FC1A for ; Fri, 14 Nov 2008 11:48:57 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L0xAT-0002fH-7Y for freebsd-hardware@freebsd.org; Fri, 14 Nov 2008 11:48:53 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2008 11:48:53 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2008 11:48:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hardware@freebsd.org From: Ivan Voras Date: Fri, 14 Nov 2008 12:49:13 +0100 Lines: 43 Message-ID: References: <305614.76266.qm@web45809.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig52BA60C1C46196FA69E6A61E" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: <305614.76266.qm@web45809.mail.sp1.yahoo.com> X-Enigmail-Version: 0.95.0 Sender: news Cc: freebsd-net@freebsd.org Subject: Re: IRQ31 and IRQ32 on HPDL585 running FreeBSD 7.0 are consuming HIGH CPU usage X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 11:48:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig52BA60C1C46196FA69E6A61E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Won De Erick wrote: > Another thing, I observed that in the above test, the net.isr is enable= d by default. When I tried disabling this, >=20 > # sysctl net.isr.direct=3D0 > net.isr.direct: 1 -> 0 >=20 > the result: >=20 > 52 root 1 -68 - 0K 16K WAIT b 64:00 42.97% irq32: b= ce1 > 51 root 1 -68 - 0K 16K WAIT a 38:22 12.26% irq31: b= ce0 >=20 > The CPU utilizations considerably dropped! You will probably find a "swi" process that has picked up the difference (when isr.direct is disabled, some of network protocol processing is offloaded to a swi thread). This might help spread the load across CPU but in my testing it didn't help real-world throughput. --------------enig52BA60C1C46196FA69E6A61E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJHWW5ldnAQVacBcgRAuSIAKCTKl2OQhfLfdZEko958W+sLSOk8QCfTGwe NuARD4/ZI0qppdyEmyfMtYU= =1918 -----END PGP SIGNATURE----- --------------enig52BA60C1C46196FA69E6A61E--