FreeBSD smbfs horribly slow
Jason Hellenthal
jhellenthal at dataix.net
Sat Nov 14 00:31:03 UTC 2015
Is that with the QoS Limit Reservable Bandwidth set to zero ? Or QoS unchecked (disabled) on the source interface of the Win7 machine. By default Win7 limits 10% bandwidth reserved without adjusting the local GPO of the system and sometimes fights with itself to get you the information as quick as you'd like.
Changes here are immediate
http://windows7themes.net/en-us/disable-bandwidth-limit-in-windows-7-speed-up-your-internet/
--
Jason Hellenthal
JJH48-ARIN
On Nov 13, 2015, at 18:21, Allan Jude <allanjude at freebsd.org> wrote:
> 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 at bsd.com.br>
>> To: freebsd-questions <freebsd-questions at freebsd.org>
>> Subject: FreeBSD smbfs horribly slow
>>
>> Googling on this subject, I found:
>>
>> http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/098717.html
>> https://lists.freebsd.org/pipermail/freebsd-net/2013-January/034239.html
>> https://lists.freebsd.org/pipermail/freebsd-questions/2014-October/261804.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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
> What kind of operations are you doing?
>
> 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)
>
> Reading it back only got 50 megabytes/s, not sure why.
My tests:
#mount_smbfs -I 10.1.1.2 //allan at 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=/dev/zero of=zerofile bs=1m count=4k
4096+0 records in
4096+0 records out
4294967296 bytes transferred in 65.787577 secs (65285385 bytes/sec)
dd if=zerofile of=/dev/null bs=1m
^C2446+0 records in
2446+0 records out
2564816896 bytes transferred in 50.894606 secs (50394670 bytes/sec)
#cd /
#umount /mnt
--
Allan Jude
More information about the freebsd-hackers
mailing list