From owner-freebsd-hackers Mon Aug 17 03:32:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18145 for freebsd-hackers-outgoing; Mon, 17 Aug 1998 03:32:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18124 for ; Mon, 17 Aug 1998 03:31:58 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id DAA16888; Mon, 17 Aug 1998 03:31:04 -0700 (PDT) Message-Id: <199808171031.DAA16888@implode.root.com> To: Didier Derny cc: hackers@FreeBSD.ORG, support@yard.de Subject: Re: yard/freebsd (network problem) In-reply-to: Your message of "Mon, 17 Aug 1998 10:04:14 +0200." From: David Greenman Reply-To: dg@root.com Date: Mon, 17 Aug 1998 03:31:04 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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