From owner-freebsd-hackers@freebsd.org Sat Nov 14 00:20:50 2015 Return-Path: Delivered-To: freebsd-hackers@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 606F4A2EC89 for ; Sat, 14 Nov 2015 00:20:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 23C9A1BCA for ; Sat, 14 Nov 2015 00:20:49 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C3324DEC8 for ; Sat, 14 Nov 2015 00:20:48 +0000 (UTC) Subject: Re: Fw: FreeBSD smbfs horribly slow To: freebsd-hackers@freebsd.org References: <20151113162548.61529137@Papi> <56463ACE.5020605@freebsd.org> From: Allan Jude Message-ID: <56467E7B.3010704@freebsd.org> Date: Fri, 13 Nov 2015 19:21:15 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56463ACE.5020605@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BFKFOFUJRsOnxP980uN0WUWvvepetopR5" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 00:20:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BFKFOFUJRsOnxP980uN0WUWvvepetopR5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-11-13 14:32, Allan Jude wrote: > On 2015-11-13 14:25, Mario Lobo wrote: >> Hi; >> >> It seems no one in @questions had any info/pointers/interest on this >> so I'm trying @hackers for some light. >> >> Thanks, >> >> >> Begin forwarded message: >> >> Date: Wed, 11 Nov 2015 17:53:11 -0300 >> From: Mario Lobo >> To: freebsd-questions >> Subject: FreeBSD smbfs horribly slow >> >> Googling on this subject, I found: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/09= 8717.html >> https://lists.freebsd.org/pipermail/freebsd-net/2013-January/034239.ht= ml >> https://lists.freebsd.org/pipermail/freebsd-questions/2014-October/261= 804.html >> >> I am on 10.2-STABLE and using FreeBSD as a client to any amb share >> continues to be very slow. >> >> The share is mounted through mount_smbfs. I tried smbnetfs (fuse) and >> it is just a tiny bit better but doesn't compare to other clients >> (linux or win) when writing/reading files >> >> It gets even worse if an application is doing operations with variable= >> size records inside a data file on the share. >> >> Does anyone have any advice to improve this? >> >> Thanks, >> >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.= org" >> >=20 > What kind of operations are you doing? >=20 > I just mounted a share from my windows desktop on my FreeBSD -CURRENT > machine, and was able to write new files at 64 megabytes/s (roughly 1/2= > the available gigabit/sec) >=20 > Reading it back only got 50 megabytes/s, not sure why. >=20 My tests: #mount_smbfs -I 10.1.1.2 //allan@seawolf/junk /mnt Password: #cd /mnt #ls bsdnow_ep104_0.mov bsdnow_ep106_8.mov bsdnow_ep114_1.mov bsdnow_ep104_2.mov bsdnow_ep106_8b.mov #dd if=3D/dev/zero of=3Dzerofile bs=3D1m count=3D4k 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 65.787577 secs (65285385 bytes/sec) dd if=3Dzerofile of=3D/dev/null bs=3D1m ^C2446+0 records in 2446+0 records out 2564816896 bytes transferred in 50.894606 secs (50394670 bytes/sec) #cd / #umount /mnt --=20 Allan Jude --BFKFOFUJRsOnxP980uN0WUWvvepetopR5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWRn57AAoJEBmVNT4SmAt+9ckP/i3aLogP9PlRQSbTUpoc58Zi a8trJXLQ3sbKEZtyeW1kK2oY3HQFpUNgxInR1Pu+HFc07s0B8WDRxSC8JV3f+U55 lYFRlhcUtqApIkzTDp1k1vm7fj3Yaj2MCG/py7k6V1L2ARzZ0p6T7UhFQMhjKIBr tqJsdIpeb6vnn88dTFGzOB0PMlVza5KcTo0mPGt+xaI6cNGpKjqsVs9wuqoxkJ5M JbCdy7qSFMnIWz+SF0SdXuOFXyxAzexfYeEkn8gDKYRyvi0IVeErbSywQLmcC4zv mGaauY1NCTHyvfv4WN8XnLWF/AYy9Z0Bn1bXeOxnviA8QYqlEW2BujtCuFQVHmeG ORm8NiLGQNwyfXNBSt62nYan5OMG3jRzA5qajwpK/YsGAiPo6Xb06Ttjh//8Yyco Pvukx/+lq8S2sQN5yzqEDupm9VVeduO8zGQvCFHrpu0CF4q4Om2fDEtxY8+s9KJ3 cD9Df2AQSjaHzRKz7pY/PAMe9XdTDGH0ZJCF8BOo4QsZ0pWVMOrdfJfTyKx5be2m lncJEYEuR9v7PV85OvNfANt79bHKUy1GmHW/6ec7AWm34H4XXXFkRCh6AjPcCj6r /WvCJiw970xTfFHEjzLrKVbDHAxujljIrvYr6T3eSqB+xHV3vLzfSTjQgTD3H4J6 oJnK1l32OnOc2J1dRofM =pmH9 -----END PGP SIGNATURE----- --BFKFOFUJRsOnxP980uN0WUWvvepetopR5--