<br><br><div class="gmail_quote">On Wed, Mar 26, 2008 at 8:48 AM, Les Mikesell &lt;<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>&gt; 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>
&gt;<br>
&gt;&gt; &nbsp;&gt; Module tcp_lp.ko will be autoloaded by kernel. So this setsockopt() call<br>
&gt;&gt; &nbsp;&gt; is ready to be put into yum-updatesd, just after socket creation.<br>
&gt;&gt;</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>
&gt;&gt; A good question then is how do you set congestion level off and not get the<br>
&gt;&gt; kernel module loaded (if its not needed you wouldn&#39;t want it loading just to<br>
&gt;&gt; have it do nothing). &nbsp;Does setting TCP_CONGESTION = 0 result in not loading the<br>
&gt;&gt; module or does it just not limit traffic?<br>
&gt;<br>
&gt; &nbsp; That&#39;s not how it works. TCP has mechanisms for dealing with congested<br>
&gt; links. There is *always* some algorithm present in TCP stack which<br>
&gt; manipulates connection parameters to not overflow links. By default its<br>
&gt; reno (or cubic), but Linux kernel provides several others to *choose*<br>
&gt; from. This isn&#39;t a question of turning limiting ON or OFF.<br>
&gt;<br>
&gt; &nbsp;Anyway, after some more reading I see that TCP Low Priority is<br>
&gt; sender-side algorithm. I don not know if sending ACKs is impacted by<br>
&gt; 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. &nbsp;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&#39;t this *dynamic* rate-limiting be decided by TCP-LP congestion control mechanism to use only idle bandwidth?&nbsp; 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&#39;t make sense. :)<br clear="all"><br>-- <br>Regards,<br>Sunil Ghai