Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field Report for cake-autorate 3.0.1 on D-Link DIR-878 #238

Open
richb-hanover opened this issue Jul 10, 2023 · 6 comments
Open

Field Report for cake-autorate 3.0.1 on D-Link DIR-878 #238

richb-hanover opened this issue Jul 10, 2023 · 6 comments

Comments

@richb-hanover
Copy link
Contributor

richb-hanover commented Jul 10, 2023

Using D-Link DIR-878 with OpenWrt 22.03.5; generating traffic from Rasperry Pi 4b connected via Ethernet. My ISP connection is 75/75 mbps. I used the idle value from top for most measurements because htop doesn't summarize the CPU usage across multiple cores. (Higher "idle" percent is better.)

  • Installation was unremarkable. Installer reported version 3.0.1.

  • I configured to use ifb4wan and wan ports (DL/UL), set my speeds as required

  • I started manually (./cake-autorate.sh).

a) Run out of box; lots of logging; htop shows CPU runs 15-25% when idle; passing traffic goes to 80-85% (I was probably only observing one of the cores, though. Nonetheless, lots of spare CPU.)

b) I turned off logging (output_processing_stats, output_load_stats, output_reflector_stats, debug set to zero; output_cake_changes set to 1). With logging off, cake-autorate & SQM running, top shows idle percent of about 80% with no traffic; 38-45% with speedtest running. htop showed CPU 12-22% (slightly lower) when idle; 60-75% with traffic. (Again, probably only recording one core, but plenty of spare CPU)

c) Turn off cake-autorate (leaving SQM running); top shows 85% idle percent no traffic; ~50% idle with traffic

d) Turn off SQM; top shows 99% idle percent when no traffic; 79% idle with traffic

TL;DR The multi-core DIR-878 has plenty of CPU to handle a 75/75 mbps ISP connection with cake-autorate installed. I have left cake-autorate running as a service.

@rany2
Copy link
Collaborator

rany2 commented Jul 10, 2023

That's great news for a 880Mhz mips mt7621 CPU. Thanks!

@lynxthecat
Copy link
Owner

lynxthecat commented Jul 10, 2023

@richb-hanover many thanks for this report!

@moeller0 wrote about the MT7621A here.

Actually my outdoor 5G router - Zyxel NR7101 has something called the MT7621AT.

Looks like the MT7621AT is a variant of the MT7621A.

@moeller0
Copy link
Contributor

. I used the idle value from top for most measurements because htop doesn't summarize the CPU usage across multiple cores. (Higher "idle" percent is better.)

With htop configure it to show all CPUs and then look at the idle percentsge of the CPU with the highest load (or simply pick the lowest idle number reported), once the cake cpu isfully loaded you reached the limit independent of the load on the other CPUs....

@richb-hanover
Copy link
Contributor Author

With htop configure it to show all CPUs and then look at the idle percentsge of the CPU with the highest load (or simply pick the lowest idle number reported), once the cake cpu isfully loaded you reached the limit independent of the load on the other CPUs....

Cool tip. My htop configuration simply shows (what I believe is) utilization on each of the cores.

  • Is it useful to report the highest of the four?
  • Or is there a better configuration for htop?

Thanks.

image

@moeller0
Copy link
Contributor

Not strictly better, but I typically enable the detailed CPU graph that shows software interrupt processing separately, I also add an additoonal textual display for each CPU. However currently I am travelling without a real computer and can not test how to configure things 'my way' nor create/post a screenshot I think...

@moeller0
Copy link
Contributor

moeller0 commented Jul 10, 2023

Not strictly better, but I typically enable the detailed CPU graph that shows software interrupt processing separately (F2, Display Options , Detailed CPU time), I also add an additonal textual display for each CPU (F2, Meters, -ECANNOTTEST). However currently I am travelling without a real computer and can not test how to configure things 'my way' nor take htop screenshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants