title: How to load a different congestion control algorithm in Mac OS X?
body: <p>I found an alternative opensource TCP implementation for Mac OS X <strong>[1]</strong> which use LEDBAT as congestion control, instead of NewReno.</p>
  
  <ul>
  <li>Since I'm not so familiar with that OS, could you please suggest me how to build that source file and load it into the system?</li>
  </ul>
  
  <p>(for instance I was wondering if there is a way to do so as in Linux, for which there are some implementation <strong>[2]</strong> that can be easily built, then plugged as a module into the kernel and loaded runtime:</p>
  
  <pre><code>make; make install
  modprobe tcp_ledbat
  sysctl -w net.ipv4.tcp_congestion_control=ledbat
  </code></pre>
  
  <p>)</p>
  
  <p><strong>[1]</strong> <a href="http://opensource.apple.com/source/xnu/xnu-1699.22.81/bsd/netinet/tcp_ledbat.c" rel="nofollow">http://opensource.apple.com/source/xnu/xnu-1699.22.81/bsd/netinet/tcp_ledbat.c</a></p>
  
  <p><strong>[2]</strong> <a href="http://perso.telecom-paristech.fr/~valenti/pmwiki/pmwiki.php?n=Main.LEDBAT#howtokernel" rel="nofollow">http://perso.telecom-paristech.fr/~valenti/pmwiki/pmwiki.php?n=Main.LEDBAT#howtokernel</a></p>
  
  <p>Thank you</p>