From owner-freebsd-net@FreeBSD.ORG Thu Mar 8 18:10:35 2012 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 A960F106564A; Thu, 8 Mar 2012 18:10:35 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) by mx1.freebsd.org (Postfix) with ESMTP id 11EF88FC17; Thu, 8 Mar 2012 18:10:34 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.5/8.14.5) with ESMTP id q28IAUjA023353; Fri, 9 Mar 2012 01:10:31 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <4F58F616.3020703@rdtc.ru> Date: Fri, 09 Mar 2012 01:10:30 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Ivan Voras References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: Multiqueue support, igb 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: Thu, 08 Mar 2012 18:10:35 -0000 08.03.2012 19:47, Ivan Voras пишет: > Hello, > > What is the current state of support for multithreaded TCP processing in > CURRENT? If a NIC supports multiple queues, will they be used > automatically or net.isr.numthreads needs to be increased? > > I have this situation on a machine with an igb card: > > irq256: igb0:que 0 103573 11 > irq257: igb0:que 1 10094 1 > irq258: igb0:que 2 18231 2 > irq259: igb0:que 3 18186 2 > > This looks like the first queue is used ~~ 10x more often than the > others. Is this a problem? It seems you have lots of non-TCP and non-UDP traffic like PPPoE or GRE. igb(4) uses Microsoft Receive Side Scaling, so it cannot compute a hash for such ethernet frames and they all go to queue zero. That is unavoidable with those cards. Eugene Grosbein