FreeBSD 11.1-R network slowness on Samba and Windows VM on VirtualBox

Nenhum_de_Nos matheus at eternamente.info
Wed Aug 2 03:26:47 UTC 2017


On Tue, August 1, 2017 11:41, Werner Griessl wrote:
> On 08/01/17 04:52, Nenhum_de_Nos wrote:
>>
>> On Sun, July 30, 2017 02:08, Nenhum_de_Nos wrote:
>>> Hi,
>>>
>>> I was running 10.3-p7 on Atom hardware and using old samba36-3.6.25_1.
>>> All
>>> was fine.
>>>
>>> Then I updated to 11.1-R by recompiling from svn, using the same
>>> kernelconfig from 10.3, and now my windows client shows timeouts and
>>> really slow connection. File copy never past kilobytes per second :(
>>>
>>> I am compiling a new samba packet from ports, but that slow is weird
>>> for
>>> me, and I could not find any other cases on web search.
>>>
>>> thanks,
>>>
>>> matheus
>>
>> Hi guys,
>>
>> I got this still going, where I installed a new Windows VM and same
>> problem. I reinstalled all ports and same problem. I use Windows shares
>> from another sources (not a VirtualBox VM) and all works fine.
>>
>> Some help were said here https://forums.freebsd.org/threads/61813/, but
>> unfortunately I have no leads so far.
>>
>> I will try to install some 10.3 box to try it out when I get some time
>> and
>> a free machine.
>>
>> If anyone has any clues.
>>
>> thanks,
>>
>
>
> Try comment out in smb4.conf the line:
> "#   case sensitive = true"
> Worked for me with samba44
>
> Werner

Hi Werner,

as I got my samba conf from old 3.6 I don't have this line there.

I tried something today.

I got and i386 netbook to work using 4.4 samba and FreeBSD hetchet
11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 03:40:55
UTC 2016 root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386.
The vm could copy files from it.

Then I compiled the samba port on the Atom amd64 machine, same problem.
I got to know the amd64 machine has custom kernel conf, but mostly just pf
stuff:

Code:
diff GENERIC FreeBSD-11-amd64-PF
19c19
< # $FreeBSD: releng/11.1/sys/amd64/conf/GENERIC 318763 2017-05-24
00:00:55Z jhb $
---
> # $FreeBSD: releng/11.0/sys/amd64/conf/GENERIC 302410 2016-07-08
00:22:14Z gjb $
22c22
< ident         GENERIC
---
> ident         FreeBSD-11-amd64-PF
88d87
< options       EARLY_AP_STARTUP
360a360,378
>
> # pf
>
> device pf
> device pflog
> device pfsync
>
> options ALTQ
> options ALTQ_CBQ # Class Bases Queuing (CBQ)
> options ALTQ_RED # Random Early Detection (RED)
> options ALTQ_RIO # RED In/Out
> options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
> options ALTQ_PRIQ # Priority Queuing (PRIQ)
>
> device carp
>
> # device polling
> options DEVICE_POLLING



I just got all ports rebuilt after the upgrade to 11.1-R, so should I do
it all again? No forget, just machines under Virtualbox suffer, all other
work fine.

thanks,

> --
> Werner Grießl              D-95440 Bayreuth, Germany
> Universitaet Bayreuth      Tel.: +49 921 55 2685
> IT-Servicezentrum/Netze    NW2 3.2.U1.143
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


-- 
"We will call you Cygnus,
the God of balance you shall be."



More information about the freebsd-stable mailing list