On 10/13/2012 04:45 AM, nuaa_liuben wrote:
here is smb.conf:
[global]
        server string = samba server
        map to guest = Bad Password
        log file = /var/log/samba/log.%m
        max log size = 50
        max protocol = SMB2
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        idmap config * : backend = tdb
        aio read size = 16384
        aio write size = 16384
        use sendfile = Yes
        posix locking = No

hi,

We use this configuration:

[global]
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=131072 SO_RCVBUF=131072
    read raw = yes
    server string = %h
    write raw = yes
    #oplocks = yes
    max xmit = 131072
    dead time = 15
    getwd cache = yes
    use sendfile=yes
    block size = 131072
    load printers = no
    aio write size = 16384
    aio write behind = true
    wins support = no
    local master = no


It works with the best performance we could achive, though I don't remember the exact numbers.
Maybe you can get some tips.

tamas

ps.: Please don't do crossposting.
_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to