From owner-freebsd-net@FreeBSD.ORG Wed Jul 3 12:58:42 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BFE8969A; Wed, 3 Jul 2013 12:58:42 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6F51AA5; Wed, 3 Jul 2013 12:58:42 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id q10so72479pdj.38 for ; Wed, 03 Jul 2013 05:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JcqsUSgi6ujjlyb/oyccU2MUhBBRbIUfyu/b/7bxUJ4=; b=HiW1h5R0uPzoa4Y6EztaaLlecVTMhYPiBgBddQsVTKWd0KrWUtAH7l7eg/U4nz0luZ bSqVnU9HwHWB5sp+kV9/uCAK6jmp2VpElhhEH+LycSIjMGDDtwhYmHgXv2ZShkIWQS0d sTpMI9dXCeapUHBcwnXfXk7zIIdvxEA4L4JBq7xhlB4hb5ywOo3IkaJi/dJWhysDxt9X CWnGlQyX5JepNefXZFxkFcJTKnFhrmtQ4/M6OYy4FkjFL4j6L2rI4go8KpjjZ5PQUGGh tnkTKDgL9TKb9lWOOB1LIIkWdQV2JtM+x4sAN43m2a1PQ8CfaH8Pv/JDlhoUYQQYIcdG 3Nsg== MIME-Version: 1.0 X-Received: by 10.66.252.234 with SMTP id zv10mr2297422pac.186.1372856321497; Wed, 03 Jul 2013 05:58:41 -0700 (PDT) Received: by 10.66.216.169 with HTTP; Wed, 3 Jul 2013 05:58:41 -0700 (PDT) In-Reply-To: <51D3E5BC.1000604@freebsd.org> References: <51D3E5BC.1000604@freebsd.org> Date: Wed, 3 Jul 2013 08:58:41 -0400 Message-ID: Subject: Re: Terrible ix performance From: Outback Dingo To: Lawrence Stewart Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 12:58:42 -0000 On Wed, Jul 3, 2013 at 4:50 AM, Lawrence Stewart wrote: > On 07/03/13 14:28, Outback Dingo wrote: > > Ive got a high end storage server here, iperf shows decent network io > > > > iperf -i 10 -t 20 -c 10.0.96.1 -w 2.5M -l 2.5M > > ------------------------------------------------------------ > > Client connecting to 10.0.96.1, TCP port 5001 > > TCP window size: 2.50 MByte (WARNING: requested 2.50 MByte) > > ------------------------------------------------------------ > > [ 3] local 10.0.96.2 port 34753 connected with 10.0.96.1 port 5001 > > [ ID] Interval Transfer Bandwidth > > [ 3] 0.0-10.0 sec 9.78 GBytes 8.40 Gbits/sec > > [ 3] 10.0-20.0 sec 8.95 GBytes 7.69 Gbits/sec > > [ 3] 0.0-20.0 sec 18.7 GBytes 8.05 Gbits/sec > > Given that iperf exercises the ixgbe driver (ix), network path and TCP, > I would suggest that your subject is rather misleading ;) > > > the card has a 3 meter twinax cable from cisco connected to it, going > > through a fujitsu switch. We have tweaked various networking, and kernel > > sysctls, however from a sftp and nfs session i cant get better then > 100MBs > > from a zpool with 8 mirrored vdevs. We also have an identical box that > will > > get 1.4Gbs with a 1 meter cisco twinax cables that writes 2.4Gbs compared > > to reads only 1.4Gbs... > > I take it the RTT between both hosts is very low i.e. sub 1ms? > > > does anyone have an idea of what the bottle neck could be?? This is a > > shared storage array with dual LSI controllers connected to 32 drives via > > an enclosure, local dd and other tests show the zpool performs quite > well. > > however as soon as we introduce any type of protocol, sftp, samba, nfs > > performance plummets. Im quite puzzled and have run out of ideas. so now > > curiousity has me........ its loading the ix driver and working but not > up > > to speed, > > ssh (and sftp by extension) aren't often tuned for high speed operation. > Are you running with the HPN patch applied or a new enough FreeBSD that > has the patch included? Samba and NFS are both likely to need tuning for > multi-Gbps operation. > Running 9-STABLE as of 3 days ago, what are you referring to s i can validate i dont need to apply it as for tuning for NFS/SAMBA sambas configured with AIO, and sendfile, and there so much information on tuninig these things that its a bit hard to decipher whats right and not right > > Cheers, > Lawrence > _______________________________________________ > 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" >