From owner-freebsd-current@FreeBSD.ORG Mon Aug 8 16:28:22 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 BBD5D106566B for ; Mon, 8 Aug 2011 16:28:22 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 7DACE8FC08 for ; Mon, 8 Aug 2011 16:28:22 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p78GSK47002845; Mon, 8 Aug 2011 12:28:20 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E400E9C.9030800@sentex.net> Date: Mon, 08 Aug 2011 12:28:12 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Victor Detoni References: <20110807123327.GA26983@zxy.spb.ru> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.71 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-current@freebsd.org, Slawa Olhovchenkov 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: Mon, 08 Aug 2011 16:28:22 -0000 On 8/8/2011 12:21 PM, Victor Detoni wrote: > Hi Slawa! > > Thanks for the links! That's great links! > > about russian, there is no problem... google translate :) Yes, excellent links indeed and google translate is awesome! One further question. Do you usually set net.isr.bindthreads=1 ---Mike > > > thanks, > Victor > > On Sun, Aug 7, 2011 at 9:33 AM, Slawa Olhovchenkov 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. >> >> FreeBSD (and em) need some tuning for high perfomance. >> >> Next links in russian, sorry. >> >> http://dadv.livejournal.com/138951.html >> http://dadv.livejournal.com/139170.html >> http://dadv.livejournal.com/139366.html >> >> -- >> Slawa Olhovchenkov >> > _______________________________________________ > 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" > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/