Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

slow connection

Status
Not open for further replies.

lorel

MIS
Jun 15, 2004
158
I have an SCO UNIX 5.0.7 runing Samba 2.2 with several share directories. Some of those directories are holding Windows programs to be run out of the share. I have notice that the more people log into these programs the slower the display of records get.
I have Samba set up as security = share because I do not want for Samba to ask for a login and password.
Has anyone notice a performace problem with a setup similar to my?

Thanks

Joe
 
You may add the following in the global section of your smb.conf file:
oplocks = yes
level2 oplocks = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
PHV:
The first two lines are not in my global section so I will add them, however, there is a line for socket options that reads as follows:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
Should I replace the line I have with you version or should I add it to the line?

Thanks
Joe
 
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I've also noticed that Samba is slower with numerous connections when started from inetd.
I've changed to rc startup on AIX server.
The above socket options also help.
I've also used
read raw = no
write raw = no


"If you always do what you've always done, you will always be where you've always been."
 
I have added the changes rzs0502 and PHV recomended but I only saw a small improvement, while reading my Samba books (all three of them)I found a setting called use sendfile, which, according to the book, could result in "significant performance improvements".
This setting requires for Samba to have been configure at the time of compiling with the --with-sendfile-support option.
This means I may have to download the source and recompiled in order to add this option. Do you think this will help?
Thanks very much for your answers
Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top