Re: Turning off nagle algorithm in 2.2.x and 2.4.x kernels?

Russell King (rmk@arm.linux.org.uk)
Mon, 17 Dec 2001 22:12:29 +0000


On Mon, Dec 17, 2001 at 04:03:15PM -0500, Ahmed, Zameer wrote:
> Hi,
> Is there a way to turn off nagle compression in the kernel for 2.2.x
> and 2.4.x kernels? For the same custom app used under Solaris and Linux.
> Turning off nagle algorithm boosted perf on Solaris, I tried commenting out
>
> #bool 'IP: Disable NAGLE algorithm (normally enabled)' CONFIG_TCP_NAGLE_OF
>
> from the net/ipv4/Config.in 2.2.19 kernel and still the degradation in
> network performance for packts in midsize persists
> I tried the 2.4.16 kernel. This gave me very slight improvement, but not
> quite what is expected.

Erm, commenting out a configure option to turn something off doesn't turn
that item off. It just leaves you without the question (and the feature
remains on).

You want to say 'y' to this option to disable nagle.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/