From owner-freebsd-current@FreeBSD.ORG Sat Aug 6 01:03:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 805E5106566C for ; Sat, 6 Aug 2011 01:03:03 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 082AD8FC16 for ; Sat, 6 Aug 2011 01:03:02 +0000 (UTC) Received: by wwi36 with SMTP id 36so1919026wwi.31 for ; Fri, 05 Aug 2011 18:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=veRQNnggIKRA+JknHvP3ZUEZS9gtrV3JhOHdobjPMK0=; b=yCwSfOMqiwcWZp4nKpNVsab51RRCdLD4AriSSXjSeIcL1OPGQC/0+hMDM4fsussnSr uVGiUEiff0z6Wom2UuSXoeWzJdkX7ddW7kmMfmyg/RG75zIW0iBpVzCgdJ7EKj5zaD2M 3l92tE/MBu2sd97foXjyJYOly13F1zprZrMWk= MIME-Version: 1.0 Received: by 10.227.11.6 with SMTP id r6mr2368406wbr.99.1312590859688; Fri, 05 Aug 2011 17:34:19 -0700 (PDT) Received: by 10.227.128.146 with HTTP; Fri, 5 Aug 2011 17:34:19 -0700 (PDT) In-Reply-To: <20110805233144.GA27117@onelab2.iet.unipi.it> References: <20110805002732.GA5340@onelab2.iet.unipi.it> <20110805233144.GA27117@onelab2.iet.unipi.it> Date: Fri, 5 Aug 2011 20:34:19 -0400 Message-ID: From: Outback Dingo To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Victor Detoni Subject: Re: High Network Perfomance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2011 01:03:03 -0000 On Fri, Aug 5, 2011 at 7:31 PM, Luigi Rizzo wrote: > On Fri, Aug 05, 2011 at 04:07:22PM -0300, Victor Detoni wrote: > > Hi Luigi, > > > > Thanks for reply. That's great solution :) Will be integrated with pf or > is > > it? > > unfortunately i don't have the time to do it, but as said > in the thread it should not be terribly difficult. > The demo image has a modified click.... is there a diff for click itself..... > cheers > luigi > > > Thanks, > > Victor > > > > On Thu, Aug 4, 2011 at 9:27 PM, Luigi Rizzo wrote: > > > > > On Thu, Aug 04, 2011 at 08:39:17PM -0300, Victor Detoni wrote: > > > > Hi Guys, > > > > > > > > I'm trying tunning a FreeBSD 8.2 to high perfomance network with pf. > My > > > > server configuration is: > > > > > > > > Dell 1950 > > > > CPU: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (1995.03-MHz > > > K8-class > > > > CPU) > > > > 4 x CPU > > > > 2 NIC ( > > > 1 NIC (em0: ) > > > > > > > > I want to reach the high processing of packets per second and use pf > as > > > > synproxy and we still processor to handle others packets or flows. > > > > > > > > I know that em drivers has MULTI_QUEUE implementation that helps high > > > > performance for Intel drivers, but I couldn't see more information > about. > > > We > > > > can reached 500k pps, but no more traffic was processed by this > > > interface. > > > > > > > > I've already enabled net.isr.direct but with Intel Drivers does not > work > > > and > > > > the most processors are in System instead of Interrupts, why? When I > > > enable > > > > net.isr.direct the processing is balanced for on CPU in system and > > > another > > > > in interrupt and I reached 1M pps, but the total perfomance is down, > the > > > > load grow up too fast. > > > > > > > > I've changed some parameter in sysctl for intel drivers, but it > doesn't > > > have > > > > effect. > > > > > > > > Someone know what I can do to reach more packets performance? I want > to > > > use > > > > this FreeBSD as a router/firewall only. > > > > > > if you feel like doing a bit of coding yourself, you could try netmap > > > > > > http://info.iet.unipi.it/~luigi/netmap/ > > > > > > cheers > > > luigi > > > > > > > Thanks, > > > > Victor > > > > _______________________________________________ > > > > freebsd-current@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > To unsubscribe, send any mail to " > > > freebsd-current-unsubscribe@freebsd.org" > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >