<br><br><div class="gmail_quote">On Wed, Mar 26, 2008 at 8:48 AM, Les Mikesell <<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Tomasz Torcz wrote:<br>
><br>
>>  > Module tcp_lp.ko will be autoloaded by kernel. So this setsockopt() call<br>
>>  > is ready to be put into yum-updatesd, just after socket creation.<br>
>></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
>> A good question then is how do you set congestion level off and not get the<br>
>> kernel module loaded (if its not needed you wouldn't want it loading just to<br>
>> have it do nothing).  Does setting TCP_CONGESTION = 0 result in not loading the<br>
>> module or does it just not limit traffic?<br>
><br>
>   That's not how it works. TCP has mechanisms for dealing with congested<br>
> links. There is *always* some algorithm present in TCP stack which<br>
> manipulates connection parameters to not overflow links. By default its<br>
> reno (or cubic), but Linux kernel provides several others to *choose*<br>
> from. This isn't a question of turning limiting ON or OFF.<br>
><br>
>  Anyway, after some more reading I see that TCP Low Priority is<br>
> sender-side algorithm. I don not know if sending ACKs is impacted by<br>
> congestion algorithms, and this is only thing for client to modify</div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
<br>
</div>Yes, yum is mostly receiving.  An application can control receive<br>
bandwidth simply by rate-limiting its reads from the socket, but it will<br>
have no idea what an appropriate rate might be.</blockquote><div><br>Won't this *dynamic* rate-limiting be decided by TCP-LP congestion control mechanism to use only idle bandwidth?  And could someone tell me what problems I might face if I make it to work with yum? </div>
</div><br>Thanks.<br><br>PS: I am really new to this, please forgive me if any question asked doesn't make sense. :)<br clear="all"><br>-- <br>Regards,<br>Sunil Ghai