Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 10:16:22 -0700 (PDT)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Tony Jago <T.Jago@its.uq.edu.au>
Cc:        Julian Elischer <julian@whistle.com>, freebsd-net@FreeBSD.ORG
Subject:   Re: Very Poor Samba -> Win9x performance [more]
Message-ID:  <Pine.BSF.4.05.9910251014370.12797-100000@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.9910251820510.98311-100000@doughnut.cc.uq.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Oct 1999, Tony Jago wrote:

> 
>  Further to my problem with slow smbclient "put"'s.
> 
>  1. FreeBSD 3.[23] machine -> Win98  slow (9k per second).
>  2. Solaris machine        -> Win98  fast (500+k per second).
>  3. FreeBSD 2.2.7 machine  -> Win98  fast (500+k per second).
> 
>  Just incase I was doing something insane, I installed a brand new
>  3.3-RELEASE machine running the GENERIC kernel, installed samba from the
>  ports and did a smbclient "put" - still very slow performance. This is
>  very repeatable, I have tryed this on 3 different hardware platforms on
>  different networks and different network cards, they all do exactly the
>  same thing.
> 
>  Tweeking with the samba config file makes no difference, this must be
>  something way beyond that. We are talking 9k a second, not much more then
>  a modem out of 100M ethernet cards on switched networks! These machine
>  can ftp at rates closer to 5 megabytes a second and above.
> 
>   smbclient \\\\win98box\\test -N -c "put 1mfile"
> 
>  Could some reading this that has samba installed on a FreeBSD 3.3 machine
>  please try this just so that I know that I am not going insane?

After compiling the port please go into the work/samba*/lib dir,
check the file "util_sock.c", make sure that around a line that looks
like this:

 #endif  /* WITH_SSL */

that below it there are 2 lines:

#undef MSG_WAITALL
#define MSG_WAITALL 0

(and please don't cross-post)

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910251014370.12797-100000>