Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2015 19:21:15 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Fw: FreeBSD smbfs horribly slow
Message-ID:  <56467E7B.3010704@freebsd.org>
In-Reply-To: <56463ACE.5020605@freebsd.org>
References:  <20151113162548.61529137@Papi> <56463ACE.5020605@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lobo@bsd.com.br>
>> To: freebsd-questions <freebsd-questions@freebsd.org>
>> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56467E7B.3010704>