Skip to content

F3/F4 targets have higher CPU usage, likely related to telemetry changes. #2200

@glowtape

Description

@glowtape

Several users have been mentioning higher CPU usage on the F3 targets lately. Most recent reporter Maquiabelo, where it seems to be causing a critical CPU alarm, and also claims to be unable to arm (presumably due to critical CPU). Two quads using a micro F3, running the Omnibus F3 target.

The UAVOs are attached to this issue, but I haven't looked into it yet. spc95.zip

I'm seeing something similar. When I install an older build on my SPRF3e, it idles at 67%, and with next, it's at 80%. With erased settings both times (LQG, FlipOver and Motorgain don't seem to be responsible for the brunt of it).

I'm currently busy identifying a bunch of CPU time sinks, which may or may not happen only with the GCS attached. It seems like two commits are responsible for the bump on my SPRF3e, each worth around 5%:

b0b70c5 telemetry: throttled obj can only be in queue once
5388fe3 uavobjectmanager: improve timer math

The issue with latter one was identified over on IRC, altho it brings the additional CPU from 4-5% down to 1.5-2%, not nearly zero, so there's still a minimal effect on that one.

Former seems unclear.

Maquiabelo has an OSD on his Omnibus. I figure its presence seems to send things over the edge together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions