Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 1999 21:29:43 -0700 (PDT)
From:      Chris Piazza <cpiazza@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/net/samba/patches patch-ah
Message-ID:  <199909240429.VAA94421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sobomax@altavista.net>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909240429.VAA94421>