Re: RE: http bandwidth control

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Give me sometime to understand what u said !
I went into the Howto and started reading all over.
Discovered what imq devices are, and remembered what ESFQ was.
Also went to the http://digriz.org.uk/jdg-qos-script/ ans started
studying it.



You just have to plough through the Howto. Basically though these things classify the *outgoing* data into a couple of queues, then they release the packets at a programmable maximum rate. You can either do the filtering in "tc", or just do it in iptables (more flexible).


The key thing is that its outgoing stuff only, so you either do it on a machine that is routing (cos then the other interface will effectively be your "out" one). Or you use IMQ on the incoming interface, which simulates having something just in front of the normal interface (hence you can attach outgoing filters to it).

The various qdiscs differ in implementation and number of params, but that is the basic idea. HTB is the simplest because you just create a couple of queues and set rates on them - everything else is done in iptables.

My kernel is  2.4.18-14 (RH8) and planing to upgrade to FC1 (not yet
confident with FC2).

How can i know if both IMQ and ESFQ is available in my actual kernel?



Hmm, well the script will error if you haven't. Redhat has a lot of stuff compiled in, but if not then you are going to have a lot of compiling ahead. You need a new kernel, new tc, and each will need patches because neither of these things is mainstream yet.... It's not hard if you have done this before (takes 20 mins), but if you haven't then it's going to need you to set an afternoon aside to learn how to do it (there are dozens of sites on how to compile the kernel)


Good luck

Ed W

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux