Date: Mon, 17 Aug 1998 03:31:04 -0700 From: David Greenman <dg@root.com> To: Didier Derny <didier@omnix.net> Cc: hackers@FreeBSD.ORG, support@yard.de Subject: Re: yard/freebsd (network problem) Message-ID: <199808171031.DAA16888@implode.root.com> In-Reply-To: Your message of "Mon, 17 Aug 1998 10:04:14 %2B0200." <Pine.BSF.3.96.980817095105.15897F-100000@omnix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>I still have the yard/freebsd problem >every program I written with yard/cli worked >fine on linux but failed on FreeBSD > >On FreeBSD, there is a kind of 1 second delay between >the sql statments. > >the problem is solved but setting net.inet.tcp.ack_delayed=1 You must mean 0, right? ack_delayed=1 is the default. >Yard is using normal read/write to talk to the server. > >Is there any flag to set with setsockopt/fcntl... to >get a fast delivry of small packets ? > >we tried TCP_NODELAY last week but without any result. TCP_NODELAY is the correct sockopt and it does work when done correctly. If it didn't give you the proper behavior, then you may wish to verify that you are doing it on the correct socket and that you are calling setsockopt correctly. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808171031.DAA16888>