[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linuxperf] Samba tuning tip





A friend of mine just had a big problem with Samba, which we eventually
solved. The problem was that NT clients did well on a copy in a command
prompt, but were terribly slow when opening the same file in Autocad.

(Compared to serving the file from an NT server).

The solution was well hidden in dejanews and the Samba documentation
somewhere; we had to set
   socket options = SO_SNDBUF=4096 SO_RCVBUF=4096

I've already mailed to Jeremy Allison that the Samba team might put these
options in a more prominent place, and to SuSE for their support database.

You might put that as an entry into file serving info, but please
reword it and don't quote me. In the current debate it wouldn't be
good if the first tuning tip comes from a guy at Intel :)

Also, perhaps eventually the Samba team will come up with a better writeup
and a good explanation what these options really do and how they affect
your clients. (Are these the default buffer sizes, and does Autocad
on NT clients reject the size and so they have to be sent multiple times?)

Claus



-- 
claus.fischer@intel.com   Intel Corporation SC12-205 ... not speaking
phone   +1-408-765-6808   2200 Mission College Blvd.           for Intel
fax     +1-408-765-9322   Santa Clara, CA 95052-8119

-
Linuxperf:    Working list for the Linux Performance tuning site
Archive:      http://mail.nl.linux.org/lists/
Web site:     http://www.nl.linux.org/linuxperf/