Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 10:58 -0700, Eric Dumazet wrote: > On Wed, 2017-09-13 at 20:35 +0300, Denys Fedoryshchenko wrote: > > > Overlimits never appear in HTB as i know, here is simulation on this > > class that have constant "at least" 1G traffic, i throttled it to 1Kbit > > to simulate forced

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 20:35 +0300, Denys Fedoryshchenko wrote: > Overlimits never appear in HTB as i know, here is simulation on this > class that have constant "at least" 1G traffic, i throttled it to 1Kbit > to simulate forced drops: > > shapernew ~ # sh /etc/shaper.cfg;sleep 1;tc -s -d

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
On 2017-09-13 20:20, Eric Dumazet wrote: On Wed, 2017-09-13 at 20:12 +0300, Denys Fedoryshchenko wrote: For my case, as load increased now, i am hitting same issue (i tried to play with quantum / bursts as well, didnt helped): tc -s -d class show dev eth3.777 classid 1:111;sleep 5;tc -s -d

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 20:12 +0300, Denys Fedoryshchenko wrote: > For my case, as load increased now, i am hitting same issue (i tried to > play with quantum / bursts as well, didnt helped): > > tc -s -d class show dev eth3.777 classid 1:111;sleep 5;tc -s -d class > show dev eth3.777 classid

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
On 2017-09-13 19:55, Eric Dumazet wrote: On Wed, 2017-09-13 at 09:42 -0700, Eric Dumazet wrote: On Wed, 2017-09-13 at 19:27 +0300, Denys Fedoryshchenko wrote: > On 2017-09-13 19:16, Eric Dumazet wrote: > > On Wed, 2017-09-13 at 18:34 +0300, Denys Fedoryshchenko wrote: > >> Well, probably i am

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 09:42 -0700, Eric Dumazet wrote: > On Wed, 2017-09-13 at 19:27 +0300, Denys Fedoryshchenko wrote: > > On 2017-09-13 19:16, Eric Dumazet wrote: > > > On Wed, 2017-09-13 at 18:34 +0300, Denys Fedoryshchenko wrote: > > >> Well, probably i am answering my own question, removing

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 19:27 +0300, Denys Fedoryshchenko wrote: > On 2017-09-13 19:16, Eric Dumazet wrote: > > On Wed, 2017-09-13 at 18:34 +0300, Denys Fedoryshchenko wrote: > >> Well, probably i am answering my own question, removing estimator from > >> classes seems drastically improve situation.

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
On 2017-09-13 19:16, Eric Dumazet wrote: On Wed, 2017-09-13 at 18:34 +0300, Denys Fedoryshchenko wrote: Well, probably i am answering my own question, removing estimator from classes seems drastically improve situation. It seems estimator has some issues that cause shaper to behave incorrectly

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 18:34 +0300, Denys Fedoryshchenko wrote: > Well, probably i am answering my own question, removing estimator from > classes seems drastically improve situation. > It seems estimator has some issues that cause shaper to behave > incorrectly (throttling traffic while it

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
On 2017-09-13 18:51, Eric Dumazet wrote: On Wed, 2017-09-13 at 18:20 +0300, Denys Fedoryshchenko wrote: Hi, I noticed after increasing bandwidth over some amount HTB started to throttle classes it should not throttle. Also estimated rate in htb totally wrong, while byte counters is correct.

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Eric Dumazet
On Wed, 2017-09-13 at 18:20 +0300, Denys Fedoryshchenko wrote: > Hi, > > I noticed after increasing bandwidth over some amount HTB started to > throttle classes it should not throttle. > Also estimated rate in htb totally wrong, while byte counters is > correct. > > Is there any overflow or

Re: HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
Well, probably i am answering my own question, removing estimator from classes seems drastically improve situation. It seems estimator has some issues that cause shaper to behave incorrectly (throttling traffic while it should not). But i guess thats a bug? As i was not able to predict such

HTB going crazy over ~5Gbit/s (4.12.9, but problem present in older kernels as well)

2017-09-13 Thread Denys Fedoryshchenko
Hi, I noticed after increasing bandwidth over some amount HTB started to throttle classes it should not throttle. Also estimated rate in htb totally wrong, while byte counters is correct. Is there any overflow or something? X520 card (but XL710 same) br1 8000.90e2ba86c38c