I've been trying to do traffic shaping on one of my public servers and after reading up, it seems like the way to do so is via tc/htb. However, most of the documentation seems at least half a decade old with nothing new recently. Furthermore, trying to get documentation on tc filters turned up a blank. man tc refers to a tc-filters (8) but trying to man that gives a no such page/section error. Googling on this seems to imply that the documentation was never created. The author also seems to have stop updating his blog/company site since 2007 based on the last login date on netherlabs.nl So I'm wondering is tc the current and recommended method for traffic shaping on CentOS or is there some newer method that has superceded it?
On 09/09/10 8:51 PM, Emmanuel Noobadmin wrote:> So I'm wondering is tc the current and recommended method for traffic > shaping on CentOS or is there some newer method that has superceded > it?welcome to the truly absymal state of linux documentation. the TLDP site should be slammed off the net entirely and nuked, 12 year old HOWTO's talking about patches to 2.3.test aren't doing anyone any favors. put a pfsense based router on your network border, and use that to do the shaping :deal:
> I've been trying to do traffic shaping on one of my public servers and > after reading up, it seems like the way to do so is via tc/htb. > However, most of the documentation seems at least half a decade old > with nothing new recently. > > Furthermore, trying to get documentation on tc filters turned up a > blank. man tc refers to a tc-filters (8) but trying to man that gives > a no such page/section error. Googling on this seems to imply that the > documentation was never created. The author also seems to have stop > updating his blog/company site since 2007 based on the last login date > on netherlabs.nl > > So I'm wondering is tc the current and recommended method for traffic > shaping on CentOS or is there some newer method that has superceded > it?Yes, it still work pretty on CentOS. I don't remember what documentation I used when I set up traffic shaping on my server, but there was no problems. So I think you can try to use the documentation that you have found.
On Fri, September 10, 2010 05:51, Emmanuel Noobadmin wrote:> I've been trying to do traffic shaping on one of my public servers and > after reading up, it seems like the way to do so is via tc/htb. > However, most of the documentation seems at least half a decade old > with nothing new recently. > > Furthermore, trying to get documentation on tc filters turned up a > blank. man tc refers to a tc-filters (8) but trying to man that gives > a no such page/section error. Googling on this seems to imply that the > documentation was never created. The author also seems to have stop > updating his blog/company site since 2007 based on the last login date > on netherlabs.nl > > So I'm wondering is tc the current and recommended method for traffic > shaping on CentOS or is there some newer method that has superceded > it? > _______________________________________________I bought this book a long time ago http://www.amazon.com/Policy-Routing-Using-Linux-Professional/dp/0672320525 I have to say it helped me a lot - even if it is quite antiquated. Unfortunately, online / up to date information and documentation for Linux in general is pretty scarce, particularly distribution-centric documentation. The reason for this is that developers tend to hate documentation and Linux itself is a moving target - documentation needs constant updating. I wonder how many people would pay for good documentation?
From: Emmanuel Noobadmin <centos.admin at gmail.com>> So I'm wondering is tc the current and recommended method for traffic > shaping on CentOS or is there some newer method that has superceded > it?Once I tried http://sourceforge.net/projects/cbqinit/ and it made it very easy... JD
Emmanuel Noobadmin wrote:> I've been trying to do traffic shaping on one of my public servers and > after reading up, it seems like the way to do so is via tc/htb. > However, most of the documentation seems at least half a decade old > with nothing new recently. > > Furthermore, trying to get documentation on tc filters turned up a > blank. man tc refers to a tc-filters (8) but trying to man that gives > a no such page/section error. Googling on this seems to imply that the > documentation was never created. The author also seems to have stop > updating his blog/company site since 2007 based on the last login date > on netherlabs.nl > > So I'm wondering is tc the current and recommended method for traffic > shaping on CentOS or is there some newer method that has superceded > it?I use DummyNet[1] for any traffic shaping and bottleneck testing I need. It is distributed as part of the FreeBSD system, although you may need to recompiled the kernel to enable it. Bob McConnell N2SPP [1] <http://info.iet.unipi.it/~luigi/dummynet/>