Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why higher CPU load on Betaflight 3.2 than older version?
#1
I just put on my BetaflightF3 the latest beta 3.2. But I have 40% CPU and I do not understand why. With 3.1.7 it was 23%. I have 8k/8k, no blackbox active, acc disabled, active airmode antigravity and dynamic filters. The rest of the filters are stock. Has anyone encountered this problem? Thanks in advance
Reply
Login to remove this ad | Register Here
#2
I would guess that the dynamic filtering algoritmh is quite recourse hungry.
if you try deactivating Dynamic filter, I bet the CPU would return to 23%.
I would probably recommend to drop your looptime to 4K to ensure more reliable performance, you don't want CPU load to be higher than 30% at idle.
Reply
#3
40% shouldn't be a big problem for BF 3.2, if it stays under 50% you are good to go, that is what i have read. Also BF is smart enough to shutdown processes that are less important to fly safely if it's running out of proccesor power. Something like blackbox, current sensor or Vbat.
Reply
#4
The higher CPU is indeed because you are using dynamic filtering.

The dynamic filter code is doing some really heavy maths to work out where it should be filtering the noise. This function wasn't available in Betaflight 3.1.7, so what you're seeing is how much extra that function takes.

(12-Oct-2017, 11:00 AM)Dutch Drone Builder Wrote: Also BF is smart enough to shutdown processes that are less important to fly safely if it's running out of proccesor power.

Do you have a link to information about that?
Reply
#5
@Unseen, here is the link:
https://github.com/betaflight/betaflight...by-ede2016
[-] The following 1 user Likes Dutch Drone Builder's post:
  • Carl.Vegas
Reply
#6
So, I was worry about my cpu load @47% using BF3.2 RC5 when disarmed.
4k/4k - Accelerometer/DSHOT300/AirMode/AntiGravity/DynamicFilter
Is that ok?
Reply
#7
You can update to the final version, maybe this will drop a bit and if you are flying acro then you could also disable the ACC to save some cpu load, but you are good to go.
[-] The following 1 user Likes Dutch Drone Builder's post:
  • egvneto
Reply
#8
@Tom, it's recommended to run 4k max with dynamic filter on f3.
Reply
#9
(13-Oct-2017, 10:15 AM)Dutch Drone Builder Wrote: @Unseen, here is the link:
https://github.com/betaflight/betaflight...by-ede2016

Thanks for the link.

Maybe it's a language thing, but "Usually on high CPU usage more less prioritized things will stop working" is NOT the same as "BF is smart enough to shutdown processes that are less important to fly safely if it's running out of proccesor power"

The implication of what you said is that it's OK to run with CPU load too high as Betaflight will intentionally stop running less important tasks.

That's not what I get from BorisB's explanation. What he's saying is that these tasks might stop working because there's not enough time left to run them.

It's not OK to run with CPU load too high.
Reply
#10
I'm sorry about the confussing message, my english language isn't that good, thanks for correcting the information.

Of course you must try to keep de CPU load as low as possible, that was also what i was meaning.
But I think you are still save to go if the CPU load is under 50%
[-] The following 1 user Likes Dutch Drone Builder's post:
  • unseen
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  BetaFlight Connection Issues..... Coleon 16 302 26-Mar-2024, 06:56 AM
Last Post: iFly4rotors
  3D Model angle changing while sitting on bench Betaflight Fpv_Snidde 0 55 25-Mar-2024, 04:17 PM
Last Post: Fpv_Snidde
  Betaflight 4.4.3 on Speedybee F4V4 Ladu 4 131 14-Mar-2024, 04:45 PM
Last Post: Ladu
  Do higher C-rating batteries = lower internal resistance? Eyes.fpv 8 169 09-Feb-2024, 02:50 PM
Last Post: Eyes.fpv
  Betaflight Configurator little yellow tick marks soky157 3 177 23-Jan-2024, 11:25 PM
Last Post: soky157


Login to remove this ad | Register Here