From owner-freebsd-net@FreeBSD.ORG Wed Apr 8 22:35:13 2009 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 0862D106566C for ; Wed, 8 Apr 2009 22:35:13 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from sepehrs.com (sepehrs.com [213.217.59.98]) by mx1.freebsd.org (Postfix) with ESMTP id 267C08FC16 for ; Wed, 8 Apr 2009 22:35:11 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from [192.168.1.180] ([192.168.3.1]) by mail (8.14.3/8.14.3) with ESMTP id n385DOM8037672; Wed, 8 Apr 2009 09:43:24 +0430 (IRDT) Message-ID: <49DC33DD.8000708@sepehrs.com> Date: Wed, 08 Apr 2009 08:49:25 +0330 From: "H.Fazaeli" User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) To: jfvogel@gmail.com References: <900824.65358.qm@web63901.mail.re1.yahoo.com> In-Reply-To: <900824.65358.qm@web63901.mail.re1.yahoo.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Advice on a multithreaded netisr patch? 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: Wed, 08 Apr 2009 22:35:13 -0000 Dear Jack Can you please comment on below statements ?! Is the assertion true for all OSes (windows, linux, ...) or it is just freebsd? I am actually concerned in how much production ready is igb drivers in your opinion. As a matter of fact, We have been (and are) using em drivers for years on production systems in biggest ICPs/ISPs/organizations without problem and we have very good faith in it (I have not tested igb). Barney Cordoba wrote: --- On Tue, 4/7/09, Ivan Voras [1] wrote: From: Ivan Voras [2] Subject: Re: Advice on a multithreaded netisr patch? To: [3]freebsd-net@freebsd.org Date: Tuesday, April 7, 2009, 5:59 PM Barney Cordoba wrote: 1) Multiple TX queues are not supported. There's some hokey code to test, but it doesn't properly separate flows to the queues. 2) 2 Rx queues don't work, so only 1 and 4 work 3) With 4 queues, it just sucks up CPU under heavy load on 4 cpus. It will blow 4 cpus at a lower load than em will with 1 4) You'll need to fix DMA setup, as it sets the alignment requirement to PAGE_SIZE. I haven't been able to convince Jack that its wrong, not that I've tried very hard since its easy to just fix myself. Reading this thread it looks like the development of both Intel drivers is a bit stalled, doesn't it? AFAIK the em driver is also semi-officially abandoned, and both from my experience and others it looks like new development and patches are being rejected. Time to shop other hardware? To be fair, the OS doesn't really support multiqueue yet, or has for only a few hours, so lets not go crazy. It makes a lot more sense to have someone on the "team" work with Jack on improving the performance and working out the kinks. When I asked Jack about the poor performance of if_igb, he indicated that Intel's position is that the drivers are "just samples", which really doesn't give anyone much confidence that they want to run their business on them. You already have Jack doing all of the hard work; that is supporting the new-chip-per-week that intel puts out, so it seems to me the best strategy would be to try to convince Intel that its in their best interest to have drivers that work well so people don't think that their hardware stinks. As an example, the Chelsio 10gb bypass card is $3495. and an Intel card is ~$1000, so its a big win for the community as a whole to have good intel drivers going forward. My work is commercially proprietary so I can't share my code, but I can certainly share ideas on things that I've tested and discovered. Barney _______________________________________________ [4]freebsd-net@freebsd.org mailing list [5]http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [6]"freebsd-net-unsubscribe@freebsd.org" -- Best regards. Hooman Fazaeli [7] Sepehr S. T. Co. Ltd. Web: [8]http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 References 1. mailto:ivoras@freebsd.org 2. mailto:ivoras@freebsd.org 3. mailto:freebsd-net@freebsd.org 4. mailto:freebsd-net@freebsd.org 5. http://lists.freebsd.org/mailman/listinfo/freebsd-net 6. mailto:freebsd-net-unsubscribe@freebsd.org 7. mailto:hf@sepehrs.com 8. http://www.sepehrs.com/