From owner-freebsd-stable@freebsd.org Fri Dec 30 09:34:33 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4020DC91896 for ; Fri, 30 Dec 2016 09:34:33 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wj0-x22d.google.com (mail-wj0-x22d.google.com [IPv6:2a00:1450:400c:c01::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFAB51A8D for ; Fri, 30 Dec 2016 09:34:32 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wj0-x22d.google.com with SMTP id sd9so189731576wjb.1 for ; Fri, 30 Dec 2016 01:34:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=1BxTRRXhtgQDNGvDi8qIKFyq4sGPffhRhTl8NTAbm/Q=; b=CLA1uQA+RBg/+yvmPBRhVSdx7NaPK9KOLF6VfwQJQ861sizTNrxR0NLaIiqC6BHIIz cW9cpXpKwuGCDib4gL8MgJWs5e7WKzF4iSdw4wMZxUMKeSh0KHz/AD8l8VHYt+iw67hk e5VsDm0v+nYvT8DMZ3ODMAWQ55kYyIZx2fzFTXXsOg84OR/YmDkxajznwiPh9uZOPzqI w5G6RmIHeVeYuEHarriNnHcqGhY/Lb2Lo6jqtnpPVbyb50oRHb4EHcTpFRE8KxsCeAia imk0IUVeCHUk0mxjOIqBSAajGoGPLap6fOX5Btr9izgLon2cmt1M2tfMpV9vRRI+RNLz XJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1BxTRRXhtgQDNGvDi8qIKFyq4sGPffhRhTl8NTAbm/Q=; b=YAP6YIhqabaOXD/c3VQKu/1MSUgLQm0JsJRDKqFg3QFtDxNevcncmVozwmobwgNiRl XhJ9d+tx05gYzsJL2Sd+D0qmrOvp1/aPPuWnlYPE3ePebXt14FL41zuz9GRuRlr2TZGE 9KpT/8s9gv0Hf/iDXd60dZKKECI26etD6vAY8vr9GwZbznz4OhF3odtsTFZStk2Y3IUC n3ZNhbgvR9vtdNNarbI5a/AoM8tS8QU4+AeeXDsFQnQjW6pkeEZZLulL9R+8JLN88+XT v1QKMQDeQtB/Mc12yVNBv9QWJCdksEkPjpb8tN6Tb0gxcOX/5HmRdlx2fh1TAZYBBItf oCeg== X-Gm-Message-State: AIkVDXLF470w74Tmj/mYkV2361IBGxKdD8XaV5bIPJHB2Ub/A+hHv5+VV1koPPLckc1uqw== X-Received: by 10.194.203.135 with SMTP id kq7mr47564538wjc.26.1483090470745; Fri, 30 Dec 2016 01:34:30 -0800 (PST) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id e5sm69187089wma.12.2016.12.30.01.34.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2016 01:34:29 -0800 (PST) Subject: Re: current state of nfs between FreeBSD and ESXi To: =?UTF-8?Q?Marko_Cupa=c4=87?= References: <20161229144849.35dac6f6@mephala.kappastar.com> From: Johan Hendriks Cc: freebsd-stable@freebsd.org Message-ID: <41f15f28-91c2-705c-0beb-2b1b76bdbfc3@gmail.com> Date: Fri, 30 Dec 2016 10:34:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161229144849.35dac6f6@mephala.kappastar.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2016 09:34:33 -0000 Op 29/12/2016 om 14:48 schreef Marko Cupać: > Hi, > > a few years ago I opted to replace our NFS server from FreeBSD to > CentOS, because I was getting sub-optimal speeds between ESXi client > and FreeBSD server. > > I never tried the workaround described here: > [http://christopher-technicalmusings.blogspot.rs/2011/06/speeding-up-freebsds-nfs-on-zfs-for-esx.html] > > Years have passed, and both FreeBSD and ESXi are now at a few major > versions higher than at the time I last tried to make them talk NFS. Has > anything changed in the meantime? Would I have the same problem now > with FreeBSD 11.0 and ESXi 6.5? > > Thank you in advance, The only way to find out is to test your setup. We use FreeBSD 9.0 as a NFS server for our ESXi 5 servers. We added a ZIL/SLOG device to our setup and speeds are back to normal. The slowdown is because the async and sync behaviour of ZFS and ESXi. One other option is to disable sync on the ZFS dataset. That will also speedup NFS transfer speeds for the ESXi hosts, but then there is a slight window for data corruption in case of a sudden crash of the server. regards Johan