[Pc_Support] 3MB/s Samba Performance?

Jason Boxman jasonb at edseek.com
Sat Sep 10 01:26:54 EDT 2005


I can pull 10.5MB/s off the same machine via NFS, so I don't know what the 
deal is.  Messes something awful with trying to burn DVDs off CIFS on Windows 
2000 SP4 though.

After a couple minutes of copying a DVD ISO from the server running Samba, the 
speed slows to about 400KB/s.  The server is mostly idle with no other large 
transfers in progress.  I'm at a loss.

nebula:/etc/apache# uname -a
Linux nebula 2.6.11ac6 #1 SMP Sat Apr 9 14:58:42 EDT 2005 i686 GNU/Linux

# dpkg -l samba
ii  samba            3.0.14a-3

nebula:/etc/apache# mii-tool
eth1: negotiated 100baseTx-FD flow-control, link ok

# Global parameters
[global]

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d
        workgroup = BENEFITS_NET
        netbios name = NEBULA
        server string = Samba on Debian Linux
        interfaces = eth1
        encrypt passwords = true
   passdb backend = smbpasswd guest
        hosts equiv = /etc/hosts.equiv
        passwd program = /usr/bin/passwd %u
        passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n 
*Password\schanged.* .
        passwd chat debug = Yes
        debug level = 0
        socket options = TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        hosts allow = 192.168.0. 192.168.13.

        ; Enable WINS service so I NetBIOS names can be
        ; resolved across subnets
        ; Also enable master status so share lists can
        ; propogate amongst subnets correctly

        wins support = yes
        name resolve order = wins lmhosts hosts bcast
        domain master = yes
        remote announce = 192.168.13.255/BENEFITS_NET

        ; The following three lines will allow the available
        ; printers to be slurped from lpstat.

        printing = CUPS
        printcap name = lpstat
        load printers = yes

[printers]
        comment = All Printers
        path = /tmp
        browseable = no
        public = yes
        writable = no
        printable = yes
        create mode = 0700

        ; The raw option allows printing from Windows using the
        ; driver provided by Epson.
        ; The gs-stp package and a cups-o-matic driver
        ; for the Epson Stylus 740 are used for local printing.

        print command = /usr/bin/lpr -P %p -o raw %s
        lpq command = /usr/bin/lpstat -o %p
        lprm command = /usr/bin/cancel %p-%j
        available = yes

[ps2pdf]
        comment = Basic PostScript to PDF Print Engine
        print ok = yes
        guest ok = yes
        path = /tmp
        print command = /usr/bin/ps2pdf %s; rm %s
        create mask = 0777
        force create mode = 0777

[abyss]
        comment = Storage Abyss
        path = /home/shared
        valid users = xxx
        writeable = Yes
        guest ok = Yes
        volume = Abyss


-- 

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff




More information about the Pc_support mailing list