Hello, we are using HTB for dividing 15 Mb/s upload rate to 1022 classes (rate 14 kb/s, ceil 15 Mb/s), but sometimes ksoftirqd_CPU0 uses the most of the CPU-time (over 90% CPU load is casual in such situation). This situation occurs several times a week and takes minutes or one hour and during that time it has enormous packet loss. Reboot of the machine usually solves this problem. Because big differencess between rate -- Jan Ostrochovsky technicky spravca IIKS Areal v Karlovej Vsi Univerzity Komenskeho telefon: +421 2 602 99 251
Hello, we are using HTB on the router for dividing 15 Mb/s upload rate to 1022 classes (rate 14 kb/s, ceil 15 Mb/s), but sometimes ksoftirqd_CPU0 uses the most of the CPU-time (over 90% CPU load is casual in such situation). This situation occurs several times a week and takes minutes or one hour and during that time it has enormous packet loss. Reboot of the machine usually solves this problem. Because big differencess between rates of the rate classes (from Mbits of upper classes to kbits of lower classes of one of the upper classes), I can''t find optimal r2q value - I always find in /var/log/messages, that quantum is too big (for r2q = 1) or too small (default r2q = 10), but I am not sure, if this is related to the bad behaviour of ksoftirqd_CPU0 process. Has somebody similar experiences or some tips for us? What shaper do you suggest for us for such case? Is HTB suitable for this case? Or can somebody provide another solution how to effectively and fairly divide bandwith between users. SFQ is not quite good, because it divides between connections, not between addresses, if I am right. ESFQ could be solution, but we will need not only fairness, but also possibility to regulate particular user speeds to different values (dependent on transferred data), so I afraid, that ESFQ won''t be final solution for us. Thanks in advance for any comments. -- Jan Ostrochovsky technicky spravca IIKS Areal v Karlovej Vsi Univerzity Komenskeho telefon: +421 2 602 99 251
On Sun, Apr 10, 2005 at 09:30:56PM +0200, Jan Ostrochovsky wrote:> Hello,hi> Or can somebody provide another solution how to effectively and fairly > divide bandwith between users.[advertisement] Check out my distribution "Route Hat". It is optimised for situations like this. My latest deployment is a net with ~1500 computers sharing a 8MBit line, with a barely noticeable load on a PIII/800/256. Sounds almost like a holy grail of bandwidth management :-). For bandwidth management it uses a combination of htb, imq, wrr and esfq. The tc script is of course usable separately, supposing you manage to patch kernel and iproute :-). Apart from tc Route Hat has tons of other cool features, and in general is optimised for performance, automating typical tasks and solving typical problems. It is also 100% open source. Unfortunately the documentation is not very extensive yet and some parts are still in German, but as you can see in the "Install Nano-Howto": http://docs.routehat.org/doku.php?id=rh:howto it is very easy to setup. If you need further information, plese post in http://forum.routehat.org . I also speak Slovak. [/advertisement]> Jan Ostrochovsky > technicky spravca IIKSBye, Peter Surda (Shurdeek) <shurdeek@routehat.org>, ICQ 10236103, +436505122023 -- My mind is like a steel trap - rusty and illegal in 37 states.