Skip to content

CAN bus monitor lags and consumes excessive CPU resources when recording frames #35

@jensenr30

Description

@jensenr30

In the CAN bus monitor window, when I press the "record" button, as CAN frames build up in the log, the performance of the app gradually declines. Refresh rates gradually slow to less than 1 screen refresh per second. CPU usage increases to 100% of a single CPU core. When the CAN bus monitor is not recording, the CPU usage drops to less than 10%.

Linux 6.2.5-060205-generic #202303110831 SMP PREEMPT_DYNAMIC Sat Mar 11 13:57:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 23, i5-13600k, 32 GB DDR4 @ 3200 MT/s

If I find some free time one of these weekends, I would like to try contributing to this project by investigating these performance issues. Which sources files should I look at to improve CAN bus monitor performance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions