Reply
New Member
Posts: 13
Registered: ‎12-22-2017
Solutions: 1
Accepted Solution

Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

Hi Guys,

 

I'm very happy with my ER-Lite at home with Smart Queue and get 83% ~ out of my settings.


Having just put in a 480/480 FTTP at work we went for an ER-8.

 

I'm setting up bandwidth on each subnet to share with other offices. Since I want something as simple as possible and would rather have settings in GUI - I went for a Basic Queue, been playing few hours on this, but can't seem to be able to get things right.

 

A few hours later, simplifying things I can see at 150m rate I only get about 90m on speed tests.  ( = 60% !)

 

I also tried playing with Burst Rate with 0 success.

 

I mean ideally, I would have 89 Mbps guaranteed bursting to 92 Mbps for 100mb but this doesn't happen!

I'll post the relevant part of the config, any tip would be great thanks!

 

 advanced-queue {
     filters {
         match 1 {
             attach-to 1023
             ip {
                 source {
                     address 10.10.10.0/24
                 }
             }
             target 1
         }
         match 2 {
             attach-to 1023
             ip {
                 destination {
                     address 10.10.10.0/24
                 }
             }
             target 2
         }
         match 3 {
             attach-to 1023
             ip {
                 source {
                     address 192.168.0.0/24
                 }
             }
             target 3
         }
         match 4 {
             attach-to 1023
             ip {
                 destination {
                     address 192.168.0.0/24
                 }
             }
             target 4
         }
     }
     leaf {
         queue 1 {
             bandwidth 150mbit
             parent 1023
             queue-type UBNT_BQ_FQ_CODEL
         }
         queue 2 {
             bandwidth 150mbit
             parent 1023
             queue-type UBNT_BQ_FQ_CODEL
         }
         queue 3 {
             bandwidth 89mbit
             burst {
                 burst-rate 92mbit
                 burst-size 100mb
             }
             parent 1023
             queue-type UBNT_BQ_FQ_CODEL
         }
         queue 4 {
             bandwidth 89mbit
             burst {
                 burst-rate 92mbit
                 burst-size 100mb
             }
             parent 1023
             queue-type UBNT_BQ_FQ_CODEL
         }
     }
     queue-type {
         fq-codel UBNT_BQ_FQ_CODEL {
         }
     }
     root {
         queue 1023 {
             attach-to global
             bandwidth 1000mbit
             description UBNT-BQ
         }
     }
 }

basicQueue.png


Accepted Solutions
New Member
Posts: 13
Registered: ‎12-22-2017
Solutions: 1

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

Shattered dreams!

Ending up with the -Quick and Dirty- 100 Half duplex solution I found on youtube Smiley Sad

 

I've also tried adding the Smart Queue that is driving the CPU to crazy 90% and won't give me more than 280 Mbps.

 

A bit of a shame spending all this money for hardware that is not capable of handling QoS.

 

 

View solution in original post


All Replies
Veteran Member
Posts: 7,233
Registered: ‎03-24-2016
Kudos: 1862
Solutions: 822

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

You only get 60% of the speed.....because CPU is at 100%

 

QoS disables  offload, and so both routing and  QoS will be CPU based.

New Member
Posts: 13
Registered: ‎12-22-2017
Solutions: 1

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

CPU only seems to go up to 50-60%

is a limiter a wiser choice?
Veteran Member
Posts: 7,233
Registered: ‎03-24-2016
Kudos: 1862
Solutions: 822

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

CPU is only at 50%, because you have 2 cores, and one is doing all the work while the other sits idle.

So CPU average is 50%.

 

As 192.168.0.0/24 up and down speed is close to 100Mb/s , it's tempting to set link speed of that eth port to 100Mb/s.  This limits speed without taking any CPU

 

New Member
Posts: 13
Registered: ‎12-22-2017
Solutions: 1

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

Shattered dreams!

Ending up with the -Quick and Dirty- 100 Half duplex solution I found on youtube Smiley Sad

 

I've also tried adding the Smart Queue that is driving the CPU to crazy 90% and won't give me more than 280 Mbps.

 

A bit of a shame spending all this money for hardware that is not capable of handling QoS.

 

 

Emerging Member
Posts: 42
Registered: ‎03-10-2015
Kudos: 13

Re: Edgerouter ER-8 - FQ_CODEL giving about 60% of Rate - Bandwidth limit

Good QoS based on htb+fq_codel ("Smart Queue") or cake is just quite CPU intensive. Unfortunately you're hitting the CPU limits of the ER-8 at those speeds, and would hit the limits of the faster ER8-Pro too. The ER‑8‑XG might be able to do it with its many 1.8Ghz MIPS cores, but those are far more expensive.

 

If you want to do fq_codel or cake at 480/480 you could use dual core ARM-based routers at 1.6+Ghz or x86 based routers.

 

Reply