From owner-freebsd-net@FreeBSD.ORG Sat Mar 8 22:00:08 2008 Return-Path: Delivered-To: net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075451065671 for ; Sat, 8 Mar 2008 22:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EAB608FC1D for ; Sat, 8 Mar 2008 22:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m28M07g9069831 for ; Sat, 8 Mar 2008 22:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m28M07bZ069830; Sat, 8 Mar 2008 22:00:07 GMT (envelope-from gnats) Date: Sat, 8 Mar 2008 22:00:07 GMT Message-Id: <200803082200.m28M07bZ069830@freefall.freebsd.org> To: net@FreeBSD.org From: Anton Yuzhaninov Cc: Subject: Re: kern/93378: [tcp] Slow data transfer in Postfix and Cyrus IMAP (workaround known) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anton Yuzhaninov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 22:00:08 -0000 The following reply was made to PR kern/93378; it has been noted by GNATS. From: Anton Yuzhaninov To: bug-followup@FreeBSD.org, jollyroger@one.lv Cc: Subject: Re: kern/93378: [tcp] Slow data transfer in Postfix and Cyrus IMAP (workaround known) Date: Sun, 09 Mar 2008 00:43:45 +0300 Probably it is interact between delayed ack and Nagle's algorithm. They shouldn't be used together: http://developers.slashdot.org/comments.pl?sid=174457&cid=14515105 So application which may be affected by this problem should disable Nagle's algorithm for via socket option TCP_NODELAY. As I can see current postfix uses setsockopt TCP_NODELAY so consider to upgrade postfix to 2.4.7 or 2.5.1 first. Postifx 2.2.8 is too old. -- WBR, Anton Yuzhaninov