From owner-freebsd-net@FreeBSD.ORG Fri Apr 25 14:25:05 2014 Return-Path: Delivered-To: freebsd-net@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 C4FD7A68 for ; Fri, 25 Apr 2014 14:25:05 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 5B9FC1A74 for ; Fri, 25 Apr 2014 14:25:05 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id B639720E7088B; Fri, 25 Apr 2014 14:25:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id D7C8720E70885; Fri, 25 Apr 2014 14:25:00 +0000 (UTC) Message-ID: <1BD2C00D4F0D405C939C975246D41C60@multiplay.co.uk> From: "Steven Hartland" To: =?iso-8859-1?Q?Gerrit_K=FChn?= References: <535A1354.2040309@wp.pl><20140425113711.e7c7d1c2.gerrit.kuehn@aei.mpg.de><535A482E.1030106@wp.pl><20140425140123.a76c18f9.gerrit.kuehn@aei.mpg.de><535A5268.100@wp.pl><8247FE6336414E1F97ADA561D0680097@multiplay.co.uk><535A5DD9.9060206@wp.pl><535A69CE.9010800@wp.pl><4E7A280CACC84910A3DE068085976E30@multiplay.co.uk> <20140425161312.3ad95e3a.gerrit.kuehn@aei.mpg.de> Subject: Re: NFS over LAGG / lacp poor performance Date: Fri, 25 Apr 2014 15:25:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 14:25:05 -0000 ----- Original Message ----- From: "Gerrit Kühn" To: "Steven Hartland" Cc: Sent: Friday, April 25, 2014 3:13 PM Subject: Re: NFS over LAGG / lacp poor performance > On Fri, 25 Apr 2014 15:02:15 +0100 "Steven Hartland" > wrote about Re: NFS over LAGG / lacp poor > performance: > > SH> We find that large numbers of queues causes high interrupt issues > > Like the thing I am seeing with igb1 on my system? > > --- > root@storage:/root # vmstat -i > interrupt total rate > irq1: atkbd0 2743 0 > irq18: ehci0 uhci5 4445560 2 > irq21: uhci1 29 0 > cpu0:timer 355724275 227 > irq256: igb0:que 0 99437514 63 > irq257: igb0:que 1 61534816 39 > irq258: igb0:que 2 101725601 65 > irq259: igb0:que 3 100864440 64 > irq260: igb0:link 2 0 > irq261: igb1:que 0 1689527 1 > irq262: igb1:que 1 2357590958 1510 > irq263: igb1:que 2 1584474 1 > irq264: igb1:que 3 1923144 1 > irq265: igb1:link 2 0 > irq266: mps0 332232450 212 > irq267: mps1 194207894 124 > irq268: mps2 176700834 113 > irq269: ahci0 59175548 37 > cpu1:timer 419838321 268 > cpu3:timer 329696415 211 > cpu2:timer 328219053 210 > Total 4926593600 3156 > --- > > > irq262 sticks out like a sore thumb... > > SH> however at a guess you did this to enable the machine to boot with > SH> all nics due to lack of auto mbuf tuning in 9.x. > SH> I'd go with ~2 queues per nic. > > I was wondering what to try next for my system: either manually set the > queues back to 2 or 1 per NIC, or try upgrading to either 9.2 or 10 as it > looked like there have been improvements in the igb driver. Do you have > any recommendations on that? We saw the issue with 10-RELEASE last weekend on a machine with 6 x igb's where by the system was burning CPU in the interrupt handlers, setting num_queues to 2 fixed the issue we where seeing. Regards Steve