[Beowulf] from the "I don't remember if its possible" file ...

Joe Landman landman at scalableinformatics.com
Fri Mar 22 13:09:54 PDT 2013


On 03/22/2013 01:57 PM, Bernd Schubert wrote:
> On 03/22/2013 06:18 PM, Joe Landman wrote:
>> Hi folks:
>>
>>     We are working on something where we can't necessarily change source
>> code, but would like to alter the default open parameters of network
>> sockets (or a group of network sockets).
>>
>>     Is there any way to do this in general?  Basically, we want to set
>> TCP_NODELAY on a set of applications sockets.  Doesn't have to be in
>> general across the machine, and we could probably do this in a cgroup or
>> similar construct.  I just don't remember if there is an easy way to do
>> this w/o source mods.
>
>
> Hmm, a very quick search if this has been done already (search 
> options: "LD_PRELOAD setsockopt" reveals:
>
> http://bogomips.org/libnodelay.git
>

... and its Bernd for the win :) Thanks, just what the Doctor ordered.  
Solves the problem the way we need.




-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
email: landman at scalableinformatics.com
web  : http://scalableinformatics.com
        http://scalableinformatics.com/siflash
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615




More information about the Beowulf mailing list