<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/13/2012 04:45 AM, nuaa_liuben
wrote:<br>
</div>
<blockquote cite="mid:2012101310454462536969@sina.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: &#23435;&#20307;; COLOR: #000000; FONT-SIZE: 10.5pt
}
</style>
<meta name="GENERATOR" content="MSHTML 8.00.6001.19328">
<div>here is smb.conf:</div>
<div>[global]<br>
server string = samba server<br>
map to guest = Bad Password<br>
log file = /var/log/samba/log.%m<br>
max log size = 50<br>
max protocol = SMB2<br>
socket options = TCP_NODELAY IPTOS_LOWDELAY<br>
idmap config * : backend = tdb<br>
aio read size = 16384<br>
aio write size = 16384<br>
use sendfile = Yes<br>
posix locking = No</div>
</blockquote>
<br>
hi,<br>
<br>
We use this configuration:<br>
<br>
[global]<br>
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=131072
SO_RCVBUF=131072<br>
read raw = yes<br>
server string = %h<br>
write raw = yes<br>
#oplocks = yes<br>
max xmit = 131072<br>
dead time = 15<br>
getwd cache = yes<br>
use sendfile=yes<br>
block size = 131072<br>
load printers = no<br>
aio write size = 16384<br>
aio write behind = true<br>
wins support = no<br>
local master = no<br>
<br>
<br>
It works with the best performance we could achive, though I don't
remember the exact numbers.<br>
Maybe you can get some tips.<br>
<br>
tamas<br>
<br>
ps.: Please don't do crossposting.<br>
</body>
</html>