From owner-freebsd-net@FreeBSD.ORG Mon Jun 30 00:53:48 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 C28CC106566C for ; Mon, 30 Jun 2008 00:53:48 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from atlas.gtcomm.net (atlas.gtcomm.net [67.215.15.242]) by mx1.freebsd.org (Postfix) with ESMTP id 983E18FC0A for ; Mon, 30 Jun 2008 00:53:48 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from c-76-108-179-28.hsd1.fl.comcast.net ([76.108.179.28] helo=[192.168.1.6]) by atlas.gtcomm.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KD7b6-0008CR-4H; Sun, 29 Jun 2008 20:50:24 -0400 Message-ID: <48682F15.6070707@gtcomm.net> Date: Sun, 29 Jun 2008 20:55:49 -0400 From: Paul User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Mike Tancsa References: <4867420D.7090406@gtcomm.net> <4867A9A1.9070507@gtcomm.net> <48681A3D.9040509@gtcomm.net> <200806300034.m5U0YfsF077111@lava.sentex.ca> In-Reply-To: <200806300034.m5U0YfsF077111@lava.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net , Ingo Flaschberger 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:53:48 -0000 I tried this.. I put 6-STABLE (6.3), using default driver was slower than FBSD7 I tried yandex driver 1.36 and it was even worse.. It would make the machine unresponsive and drop more packets than the default driver. It would make 'top' show cpu's were 300% idle and a command such as 'w' would take 5 minutes to respond so obviously something is wrong with this driver :/ In the em taskq does it do all the routing also? Can the received packets be accepted with em0 taskq and dumped into another multi threaded thing which will do the routing and send it to the output taskq? Mike Tancsa wrote: > 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 >