influxdata / influxdata/influxdb

Raspberry Pi / CPU frequency remains maxed out after influx TSM compacting job

Open
#21,077 6 comments 0 reactions 0 assignees View on GitHub
1.x area/performance
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

1. every day when InfluxDB compacts the InfluxDB logs the CPU frequency of my Raspberry Pi is at maximum and not returning to lower level until reboot of device

__Expected behavior:__
CPU behaviour should return to normal levels after compacting job.

__Actual behavior:__
Once the TSM compacting job is started around 5am, the utilisation goes up and causing high CPU frequency which remains on highest level

__Environment info:__

* System info: Linux 5.10.17-v7l+ armv7l
* InfluxDB version: InfluxDB v1.8.4 (git: 1.8 bc8ec4384eed25436d31045f974bf39f3310fa3c)
* Other relevant environment details: no docker

Bildschirmfoto 2021-03-26 um 11 02 37

Bildschirmfoto 2021-03-26 um 11 02 15

__Logs:__
Include snippet of errors in log.

Contributor guide

Open the contributing guide

Research direction

Reproduce the scheduled InfluxDB TSM compaction on the stated Raspberry Pi environment and observe CPU utilization and frequency before, during, and after the job. Review the available screenshots and collect the missing log details; done means the CPU frequency returns to normal after compaction without rebooting the device.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, raspberry-pi
Domain
databases, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.