Re: Nagle Algorithm
TCP_NODELAY does it.
Use setsockopt(2)/getsockopt(2) to change the setting, like in
int s = socket(...);
int val = 1;
int len = sizeof(val);
int status = setsockopt( s, IPPROTO_TCP, TCP_NODELAY, &val, &len );
There don't seem to be any /proc/sys/net/ipv4 file available to change
the setting.
I don't know how that translates to MPICH, you possible have to hunt
down socket(2) calls in the source.
Regards,
/Karl
-----------------------------------------------------------------------
Karl Hammar Aspö Data karl@kalle.csb.ki.se
Lilla Aspö 2340 +46 173 140 57 Networks
S-742 94 Östhammar +46 10 270 26 67 Computers
Sweden Consulting
-----------------------------------------------------------------------
From: "A. N. Spyropoulos" <aspyr@orfeas.chemeng.ntua.gr>
Subject: Nagle Algorithm
Date: Wed, 7 Feb 2001 07:43:34 +0200
> Hello to all,
>
> My name is Antony Spyropoulos and I'm new to this list.
> Could you give me instructions how to disable Nagle Algorithm.
> Kernel version: 2.2.17
> Message passing: MPICH 1.1.2
>
> Thank you in advance
Reply to: