From owner-freebsd-net@FreeBSD.ORG Sat May 8 12:59:47 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69D15106564A for ; Sat, 8 May 2010 12:59:47 +0000 (UTC) (envelope-from murat@enderunix.org) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.150]) by mx1.freebsd.org (Postfix) with ESMTP id AF58E8FC18 for ; Sat, 8 May 2010 12:59:45 +0000 (UTC) Received: (qmail 27666 invoked from network); 8 May 2010 12:59:40 -0000 Received: from unknown (HELO ?172.16.0.202?) (127.0.0.1) by 0 with SMTP; 8 May 2010 12:59:40 -0000 From: Murat Balaban To: Vincent Hoffman In-Reply-To: <4BE52856.3000601@unsane.co.uk> References: <4BE52856.3000601@unsane.co.uk> Content-Type: text/plain; charset="UTF-8" Organization: EnderUNIX SDT, Turkey Date: Sat, 08 May 2010 15:59:42 +0300 Message-ID: <1273323582.3304.31.camel@efe> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-performance@freebsd.org, grarpamp Subject: Re: Intel 10Gb 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: Sat, 08 May 2010 12:59:47 -0000 Much of the FreeBSD networking stack has been made parallel in order to cope with high packet rates at 10 Gig/sec operation. I've seen good numbers (near 10 Gig) in my tests involving TCP/UDP send/receive. (latest Intel driver). As far as BPF is concerned, above statement does not hold true, since there is some work that needs to be done here in terms of BPF locking and parallelism. My tests show that there is a high lock contention around "bpf interface lock", resulting in input errors at high packet rates and with many bpf devices. I belive GSoC 2010 project, Multiqueue BPF, is a milestone for this: http://www.freebsd.org/projects/ideas/ideas.html#p-multiqbpf I'm also working on this problem myself and will post a diff whenever I have something usable. -- Murat http://www.enderunix.org/murat/ On Sat, 2010-05-08 at 10:01 +0100, Vincent Hoffman wrote: > Looks a little like > http://lists.freebsd.org/pipermail/svn-src-all/2010-May/023679.html > but for intel. cool. > > Vince > On 07/05/2010 23:01, grarpamp wrote: > > Just wondering in general these days how close FreeBSD is to > > full 10Gb rates at various packet sizes from minimum ethernet > > frame to max jumbo 65k++. For things like BPF, ipfw/pf, routing, > > switching, etc. > > http://www.ntop.org/blog/?p=86 > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"