From owner-freebsd-stable@FreeBSD.ORG Mon Jun 30 23:36:25 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF013A3E; Mon, 30 Jun 2014 23:36:25 +0000 (UTC) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8551E226B; Mon, 30 Jun 2014 23:36:25 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4EAADZsVODaFve/2dsb2JhbABag19agm6oLgEBAQEBAQaSdYZxUwGBKXWEAwEBAQQBAQEgKyALGw4KAgINGQIpAQkmBggHBAEcBIghDatjnCUXgSuEOYhMBgEBGzQHgneBTAWXdIQwkjeDXiE1fQgXIg X-IronPort-AV: E=Sophos;i="5.01,578,1400040000"; d="scan'208";a="137115814" Received: from muskoka.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.222]) by esa-annu.net.uoguelph.ca with ESMTP; 30 Jun 2014 19:36:17 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id EFC8DB3F12; Mon, 30 Jun 2014 19:36:17 -0400 (EDT) Date: Mon, 30 Jun 2014 19:36:17 -0400 (EDT) From: Rick Macklem To: Johan Kooijman Message-ID: <283522359.5786930.1404171377970.JavaMail.root@uoguelph.ca> In-Reply-To: Subject: Re: ixgbe queue hang fixed in 9.3? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Win)/7.2.6_GA_2926) Cc: FreeBSD Net , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 23:36:25 -0000 Johan Kooijman wrote: > Hey all, > > A while ago I started the thread "9.2 ixgbe tx queue hang" on > freebsd-net. > A lot more people had the same as I had. Could anybody tell me if > this > issue is resolved in 9.3 RC? I haven't been able to find anything > about it. > Well, it depends on your definition of "resolved". r264630 (in head) is in 9.3. With this patch, I believe that the hangs will not occur. However, ixgbe (for the 82599 chips, there shouldn't be an issue for the 82598 chips) will do a lot of m_defrag() calls, which does result in cpu overheads. To get rid of the m_defrag() calls, you need to disable TSO. I think a better fix for this is to allow the network device drivers specify a maximum number of mbufs in the list for a TSO segment and have tcp_output() chop the TSO segments up at this limit. (I have an untested patch to do this and it might make it in head someday, but will probably never be MFCible.) So, if the overhead caused by lots of m_defrag() calls isn't a problem for you, it is resolved in 9.3. rick > -- > Met vriendelijke groeten / With kind regards, > Johan Kooijman > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" >