[Samba] Slow at loading large folder tree

Στέφανος Ντουρουντάκης dourou at gmail.com
Wed Jan 17 09:24:24 GMT 2007


The thing is, on the same machine, same net same moment, when I load  
the same folder from windows XP (through parallels) it takes like  
10sec while samba 10min!!!
MTU is 1500, set to match 100T devices like router and NAS on the  
LAN. Even on crossover cable it freaks out the same way.
Btw my NAS is a Lacie Ethernet drive with linux based firmware and  
samba. Funny enough I load folders (ie itunes with 600 subfolders)  
from shares on a win2k3 server quite fast.
I wonder if it has to do with buffers or smth...


On 16 Ιαν 2007, at 11:23 ΜΜ, Hoover, Tony wrote:

> Have you checked your networking equipment.  I was having similar  
> results,
> and it turned out that the NIC and switch didn't autonegotiate to  
> the same
> speed/duplex.
>
> After hard-setting both ends, things speed up nicely.
>
>
> ---------------------------------------------------------------------- 
> -----
> Tony Hoover, Network Administrator
> KSU - Salina, College of Technology and Aviation
> (785) 826-2660
>
> "Don't Blend in..."
> ---------------------------------------------------------------------- 
> ------
>
> -----Original Message-----
> From: samba-bounces+hoover=sal.ksu.edu at lists.samba.org
> [mailto:samba-bounces+hoover=sal.ksu.edu at lists.samba.org] On Behalf Of
> dourou at gmail.com
> Sent: Tuesday, January 16, 2007 2:47 PM
> To: samba at lists.samba.org
> Subject: [Samba] Slow at loading large folder tree
>
>> Hi all,
>> I have been trying for some time to fix the following problem.
>>
>> Opening (listing?) from a NAS device a folder with about 000
>> subfolders takes around 5 minutes to load.
>> I have been mingling with smb.conf with poor results.
>> I get about 70K/s transfer rate when loading the folder on Gbit LAN
>> and 802.11g This is my smb.conf file, working on OSX 10.4.
>>
>> [global]
>>   guest account = unknown
>>   getwd cache = no
>>   encrypt passwords = yes
>>   enhanced browsing = no
>>   auth methods = guest opendirectory
>>   passdb backend = opendirectorysam guest
>>   printer admin = @admin, @staff
>>   server string = Stairway
>>   unix charset = UTF-8-MAC
>>   display charset = UTF-8-MAC
>>   dos charset = 437
>>   use spnego = yes
>>   client ntlmv2 auth = no
>>   os level = 8
>>   defer sharing violations = no
>>   vfs objects = darwin_acls
>>   brlm = yes
>>   workgroup = Entec_Lan
>> ; Using the Computer Name to compute the NetBIOS name.  Remove this
>> comment to override
>>   netbios name = Stairway
>>
>> socket options = SO_KEEPALIVE TCP_NODELAY socket options =
>> SO_SNDBUF=8192 socket options = SO_RCVBUF=8192 read raw = no write  
>> raw
>> = no max xmit = 65535
>>
>> wins support = no
>> wins server = 10.62.23.1
>>
>> ;[homes]
>>
>> ;   comment = User Home Directories
>> ;   browseable = no
>> ;   read only = yes
>>
>> [hosts]
>>
>> ;server = 10.0.0.1
>> ;door=10.0.0.2
>> Edmini = 10.62.23.12
>> EntecServer = 10.62.23.1
>>
>> [Downloads]
>> path = Users/dourou/Downloads
>> public = yes
>> browsable = yes
>> writable = yes
>>
>> [entec]
>>
>> path = /Users/dourou/Documents/Entec
>> browsable = yes
>> writable = yes
>>
>> [cruzer dourou]
>> ;   path = /tmp
>> ;   public = yes
>> ;   only guest = yes
>> ;   writable = yes
>> ;   printable = no
>> path = /Volumes/dourou ti
>> public = yes
>>
>> [edmini]
>>
>> path = /Volumes/ED_MINI
>> public = yes
>>
>>
>>
>> Thanx guys
>
> --
> 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