From owner-cvs-all Thu Sep 23 21:30: 7 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 64F0015D1C; Thu, 23 Sep 1999 21:30:03 -0700 (PDT) (envelope-from cpiazza@FreeBSD.org) Received: (from cpiazza@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA94421; Thu, 23 Sep 1999 21:29:43 -0700 (PDT) (envelope-from cpiazza@FreeBSD.org) Message-Id: <199909240429.VAA94421@freefall.freebsd.org> From: Chris Piazza Date: Thu, 23 Sep 1999 21:29:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/samba/patches patch-ah Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk cpiazza 1999/09/23 21:29:43 PDT Added files: net/samba/patches patch-ah Log: Add a patch to fix a problem with very low write speeds with samba on freebsd. Following is description made by one of the Samba developers: "The problem is we switched to using recv() with the MSG_WAITALL flag instead of read(). This makes Samba faster on most systems. On FreeBSD it causes a massive slowdown and I don't know why. To fix it, change the definition of MSG_WAITALL to be zero in lib/util_sock.c and recompile 2.0.5a. I'm hoping someone from FreeBSD will get back to me with some explanation. Regards, Jeremy Allison, Samba Team." This problem where observed by almost all samba-2.0.5a users and typically it led to 10-20x decrease in write speed. PR: 13894 Submitted by: Maxim Sobolev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message