From owner-freebsd-fs@FreeBSD.ORG Sat Sep 29 23:50:21 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C525106566B for ; Sat, 29 Sep 2012 23:50:21 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 281428FC08 for ; Sat, 29 Sep 2012 23:50:20 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EACeIZ1CDaFvO/2dsb2JhbABFhgu5MYIgAQEBBAEBASArIAsbDgoCAg0ZAikBCSYGCAcEARwEh2QLp2+SFIEhihiFH4ESA5M8gi2BFY8WgwOBRzQ X-IronPort-AV: E=Sophos;i="4.80,510,1344225600"; d="scan'208";a="181240984" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 29 Sep 2012 19:50:14 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 5D6F5B4048; Sat, 29 Sep 2012 19:50:14 -0400 (EDT) Date: Sat, 29 Sep 2012 19:50:14 -0400 (EDT) From: Rick Macklem To: Wayne Hotmail Message-ID: <1363900011.1436778.1348962614353.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: NFS Performance Help X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 23:50:21 -0000 Wayne Hotmail wrote: > Like others I am having issues getting any decent performance out of > my NFS clients on FreeBSD.I have tried 8.3 and 9.1 beta on stand alone > servers or as vmware clients. Used 1 Gig connections or a 10 Gig > connection.Tried mounting using Version 3 and Version 4.I have tried > the noatime, sync, and tcp options nothing seems to help.I am > connecting to a IceWeb NAS. My performance with DD is 60 meg a second > at best when writing to the server. If I load a Redhat Linux server on > the same hardware using the same connection my write performance is > about 340 Meg a second. > It really falls apart when I run a test script where I create a 100 > folders then create a 100 files in the folders and append to these > files 5 times using 5 random files. I am trying to simulate a IMAP > email server. If I run the script on my local mirror drives it takes > about a one minute and thirty seconds to complete. If I run the script > on the NFS mounted drives it takes hours to complete. With my Linux > install on the same hardware this NFS mounted script takes about 4 > minutes. > Google is tired of me asking the same question over and over. So if > anyone would be so kind as to point out some kernel or system tweaks > to get me passed my NFS issues that would be greatly appreciated. > Wayne > You could try a smaller rsize,wsize by setting the command line args for the mount. In general, larger rsize,wsize should perform better, but if a large write generates a burst of traffic that overloads some part of the network fabric or server, such that packets get dropped, performance will be hit big time. Other than that, if you capture packets and look at them in wireshark, you might be able to spot where packets are getting lost and retransmitted. (If packets are getting dropped, then the fun part is figuring out why and coming up with a workaround.) Hopefully others will have more/better suggestions, rick > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"