From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 21:49:36 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D15416A4CE; Thu, 3 Feb 2005 21:49:36 +0000 (GMT) Received: from mx3.imp.ch (mx3.imp.ch [157.161.9.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF95B43D31; Thu, 3 Feb 2005 21:49:34 +0000 (GMT) (envelope-from mb@imp.ch) Received: from mx3.imp.ch (localhost [127.0.0.1]) by mx3.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id j13LnTQT048062; Thu, 3 Feb 2005 22:49:29 +0100 (CET) (envelope-from mb@imp.ch) Received: (from clamav@localhost) by mx3.imp.ch (8.12.11/8.12.11/Submit) id j13LnRiW048045; Thu, 3 Feb 2005 22:49:27 +0100 (CET) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) id j13LnOS7045062; Thu, 03 Feb 2005 22:49:27 +0100 (CET) Date: Thu, 3 Feb 2005 22:49:24 +0100 (CET) From: Martin Blapp To: Chris Lightfoot In-Reply-To: Message-ID: <20050203224809.K55976@cvs.imp.ch> References: <20050203123816.A55976@cvs.imp.ch> <20050203085004.G21031@sotec.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: getline() very very slow on localhost on 5.X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 21:49:36 -0000 Hi, > > Judging by the tcpdump, I'd say tpop3d needs to setockopt(TCP_NODELAY). Yes, this solved the problem. Thanks everbody for the pointers :-) > > yep -- you could try that. In the CVS version the output > is better buffered, so this problem shouldn't arise. I'm currently testing the CVS version and we will use this one for going production. Martin