Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031702AbWLAUmP (ORCPT ); Fri, 1 Dec 2006 15:42:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031765AbWLAUmP (ORCPT ); Fri, 1 Dec 2006 15:42:15 -0500 Received: from iriserv.iradimed.com ([69.44.168.233]:41274 "EHLO iradimed.com") by vger.kernel.org with ESMTP id S1031702AbWLAUmO (ORCPT ); Fri, 1 Dec 2006 15:42:14 -0500 Message-ID: <457093C5.1040501@cfl.rr.com> Date: Fri, 01 Dec 2006 15:42:45 -0500 From: Phillip Susi User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Alan CC: Matt Garman , linux-kernel@vger.kernel.org Subject: Re: What happened to CONFIG_TCP_NAGLE_OFF? References: <456DE85F.50806@cfl.rr.com> <456F34BE.5050303@cfl.rr.com> <20061201000030.1d8ba600@localhost.localdomain> In-Reply-To: <20061201000030.1d8ba600@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Dec 2006 20:42:34.0573 (UTC) FILETIME=[3ADEC7D0:01C71589] X-TM-AS-Product-Ver: SMEX-7.2.0.1122-3.6.1039-14848.000 X-TM-AS-Result: No--8.698300-5.000000-31 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 29 Alan wrote: > No it was general purpose. It fixes some extremely bad behaviour in TCP > with congestion well beyond the "telnet" behaviour. Saying it is general purpose demeans it. Nagle was created specifically to deal with the bad behavior that results from IO patterns like those created by telnet. Obviously other applications can exhibit those same patterns. Those that do not, have no need for nagle, so they can benefit from turning it off. > UDP is rarely appropriate because it has no congestion control. There are > more appropriate protocols but they are rarely implemented so TCP > generally gets used. UDP is highly appropriate because the congestion controls and other features of TCP are not required for this type of data, and in fact, tend to muck things up. That is why the application needs to implement its own congestion, sequencing, retransmit and connect/disconnect controls; because the way TCP handles them is not good for this application. People often use TCP because it is easier, but not optimal. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/