From owner-freebsd-net@FreeBSD.ORG Mon Jun 30 00:34:45 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D053E1065673 for ; Mon, 30 Jun 2008 00:34:45 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 94AD78FC22 for ; Mon, 30 Jun 2008 00:34:45 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5U0YgTq064712; Sun, 29 Jun 2008 20:34:42 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m5U0YfsF077111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Jun 2008 20:34:42 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200806300034.m5U0YfsF077111@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 29 Jun 2008 20:34:47 -0400 To: Ingo Flaschberger , Paul From: Mike Tancsa In-Reply-To: References: <4867420D.7090406@gtcomm.net> <4867A9A1.9070507@gtcomm.net> <48681A3D.9040509@gtcomm.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: FreeBSD Net Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 00:34:45 -0000 At 08:16 PM 6/29/2008, Ingo Flaschberger wrote: >Dear Paul, > >>Yes it does but it seems to use a lot more of one cpu than the >>others so It's really not SMP.. Can I stop it from doing this with >>some setting? >>Why can't there be 4 taskq's? > >it is possible, but it need to be coded. > >hz 4000 is also too high, use 1000-2000 >http://www.tancsa.com/blast.html Those are very old test results using a fairly different em driver than whats in the tree. You might look at http://people.yandex-team.ru/~wawa/ on RELENG_6. I havent tested it, but supposedly its optimized for forwarding on SMP hardware ---Mike