Skip to content

[Possible Bug]: CPU Metrics when multiple IO Threads #5310

@PinoOG

Description

@PinoOG

Preconditions (Any important steps we need to know)
in redis.conf

io-threads X (where X != 1)
io-threads-do-reads yes

Steps to reproduce (How to reproduce what you found step by step)
// It depends on the redis node cpu usage (displayed by btop/htop)

Actual behavior (A short description of what you found)
When redis-server cpu usage is more than 100% on btop/htop the value in redis insight only reflects up to 100%

Expected behavior (A short description of what you expected to find)
Detecting when io-threads are enabled and displaying the CPU output in a format which could be like this %/THREAD_AMOUNT*100

Example: 4 threads 250/400%

Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)
// Not really needed

Additional context (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)
os: Linux 6.12.48+deb13-amd64 x86_64
redis-server: 8.2.2
redis-insight: 3.0.0

Metadata

Metadata

Assignees

Labels

status: in progressThe issue has been accepted and is currently in progress.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions