Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2015 18:31:01 -0600
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD smbfs horribly slow
Message-ID:  <B180DF25-342C-4885-A4EC-C964563288CD@dataix.net>
In-Reply-To: <56467E7B.3010704@freebsd.org>
References:  <20151113162548.61529137@Papi> <56463ACE.5020605@freebsd.org> <56467E7B.3010704@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Is that with the QoS Limit Reservable Bandwidth set to zero ? Or QoS uncheck=
ed (disabled) on the source interface of the Win7 machine. By default Win7 l=
imits 10% bandwidth reserved without adjusting the local GPO of the system a=
nd sometimes fights with itself to get you the information as quick as you'd=
 like.

Changes here are immediate=20
http://windows7themes.net/en-us/disable-bandwidth-limit-in-windows-7-speed-u=
p-your-internet/


--=20
 Jason Hellenthal
 JJH48-ARIN

On Nov 13, 2015, at 18:21, Allan Jude <allanjude@freebsd.org> wrote:

> On 2015-11-13 14:32, Allan Jude wrote:
>> On 2015-11-13 14:25, Mario Lobo wrote:
>> Hi;
>>=20
>> It seems no one in @questions had any info/pointers/interest on this
>> so I'm trying @hackers for some light.
>>=20
>> Thanks,
>>=20
>>=20
>> Begin forwarded message:
>>=20
>> 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
>>=20
>> Googling on this subject, I found:
>>=20
>> http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/09871=
7.html
>> https://lists.freebsd.org/pipermail/freebsd-net/2013-January/034239.html
>> https://lists.freebsd.org/pipermail/freebsd-questions/2014-October/261804=
.html
>>=20
>> I am on 10.2-STABLE and using FreeBSD as a client to any amb share
>> continues to be very slow.
>>=20
>> 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
>>=20
>> It gets even worse if an application is doing operations with variable
>> size records inside a data file on the share.
>>=20
>> Does anyone have any advice to improve this?
>>=20
>> Thanks,
>>=20
>>=20
>>=20
>> _______________________________________________
>> 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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B180DF25-342C-4885-A4EC-C964563288CD>