Bug 1435 - Performance terrible with Samba 3.0.[34]
Summary: Performance terrible with Samba 3.0.[34]
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade (show other bugs)
Version: 3.0.4
Hardware: x86 Solaris
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 15:45 UTC by Pki Tester
Modified: 2005-02-09 09:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pki Tester 2004-06-06 15:45:21 UTC
Trying to use Samba 3.0.4 on a Solaris 9x86 from Windows XP and 2000 clients.

Solaris machine is 2ghz AMD processor with Intel Pro1000MT card on a gigabit
switch. FTP transfers range around 30MB/s. 

Samba transfers from windows XP, moved approximately 100mb in 20minutes.
Sabma transfers from windows 2000, moved approximately 100mb in 5minutes.

During transfers to Samba on Solaris, the switch shows very little activity. But
 neither the client machine, nor the server are busy doing anything else.

On a lessor configured Linux RH9 box the transfers only take a few seconds.
During these transfers the switch activity lights are near constant.

I've tried builds of 3.0.3 and 3.0.4 with the same result. I have noticed these
errors in the log:
[2004/06/06 16:39:53, 0] lib/util_sock.c:set_socket_options(185)
  Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2004/06/06 16:39:53, 0] lib/util_sock.c:set_socket_options(185)
  Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2004/06/06 16:39:53, 0] lib/util_sock.c:set_socket_options(185)
  Failed to set socket option SO_RCVBUF (Error Invalid argument)
[2004/06/06 16:39:53, 0] lib/util_sock.c:set_socket_options(185)
  Failed to set socket option SO_SNDBUF (Error Invalid argument)
[2004/06/06 16:39:53, 0] lib/util_sock.c:get_peer_addr(978)

I believe these are caused when I canceled the transfers(since they were taking
much too long).
Comment 1 Pki Tester 2004-09-03 21:04:57 UTC
I've tested with 3.0.6, the speed appears to be a little better, but the errors 
in the log continue...

  smbd version 3.0.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/09/03 23:20:41, 0] lib/util_sock.c:set_socket_options(202)
  Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2004/09/03 23:20:41, 0] lib/util_sock.c:set_socket_options(202)
  Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2004/09/03 23:20:41, 0] lib/util_sock.c:set_socket_options(202)
  Failed to set socket option SO_RCVBUF (Error Invalid argument)
[2004/09/03 23:20:41, 0] lib/util_sock.c:set_socket_options(202)
  Failed to set socket option SO_SNDBUF (Error Invalid argument)
[2004/09/03 23:20:41, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-09 09:02:35 UTC
please retest against 3.0.11.  Are you sure that solaris x86 isn't just slow ?