Samba-Tuning

Support knowledgebase (samba_tuning)

Symptom:

Cause:

Well, there are many... As the performance should be increased lets go directly to medias res:

Solution:

  1. Socket Options
    These are either passed to the smbd using the option -O or are set in /etc/smb.conf. Which options may be set or combined differs and has to be figured out by experimenting (it strongly depends on your network). There are hints in man smb.conf and /usr/doc/packages/samba/Speed.txt.
    Be aware that your changes might have an opposite effect!
    One option that enhances performance is TCP_NODELAY.
    $ vi /etc/smb.conf
    
    [Global]
    
    ; workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
    workgroup = SUSE
    ...
    
    socket options = TCP_NODELAY
    
  2. Share Mode Handling
    From version 1.9.17 onwards Samba may be compiled using the FAST_SHARE_MODES option. This enhances database access (e.g. Microsoft Access). The samba package that comes with your S.u.S.E. 5.1 has been compiled using this option. Feedback welcome!

Keywords: SAMBA, TUNING

Categories: Samba

SDB-samba_tuning, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 14. Aug 1997
SuSE Linux AG - Last generated: 09. Jan 2002 by sdb (sdb_gen 1.40.0)