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: [email protected]
web  : http://scalableinformatics.com
        http://scalableinformatics.com/siflash
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

_______________________________________________
Beowulf mailing list, [email protected] sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to