Lawrence Farr wrote:

> I have installed a couple of FreeBSD machines using 3.3-Release, which have
> Appletalk over IP and samba access to them. On a write to a shared disk, the
> Macs can write at about 9000kb/sec (Measured with Helios LAN test). From a
> P3-500 via samba over switched fast ethernet I get about 100Kb/sec. to the
> same disk.
>
> I have added the usual socket options, and upped the recieve buffer size. On
> a read from the same machine, it is comparable to the Mac.
>
> The same machine running Linux was about equal on both. I have also made
> samba from source, which made no difference.
>
> Any bright ideas?

Try to look into the ports/samba/patches for the patch-ah file (which provided
to resolve such misbehaviour). If that file doesn't exist than either try to
cvsup your ports, or manually add following patch and recompile/reinstall samba:



-----patch.ah. Cut Here------------
--- lib/util_sock.c.orig        Wed Sep 22 10:52:50 1999
+++ lib/util_sock.c     Wed Sep 22 11:30:18 1999
@@ -28,6 +28,9 @@
 extern int  sslFd;
 #endif  /* WITH_SSL */

+#undef MSG_WAITALL
+#define MSG_WAITALL 0
+
 extern int DEBUGLEVEL;

 BOOL passive = False;
-----patch.ah. Cut Here------------

-Maxim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to