slow read/writes to Samba share from Win98SE

Jim Priest priest at thecrumb.com
Tue Feb 29 01:34:32 GMT 2000


Recently setup Samba on a RH Linux 6.1 box at home - network is 100bT - and 
printing /browsing works great.

However reading or writing files of any size to the share seems overly 
slow.   For instance a simple 1MB PNG file takes 20-30 seconds to load 
up.  Of my local HD it's instant.

Any ideas what could be causing this? I read through quite a few docs to 
get this working to begin with :)  and didn't see a lot in regards to 
performance tuning...

thanks much!
jim

here is my smb.conf

[global]
     workgroup = HOME
     server string = Home file server
     hosts allow = 192.168.0. 127.
     guest account = pcguest
     null passwords = yes

     log file = /var/log/samba/log.%m
     max log size = 50
     log level = 0
     getwd cache = yes

     lock directory = /var/lock/samba/locks
     locking = yes
     map hidden = yes
     map archive = yes
     map system = yes

     printcap name = /etc/printcap
     load printers = yes

     security = user
     encrypt passwords = yes
     smb passwd file = /etc/smbpasswd

     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions ==============================
[homes]
     comment = Personal Home Directories
     browseable = no
     writable = yes
     guest ok = yes

[fileshare]
     comment = Shared file storage
     path = /share
     browseable = yes
     guest ok = yes
     writable = yes

#=========================== Printer ====================================

[DeskJet]
    comment = HP Desk Jet 540
    printable = yes
    print command = /usr/bin/lpr -r %s
    path = /var/spool/samba
    printer = lp
    printing = BSD
    read only = yes
    guest ok = yes


More information about the samba mailing list