question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: CPU load does not trottle back after motion?

See original GitHub issue

Describe the bug CPU load does not throttle back after motion(?)

The load on my CPU after restart of the docker container stays around 2.xx and after detection on one or multiple cameras the load never drops below 3.xx. It does not throttle down(?)

Am I alone with this issue?

Version of frigate 0.7.1-amd64

Config file

web_port: 5000

tensorflow_device: usb

mqtt:
  host: 192.168.1.10
  user: username
  password: password
  topic_prefix: frigate

save_clips:
  max_seconds: 300

objects:
  track:
    - person
  filters:
    person:
      min_area: 25000
      max_area: 100000
      threshold: 0.8
      min_score: 0.5

cameras:
  cam9_uppfart:
    ffmpeg:
      input: rtsp://usr:passwd@192.168.1.38:554/Streaming/Channels/1
      hwaccel_args:
        - -hwaccel
        - vaapi
        - -hwaccel_device
        - /dev/dri/renderD128
        - -hwaccel_output_format
        - yuv420p
    take_frame: 1
    fps: 8
    best_image_timeout: 60
    save_clips:
      enabled: False
      pre_capture: 30
    snapshots:
      show_timestamp: True
      draw_zones: True
      draw_bounding_boxes: True

Computer Hardware

  • OS: Debian
  • Virtualization: No, bare metal
  • Coral Version: USB
  • Network Setup: Wired

Camera Info:

  • Manufacturer: Hikvision
  • Model: DS-2CD2T42WD-I5
  • Resolution: 2688x1520
  • FPS: 8

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeblackshearcommented, Oct 21, 2020

Yes. Masks will help with that. In the future, the motion detection will be configurable too.

0reactions
tubalainencommented, Oct 23, 2020

I made polygon masks for all my cameras and it seems to have made some difference! Thanks for the tip. I will make a PR with updated info on how to make a mask using the tool described in the example config. There´s still quite abstract for some users (including my self) how to get it going 😃. image

Read more comments on GitHub >

github_iconTop Results From Across the Web

CPU Throttling & Thermal Throttling Explained | How To Fix
The real issue arises when a system is thermal throttling. Not only will poor thermals cause CPU throttling, but it can also be...
Read more >
How to CPU throttle Raspberry Pi 4?
One method to try is setting dvfs=2 in /boot/config.txt . See Pi4 frequency management.
Read more >
Troubleshooting High CPU Utilization - Cisco
The CPU utilization history shows when the CPU is consistently receiving network packets, but it does not show the cause. Enter the Cisco...
Read more >
FIX: CPU Not Running at Full Speed in Windows 10.
Method 5. FIX Slow CPU Performance with ThrottleStop. · 1. Open Task Scheduler. · 2. From the 'Actions' menus choose Create Task. ·...
Read more >
How To Reduce CPU Usage in WordPress (Full Checklist)
1. Find high CPU plugins using Query Monitor and WP Hive which are usually plugins that constantly collect data. Either remove them, replace...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found