R: [Samba] Very Slow!

Brian McGrew brian at visionpro.com
Fri Aug 29 15:45:34 GMT 2008


On 8/29/08 8:33 AM, "Gregory Carter" <gcarter at aesgi.com> wrote:

> Interesting.
> 
> That shouldn't be, must be missing something.
> 
> Do you have anything at your disposal to measure the broadcast rate on
> your ports for your switch?
> 
> I would be curious to know what happens when you engage the SMB protocol
> to the broadcast rates on the port between client and server when you
> transfer the file.
> 
> One more thing.
> 
> Have you recently issue a update for any of the kernel packages and smb
> packages, but have not yet rebooted?
-----

No updates in a long time... It's been slow all along, it's just now we're
moving much, much bigger files, so it's more noticable and more of a
problem.

If you have a piece of software in mind that will measure the broadcast
rate, I will certainly give it a try...  My swtich is a Foundry X448
(48-port GigE); but, the statistics aren't real time.

-brian

System info:
    Red Hat Enterprise Linux Server release 5 (Tikanga)
    Kerlen 2.6.18-8.el5 SMP x86_64
    Samba version 3.0.23c-2
    Eth0 && Eht1 bonded to bond0, 2Gbps.

    /etc/samba/smb.conf attached below...

I¹m seeing very slow transfers from Samba....  I¹m not sure how else to
describe it.  If I try and copy a 4GB DVD image from the server to any
Windows box (XP, 2003, 2008, MacOS) it estimates more than 4 hours to copy.
However, if I FTP to the server from any given client I can move the whole
file in less than 2 minutes...

I¹m not a Samba expert, so anything is helpful at this point!!!

/etc/samba/smb.conf:

[global]
    netbios name = mvppvt125
    realm = MACHINEVISIONPRODUCTS.COM
    security = ads
    preferred master = no
    encrypt passwords = yes
    wins server = 10.0.0.119
    workgroup = MVP
    password server = *
    server string = Dell PowerVault Server
    log level = 3
    log file = /var/log/samba/smbd.log
    max log size = 50
    winbind use default domain = yes
    winbind nested groups = yes
    winbind separator = +
    client ntlmv2 auth = yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    username map = /etc/samba/smbusers
    template shell = /bin/bash

[filevault]
    comment = File Vault
    path = /filevault
    browseable = yes
    writable = yes
    create mode = 0777
    force create mode = 0777
    force directory mode = 0777

[data]
    comment = MVP Data
    path = /data
    browseable = yes
    writable = yes
    create mode = 0777
    force create mode = 0777
    force directory mode = 0777

/etc/krb5.conf

[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = MACHINEVISIONPRODUCTS.COM
 ticket_lifetime = 24000
 dns_lookup_realm = false
 dns_lookup_kdc = false
 default_tkt_enctypes = des-cbc-crc
 default_tgs_enctypes = des-cbc-crc

[realms]
 MACHINEVISIONPRODUCTS.COM = {
  kdc = mvpns122.visionpro.com:88
  kdc = *
  admin_server = mvpns122.visionpro.com:749
  default_domain = machinevisionproducts.com
  kdc = *
 }

[domain_realm]
 .machinevisionproducts.com = MACHINEVISIONPRODUCTS.COM
 machinevisionproducts.com = MACHINEVISIONPRODUCTS.COM

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf
afs_salt = MACHINEVISIONPRODUCTS.COM

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }

-- 





More information about the samba mailing list