Web lists-archives.com

Re: [Samba] extremely low performance on Samba 4.2.14-Debian




Hai, 

I got a personal notice of a user, which server was running 4.2.14 (debian jessie), 
he only got 10-14Mb/s, after upgrading to my 4.6.6 package (now 4.6.7, he is now getting the full gigabit connection speed. 

Now if you dont want to upgrade you can try set the nic speed in smb.conf.
( man smb.conf ) 
interface[;key1=value1[,key2=value2[...]]]

       Known keys are speed, capability, and if_index. Speed is specified in bits per second.

And i must say, this should not be needed, but its possible the speed is wrongly detected.
I was not able to determin why this was on his server, i had access to console for this one.
(its a college of me)


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Rowland Penny via samba
> Verzonden: donderdag 10 augustus 2017 21:35
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] extremely low performance on Samba 
> 4.2.14-Debian
> 
> On Thu, 10 Aug 2017 20:39:45 +0200
> Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> wrote:
> 
> > Le Thu, 10 Aug 2017 18:46:12 +0100
> > Rowland Penny via samba <samba@xxxxxxxxxxxxxxx> écrivait:
> > 
> > > 4.2.x is EOL as far as Samba is concerned, there have 
> been a lot of 
> > > changes since 4.2.* came out.
> > > 
> > > Can I suggest you go here: http://apt.van-belle.nl/
> > > 
> > > You can get a much more recent version there, 4.6.7
> > 
> > OK I'll try it, but that doesn't really explain why it's so slow, 
> > while it's completely OK on other similar or slower  machines...
> > Actually it's the first time ever, with any Samba version (including
> > 3.6.x) that I have such a bad performance on a 10GigE 
> equipped system. 
> > I even usually got better performance with bonded Gb 
> interfaces 8 or 9 
> > years ago...
> > 
> 
> As I said, there have been a lot of changes to Samba since 
> 4.2.x, some of these changes have been aimed at getting Samba 
> to work faster and, as far as I am aware, there are more in 
> the upcoming 4.7.0.
> 
> Can I also suggest you remove these lines:
> 
>     winbind enum users  = yes
>     winbind enum groups = yes
> 
> You do not need them and guess what, they slow Samba down.
> 
> Rowland
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba