comparison content/Linux/fq_codel.md @ 17:cf946b015474

fix syntax errors
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 08 Aug 2013 20:36:03 +0200
parents 61987f1d4bf6
children ef688010ddb5
comparison
equal deleted inserted replaced
16:61987f1d4bf6 17:cf946b015474
4 4
5 ![Eclipse XML preferences](http://www.imagetxt.com/userpics/funnyimage-72529829.png) 5 ![Eclipse XML preferences](http://www.imagetxt.com/userpics/funnyimage-72529829.png)
6 6
7 I've been planning on playing around with Linux' traffic shaping for quite some time now. My linux router machine is directly connected to the DSL modem - no consumer grade router box in the mix (and hence none of the vulnerabilities and security nightmares that have been discovered in those kind of boxen in the recent past). 7 I've been planning on playing around with Linux' traffic shaping for quite some time now. My linux router machine is directly connected to the DSL modem - no consumer grade router box in the mix (and hence none of the vulnerabilities and security nightmares that have been discovered in those kind of boxen in the recent past).
8 8
9 My requirements for traffice shaping are quite simple: I share some open source downloads via bittorrent but don't want the torrent traffic to block regular surfing, Skype voice calls etc. 9 My requirements for traffic shaping are quite simple: I share some open source downloads via bittorrent but I don't want the torrent traffic to block regular surfing, Skype voice calls etc.
10 10
11 Yesterday, my friend [Holger](https://twitter.com/asynchronaut) brought the [Codel](http://www.bufferbloat.net/projects/codel/wiki) packet scheduler to my attention. [Wikipedia](http://en.wikipedia.org/wiki/CoDel) has a good explanation of the Codel algorithm. 11 Yesterday, my friend [Holger](https://twitter.com/asynchronaut) brought the [Codel](http://www.bufferbloat.net/projects/codel/wiki) packet scheduler to my attention. [Wikipedia](http://en.wikipedia.org/wiki/CoDel) has a good explanation of the Codel algorithm.
12 12
13 Since Codel is "no knobs", "just works", all you have to do is to enable CONFIG_NET_SCH_FQ_CODEL in the kernel config and enable codel using 13 Since Codel is "no knobs", "just works" all you have to do is to enable CONFIG_NET_SCH_FQ_CODEL in the kernel config and enable codel using
14 14
15 tc qdisc add dev ppp0 root fq_codel 15 tc qdisc add dev ppp0 root fq_codel
16 16
17 What can I say? I just works. I have turned off throttling on the torrent uploads and did not notice any lag in daily surfing. Skype calls sound like they did before with torrents turned off. 17 What can I say? I just works. I have turned off throttling on the torrent uploads and did not notice any lag in daily surfing. Skype calls sound like they did before with torrents turned off.
18 18