Re: What happened to CONFIG_TCP_NAGLE_OFF?

From: Phillip Susi
Date: Wed Nov 29 2006 - 15:06:45 EST


Matt Garman wrote:
I would like to globally disable nagling on my (2.6.9) system. There
are several references on the web to the CONFIG_TCP_NAGLE_OFF kernel
config option. However, it appears as though this no longer exists.

How might I achieve having TCP_NODELAY effectively set for all sockets
(by default)? Is there a new/different kernel config option, a patch,
a sysctl or proc setting? Or can I "fake" this behavior by, e.g.
setting a send buffer sufficiently small?

This is a bad idea and breaks api compatibility. Nagle is very important for sockets being used for things like telnet. Other applications, like ftp, should already disable nagle themselves.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/