Messages in this thread | | | Subject | Re: Turning off nagle algorithm in 2.2.x and 2.4.x kernels? | From | Andi Kleen <> | Date | 18 Dec 2001 05:27:49 +0100 |
| |
Zameer.Ahmed@gs.com ("Ahmed, Zameer") writes:
> 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.
Read the tcp(7) manpage. Enabling the TCP_NODELAY socket option disables nagle per socket. The Config option is a noop and hasn't done anything for a long time.
-Andi
- 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/
| |