[Samba] Re: Samba running slow

Tom Van den Eynde tom at vandeneynde.net
Sat Jan 27 15:20:52 GMT 2007


Just a quick update : 2.6.19.2 kernel gives the same issues

-----Original Message-----
From: samba-bounces+tom=vandeneynde.net at lists.samba.org
[mailto:samba-bounces+tom=vandeneynde.net at lists.samba.org] On Behalf Of Tom
Van den Eynde
Sent: zaterdag 27 januari 2007 14:32
To: samba at lists.samba.org
Subject: RE: [Samba] Re: Samba running slow

Hello,

I just read your thread in the mailing-list and I do experience exactly the
same problem. 
I have the exact same hardware (Asus P5B, Core 2 Duo) and the same version
of kernel and samba. Actually I have tried the 'd' revision of samba but
that doesn't work either.
Unfortunately, I have not been able to solve it just yet and I too would
very much like to tackle this issue.

Now I am not a samba/kernel hacker but my gut feeling tells me that it is a
combination of the latest kernel 2.6.19-1 with samba. Thanks to the cutting
edge hardware, I cannot downgrade to an earlier kernel version to test as
this do not support all features of the mobo.

Today, I am planning on compiling the 2.6.19-2 kernel and see if that helps.
2.6.20 is also coming out soon but I don't see anything in the change log
what could lead to solving this issue.
Another approach might be to change the NIC to a standard PCI 100 Mbit card
which is well supported by the kernel for years, but I would very much like
to get it working in the current setup.

I will keep you posted if I find anything. I would really appreciate it if
you let me know when you are making progress too.

If someone else has ideas, I am also open for suggestions.

Kind regards,

Tom

-----Original Message-----
From: samba-bounces+tom=vandeneynde.net at lists.samba.org
[mailto:samba-bounces+tom=vandeneynde.net at lists.samba.org] On Behalf Of
Salman Moghal
Sent: zaterdag 27 januari 2007 9:44
To: samba at lists.samba.org
Subject: [Samba] Re: Samba running slow


I should have kept reading through the samba archive online.  There was a 
similar, very recent, reported problem:

http://groups.google.com/group/linux.samba/browse_frm/thread/8bf6e9791ae9b3c
d/0a038c363be7ba2a#0a038c363be7ba2a

After adding these lines in smb.conf, copying a file over samba share was 
lightening fast (just as fast as over FTP/HTTP connection):

socket options = TCP_NODELAY
oplocks = no
level2 oplocks = no

My eventual goal is to be able to play mp3 and movies over LAN.  And I've 
run into the same problem with streaming a file across (as mentioned in the 
thread) -- streaming a file is very choppy.

Any ideas?


----- Original Message ----- 
From: "Salman Moghal" <smoghal at yahoo.com>
To: <samba at lists.samba.org>
Sent: Saturday, January 27, 2007 2:48 AM
Subject: Re: Samba running slow


> Here's my samba version in FC6:
>
> samba-common-3.0.23c-2
> samba-3.0.23c-2
> samba-client-3.0.23c-2
>
>
> ----- Original Message ----- 
> From: "Salman Moghal" <smoghal at yahoo.com>
> To: <samba at lists.samba.org>
> Sent: Saturday, January 27, 2007 2:45 AM
> Subject: Samba running slow
>
>
>> Hello everyone:
>>
>> Over the past few years I have been a happy samba user, running samba on 
>> Redhat / FC platforms.  Recently I upgraded hardware, and Samba hasn't 
>> been performing well at all.. which makes me sad :-(
>>
>> The new hardware is Asus P5B board with a dual-core intel processor. 
>> This board has an onboard  Realtek RTL8111/8168B gigabit ethernet 
>> controller, which was a hassle to setup.  FC6 default kernel 2.6.18-x 
>> doesn't have drivers for it.  Upgrading to the latest kernel 2.6.19-1 
>> fixed that. Since then I have verified that both web and ftp servers are 
>> functioning normally. I use apache 2.2.3-5 and vsftpd 2.0.5-8. 
>> Downloading a 90MB file through apache and vsftp takes less than 1.5 
>> minutes on my local LAN (LinkSys WRTGL router).  However, if I mount a 
>> drive in XP and try to copy the same file over samba.. it takes over 
>> 20-25 minutes---weird!  I looked through several online archives and 
>> suggestions.. however none seemed to work.  So I decided to ask for help 
>> here.. Please help!
>>
>>
>> Here are some details:
>>
>> Samba Server:
>>    Platform: Fedora Core 6 - kernel 2.6.19-1.2895.fc6
>>    Hardware: Asus P5B motherboard with on-board Realtek RTL8111/8168B 
>> gigabit ethernet controller
>> Samba Client:
>>    Windows XP Pro (SP2)
>> Router:
>>    LinkSys WRTGL
>>
>> Note: FC6 kernel 2.6.19-x uses r8169 kernel modules for this realtek 
>> ethernet controller..
>>
>> Samba config:
>> [global]
>>   netbios name = JUPITER
>>   workgroup = HOME.NET
>>   server string = Linux Samba Server
>>   security = share
>>   encrypt passwords = yes
>>   smb passwd file = /etc/samba/smbpasswd
>>   hosts allow = 192.168.1. 127.
>>   guest account = samba
>>   log file = /var/log/samba/%m.log
>>   max log size = 50
>>   interfaces = 192.168.1.1/255.255.255.0
>>   local master = yes
>>   dns proxy = no
>>
>>   # disable printing
>>   load printers = no
>>   printing = bsd
>>   printcap name = /dev/null
>>   disable spoolss = yes
>>
>> [scratch]
>>   comment = Scratch Directory
>>   path = /opt/scratch
>>   read only = no
>>   public = yes
>>   writable = yes
>>   guest ok = yes
>>   group = samba
>>   create mask = 0664
>>   directory mask = 0775
>>   ##write list = @root
>>
>> [web]
>>   comment = Web Root
>>   path = /var/www/html
>>   read only = no
>>   ##public = yes
>>   writable = yes
>>   group = samba
>>   create mask = 0664
>>   directory mask = 0775
>>   ##guest ok = yes
>>
>>
>> ethtool info:
>> Settings for eth0:
>>        Supported ports: [ TP ]
>>        Supported link modes:   10baseT/Half 10baseT/Full
>>                                100baseT/Half 100baseT/Full
>>                                1000baseT/Full
>>        Supports auto-negotiation: Yes
>>        Advertised link modes:  10baseT/Half 10baseT/Full
>>                                100baseT/Half 100baseT/Full
>>                                1000baseT/Full
>>        Advertised auto-negotiation: Yes
>>        Speed: 100Mb/s
>>        Duplex: Full
>>        Port: Twisted Pair
>>        PHYAD: 0
>>        Transceiver: internal
>>        Auto-negotiation: on
>>        Supports Wake-on: pumbg
>>        Wake-on: g
>>        Current message level: 0x00000033 (51)
>>        Link detected: yes
>>
>>
>>
>>
>>
> 

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


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




More information about the samba mailing list