<div dir="ltr">Also, check out the discussion here as to why that may be a bad solution (but one that I use as well):<div><br></div><div><a href="http://kerneltrap.org/mailarchive/linux-netdev/2008/9/8/3233474/thread">http://kerneltrap.org/mailarchive/linux-netdev/2008/9/8/3233474/thread</a><br>
</div><div><br></div><div style>Scott</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 4:09 PM, Joe Landman <span dir="ltr"><<a href="mailto:landman@scalableinformatics.com" target="_blank">landman@scalableinformatics.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/22/2013 01:57 PM, Bernd Schubert wrote:<br>
<div class="im">> On 03/22/2013 06:18 PM, Joe Landman wrote:<br>
>> Hi folks:<br>
>><br>
>>     We are working on something where we can't necessarily change source<br>
>> code, but would like to alter the default open parameters of network<br>
>> sockets (or a group of network sockets).<br>
>><br>
>>     Is there any way to do this in general?  Basically, we want to set<br>
>> TCP_NODELAY on a set of applications sockets.  Doesn't have to be in<br>
>> general across the machine, and we could probably do this in a cgroup or<br>
>> similar construct.  I just don't remember if there is an easy way to do<br>
>> this w/o source mods.<br>
><br>
><br>
</div>> Hmm, a very quick search if this has been done already (search<br>
> options: "LD_PRELOAD setsockopt" reveals:<br>
><br>
> <a href="http://bogomips.org/libnodelay.git" target="_blank">http://bogomips.org/libnodelay.git</a><br>
><br>
<br>
... and its Bernd for the win :) Thanks, just what the Doctor ordered.<br>
Solves the problem the way we need.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
--<br>
Joseph Landman, Ph.D<br>
Founder and CEO<br>
Scalable Informatics, Inc.<br>
email: <a href="mailto:landman@scalableinformatics.com">landman@scalableinformatics.com</a><br>
web  : <a href="http://scalableinformatics.com" target="_blank">http://scalableinformatics.com</a><br>
        <a href="http://scalableinformatics.com/siflash" target="_blank">http://scalableinformatics.com/siflash</a><br>
phone: +1 734 786 8423 x121<br>
fax  : +1 866 888 3112<br>
cell : +1 734 612 4615<br>
<br>
_______________________________________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
</div></div></blockquote></div><br></div>