Date: Mon, 17 Nov 2014 12:08:34 +0100 From: Mark Schouten <mark@tuxis.nl> To: freebsd-hackers@freebsd.org Subject: Re: Slow nfsd write performance, tweaks needed Message-ID: <3176881007-17726@kerio.tuxis.nl> In-Reply-To: <2826701214-10966@kerio.tuxis.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, Mark Schouten <mark@tuxis.nl> , 13-11-2014 11:17: I am in the process of switching from a ZFS On Linux-based NFS-server to a FreeBSD-based NFS-server. The FreeBSD implementation of ZFS is way superiour over ZoL, and the box serves as storage for a virtualizationplatform, so stability is welcome. :) The box is stable, but performs terribly. Surely, I'm doing something wrong, but I would like some tips and tricks to speed things up. Thanks for all your responses. I've setup a testserver to do some benchmarks, here are the results. Things are tested from inside a VM, that runs inside a Proxmox-VM, that runs on my Desktop (that performs pretty good, BTW :)) So, command used to benchmark is: 'bonnie++ -u root -d . -r 1024' Locally on the zfs/nfs/ctl-server itself: 1m42.91s iscsi (using the new ctld on FreeBSD 10): 1m55.203s nfs on linux desktop (on which the vms are running too) 4m42.267s ufs via nfs from FreeBSD 10: 20m35.644s zfs via nfs from FreeBSD 10: 24m23.225s zfs with sync disabled via nfs from FreeBSD 10: 21m0.191s The same FreeBSD testbox is used for all tests, which was doing nothing but the benchmark. What I've learned from these benchmarks is this: * NFS on FreeBSD just sucks, bigtime * NFS on Linux performs 'ok' * iScsi on FreeBSD is fast, very fast Two questions remain: * How stable is ctl(d)? * How does it perform with more iops and clients? If anyone has any input on that, I'd be grateful. Regards, -- Kerio Operator in de Cloud? https://www.kerioindecloud.nl/ Mark Schouten | Tuxis Internet Engineering KvK: 61527076 | http://www.tuxis.nl/ T: 0318 200208 | info@tuxis.nl [-- Attachment #2 --] 0 *H 010 + 0 *H 00,]~!dn=0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0 140701000000Z 150701235959Z010 *H mark@tuxis.nl0"0 *H 0 ,e1`4jEtuBeE")>ԁY 7ՀI&]KͨqkRnZÚC$jw4[ߞ?f)Sm6,M%#R2U\?blOZǣۍq}(/nKNoovtڪmrw4Ԣ-H2R0!0PnB_n?uW+RoqCڇvx|1B/Lan /)` 00U#0zN t[xcd'/[y{0U~tDeHO3 1M]0U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0 mark@tuxis.nl0 *H |0D7-Ѐ1Ν{(pSiW;@Fλ2I)l`ϥ#<v.|Y;oa95z.dJ5_[/>1I/ QSby@o@=T<cW4$?^KXkO=Uw NCdFCӡLWk?@\˯K OdAWL{yC0zb%|{&1ӷ>gʋlg!&600mOj3""2zq0 *H 010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0 110428000000Z 200530104838Z010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0 *H 0 [KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq 7 PSlY1 LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5 K0G0U#0g}ĝ&p KPH|=n}0UzN t[xcd'/[y{0U0U0 0U 00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0 *H ־xWUm3DRB JAIZҭsn>&|L0(B<%> u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C 3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun004=+'44pT0 *H 0o10 USE10U AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0 050607080910Z 200530104838Z010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0"0 *H 0 9}A;bF7`u9eJGHjM5BI/|1Nd.)բdąQ5yNh{zɤ2O0nFxoY^/m/묡j.g5yiF͠v:z'[=s"HaLi.1 ,CZqYں gT: wetbh~GeMW(t40b0, 00U#0z4&&T$T0Ug}ĝ&p KPH|=n}0U0U00U 00U 0DU=0;09753http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0 *H c(1{b#1sSQL֟/g~x3t&dp bP#4Vp4nx7_j̉_|>Q5|`k:+߳}[| P-sxt1^˚ƹ7urDg%R%G<N 6wH\-?`q`q6 lKuI;ٟMx&-n_100010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA,]~!dn=0 + 0 *H 1 *H 0 *H 1 141117110834Z0# *H 1ߙ5FNS90y *H 1l0j0 `He*0 `He0 `He0 *H 0*H 0 *H @0+0 *H (0 *H p$3]hܞE_ 'FP-r"<XItVr]u" +2<#Ҧ~(q=c5J!0,]Øμ"Y{GWiELw#eL] -KPIi{u͖K՚)WrmV(;NHOCKpYG:V/\|;Ѡ'H9~yys"]%)Px#ly<w
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3176881007-17726>
