# BIC TCP Congestion Avoidance Algorithm

**URL:** <https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445>\
**Category:** SLES Configure-Administer\
**Created:** [March 28, 2012, 12:16am UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445 "2012-03-28T00:16:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawnguertin](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@shawnguertin](https://forums.suse.com/u/shawnguertin)\
**Post date:** [March 28, 2012, 12:16am UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445/1 "2012-03-28T00:16:57Z")

</div>

Hi,  
SLES 11 SP2 uses CUBIC TCP Congestion Avoidance Algorithm by default.  
Do you know how to change it to BIC?  
BIC is not available through sysctl, that might mean it has been removed from the latest versions.

This is mandatory for our systems because the servers will be used as speed-test over wireless (LTE) network. It must be immune to packet drop and be more aggressive, your help is very appreciated.  
Thank you

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [March 28, 2012, 12:29am UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445/2 "2012-03-28T00:29:26Z")

</div>

> [@shawnguertin](#):
>
> Hi,  
> SLES 11 SP2 uses CUBIC TCP Congestion Avoidance Algorithm by default.  
> Do you know how to change it to BIC?  
> BIC is not available through sysctl, that might mean it has been  
> removed from the latest versions.
> 
> This is mandatory for our systems because the servers will be used as  
> speed-test over wireless (LTE) network. It must be immune to packet drop  
> and be more aggressive, your help is very appreciated.  
> Thank you

Hi  
I replied to your post in the openSUSE forums about this. As indicated,  
it’s present in SLED11 SP2 x86\_64 default kernel, but not present in  
SLES11 SP2 pae kernel. I’ve asked my SUSE contacts if it’s kernel  
flavor related.

Can you post the output from uname -a and also how much system RAM do  
you have?

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 3.0.13-0.27-default  
up 2 days 3:33, 2 users, load average: 0.01, 0.03, 0.05  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![okir](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@okir](https://forums.suse.com/u/okir)\
**Post date:** [March 28, 2012, 12:35pm UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445/3 "2012-03-28T12:35:47Z")

</div>

Both SLES and SLED provide tcp\_bic in the kernel-extra package, which isn’t officially supported. But certainly you can take it from there and experiment with it.

Do you intend to use tcp\_bic for testing only, or do you plan to go to production eventually?

---

<div class="post-metadata">

**Author:** ![shawnguertin](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@shawnguertin](https://forums.suse.com/u/shawnguertin)\
**Post date:** [March 28, 2012, 8:03pm UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445/4 "2012-03-28T20:03:54Z")

</div>

Thank you, since it is a SLES topic, I will post here.  
Here some basic info:  
Linux external 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86\_64 x86\_64 x86\_64 GNU/Linux  
It has 4GB of RAM but it will change in production.

It is actually for testing SLES, we actually use Red Hat servers and are looking to migrate to SLES. Our speedtest servers on Red Hat were able to let us use BIC. This server is an external test server running SLES, if all options are available in SUSE we will migrate.

---

<div class="post-metadata">

**Author:** ![shawnguertin](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@shawnguertin](https://forums.suse.com/u/shawnguertin)\
**Post date:** [April 17, 2012, 11:36pm UTC](https://forums.suse.com/t/bic-tcp-congestion-avoidance-algorithm/22445/5 "2012-04-17T23:36:34Z")

</div>

Hello everybody,

I am posting here how to use BIC TCP for everybody who finds it on Google.  
Here are the command lines:

`zypper install kernel-source kernel-syms
cd /usr/src/linux/net/ipv4
make -C /usr/src/linux-obj/x86_64/default M=$(pwd)
make -C /usr/src/linux-obj/x86_64/default M=$(pwd) modules_install
depmod
[COLOR="#008000"]#Edit vi /etc/modprobe.d/unsupported-modules and change value 0 for 1[/COLOR]
modprobe tcp_bic
sysctl net.ipv4.tcp_congestion_control=bic
[COLOR="#008000"]#Edit file vi /etc/sysctl.conf to add entry: net.ipv4.tcp_congestion_control = bic
#Reboot and ensure that all is right and that congestion control is set to bic:[/COLOR]
shutdown -r now
sysctl -a | grep congestion`

I hope I will help someone!
