Re: FreeBSD 11.1-R network slowness on Samba

2018-05-12 Thread Eugene Grosbein
30.07.2017 12:08, Nenhum_de_Nos wrote:

> 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.

You should first verify network throughput using another software/protocol
like stock ftpd. If it is slow same way, it might be NIC driver problem
or something else other than Samba. If ftpd runs just fine, then it is Samba 
problem.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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

2017-08-01 Thread Nenhum_de_Nos

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 r...@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/NetzeNW2 3.2.U1.143
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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

2017-08-01 Thread Werner Griessl

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


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

Re: FreeBSD 11.1-R network slowness on Samba

2017-08-01 Thread Terry Kennedy
> 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 think the issue is with the SAMBA port. I was running the samba36
port under FreeBSD 10.x and things were fine (500Mbyte/sec transfers
using 10GbE). At some point the samba36 port broke due to changes in
one or more of talloc/tdb/tevent and I tried various samba4x ports (I
am using samba44 now, samba46 doesn't seem to work with XP-type client
systems).

  Various directory traversal operations spike the CPU load up to 100%
and clients see very bursty behavior. A lot seems to depend on the 
application in use - my benchmark is clrmamepro:
https://mamedev.emulab.it/clrmamepro/

  But even things like Windows (7) Photo Viewer will just sit at the
"Loading..." message for a random length of time before displaying
the next picture.

  I am seeing easily a 10:1 performance degradation with any of the 
samba4x ports. I have tried large numbers of SAMBA config tuning
changes, different port build options, etc. without any success. I
"solved" the problem by using an old FreeBSD 8.4 box with a 10GbE
card as an NFS client to the storage server, and then exporting the
NFS-mounted storage to clients with samba36. This whole chain is
nearly as fast as the old samba36-on-storage-server setup.

  I may try resurrecting the samba36 port under FreeBSD 11.1 to see
if that has the performance I used to get. I'm not sure how hard
it will be to build samba36, though. Things have changed since the
port was retired.

Terry Kennedy http://www.glaver.org  New York, NY USA
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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

2017-07-31 Thread Nenhum_de_Nos

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,

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

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD 11.1-R network slowness on Samba

2017-07-29 Thread Nenhum_de_Nos
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

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

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"