From owner-freebsd-threads@FreeBSD.ORG Tue Apr 28 10:53:39 2009 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BEF4106564A for ; Tue, 28 Apr 2009 10:53:39 +0000 (UTC) (envelope-from gofdt-freebsd-threads@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E969E8FC1B for ; Tue, 28 Apr 2009 10:53:38 +0000 (UTC) (envelope-from gofdt-freebsd-threads@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LykwR-0003zr-3j for freebsd-threads@freebsd.org; Tue, 28 Apr 2009 10:53:35 +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 ; Tue, 28 Apr 2009 10:53:35 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Apr 2009 10:53:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-threads@freebsd.org From: Ivan Voras Date: Tue, 28 Apr 2009 12:53:14 +0200 Lines: 52 Message-ID: References: <40bb871a0904241542o3f4d6c6ap62ff71876074bbea@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1E2992A464A9D9DE65A5E08C" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: <40bb871a0904241542o3f4d6c6ap62ff71876074bbea@mail.gmail.com> X-Enigmail-Version: 0.95.7 Sender: news Cc: freebsd-net@freebsd.org, freebsd-performance@freebsd.org Subject: Re: FreeBSD 7.1 taskq em performance X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 10:53:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1E2992A464A9D9DE65A5E08C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Joseph Kuan wrote: > Hi all, > I have been hitting some barrier with FreeBSD 7.1 network performance= =2E I > have written an application which contains two kernel threads that take= s > mbufs directly from a network interface and forwards to another network= > interface. This idea is to simulate different network environment. >=20 > I have been using FreeBSD 6.4 amd64 and tested with an Ixia box > (specialised hardware firing very high packet rate). The PC was a Core2= 2.6 > GHz with dual ports Intel PCIE Gigabit network card. It can manage up t= o 1.2 > million pps. >=20 > I have a higher spec PC with FreeBSD 7.1 amd64 and Quadcore 2.3 GHz a= nd > PCIE Gigabit network card. The performance can only achieve up to 600k = pps. > I notice the 'taskq em0' and 'taskq em1' is solid 100% CPU but it is no= t in > FreeBSD 6.4. Maybe this could help you: http://people.yandex-team.ru/~wawa/ It's a SMP patch to the em driver. --------------enig1E2992A464A9D9DE65A5E08C 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.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn24CAACgkQldnAQVacBcij+ACgj133tqKW+kK2+S5/AVYQ3YfC GVIAoJzfKlga03AzieDZCR7SbFw66p0z =iBPe -----END PGP SIGNATURE----- --------------enig1E2992A464A9D9DE65A5E08C--