* HTB vs HFSC, HTB is highly inaccurate
@ 2009-03-08 18:45 Denys Fedoryschenko
2009-03-09 8:07 ` Jarek Poplawski
0 siblings, 1 reply; 3+ messages in thread
From: Denys Fedoryschenko @ 2009-03-08 18:45 UTC (permalink / raw)
To: netdev@vger.kernel.org
Hi again
I test again HTB and HFSC, this time in very simple case.
Regarding HTB - i try without quantum, with different values, without and with
cburst (big and small), with HZ=1000 and default, hysteresis on and off - it
is almost same result.
While i set limit at 57, it can reach 61. HFSC results is perfect.
Here is graph snapshopts.
http://www.nuclearcat.com/netdev/htb-problem.png
You can see points where HTB enabled. Other points if HFSC.
Scripts source is:
HTB http://www.nuclearcat.com/netdev/htb-script.txt
HFSC http://www.nuclearcat.com/netdev/hfsc-script.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HTB vs HFSC, HTB is highly inaccurate
2009-03-08 18:45 HTB vs HFSC, HTB is highly inaccurate Denys Fedoryschenko
@ 2009-03-09 8:07 ` Jarek Poplawski
2009-03-09 8:18 ` Denys Fedoryschenko
0 siblings, 1 reply; 3+ messages in thread
From: Jarek Poplawski @ 2009-03-09 8:07 UTC (permalink / raw)
To: Denys Fedoryschenko; +Cc: netdev
On 08-03-2009 19:45, Denys Fedoryschenko wrote:
> Hi again
>
> I test again HTB and HFSC, this time in very simple case.
>
> Regarding HTB - i try without quantum, with different values, without and with
> cburst (big and small), with HZ=1000 and default, hysteresis on and off - it
> is almost same result.
>
> While i set limit at 57, it can reach 61. HFSC results is perfect.
>
> Here is graph snapshopts.
> http://www.nuclearcat.com/netdev/htb-problem.png
> You can see points where HTB enabled. Other points if HFSC.
Very nice picture, but some tc snapshot stats for qdisc and classes
would be appreciated.
>
> Scripts source is:
>
> HTB http://www.nuclearcat.com/netdev/htb-script.txt
| echo "class add dev eth0.37 parent 1:1 classid 1:2 htb rate 40Mbit ceil 56Mbit burst 16000b cburst 16000b quantum 16000"
| echo "class add dev eth0.37 parent 1:1 classid 1:3 htb rate 26Mbit ceil 56Mbit burst 16000b cburst 16000b quantum 16000"
I guess you should try with rates 40/16 or 30/26 here.
BTW, it doesn't matter here, but for various reasons it's better to
add classes before filters pointing these classes.
> HFSC http://www.nuclearcat.com/netdev/hfsc-script.txt
This link doesn't work for me.
Jarek P.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HTB vs HFSC, HTB is highly inaccurate
2009-03-09 8:07 ` Jarek Poplawski
@ 2009-03-09 8:18 ` Denys Fedoryschenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Fedoryschenko @ 2009-03-09 8:18 UTC (permalink / raw)
To: Jarek Poplawski; +Cc: netdev
On Monday 09 March 2009 10:07:00 Jarek Poplawski wrote:
> I guess you should try with rates 40/16 or 30/26 here.
Seems i was blind. I forgot main HTB rule - always keep sum or childs rate
less than parent. And i should not listen my boss, cause he dont know
arithmetics. (i ask him about decision, how much for what :-D ).
I will try some experiments now.
But at same time HFSC worked fine.
File fixed.
>
> BTW, it doesn't matter here, but for various reasons it's better to
> add classes before filters pointing these classes.
>
> > HFSC http://www.nuclearcat.com/netdev/hfsc-script.txt
>
> This link doesn't work for me.
>
> Jarek P.
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-09 8:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 18:45 HTB vs HFSC, HTB is highly inaccurate Denys Fedoryschenko
2009-03-09 8:07 ` Jarek Poplawski
2009-03-09 8:18 ` Denys Fedoryschenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).