Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High IOWAIT usage #2181

Closed
Jeglerjeg opened this issue Nov 16, 2023 · 1 comment
Closed

High IOWAIT usage #2181

Jeglerjeg opened this issue Nov 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Jeglerjeg
Copy link

Jeglerjeg commented Nov 16, 2023

Describe the bug
While dragonfly is running, all free CPU time is used as IOWAIT even when idle and with no keys stored

To Reproduce
Steps to reproduce the behavior:

  1. Run dragonflydb
  2. Check CPU usage through a tool like top
  3. See high IOWAIT

Expected behavior
IOWAIT is only consumed when IO operations happen.

Environment (please complete the following information):

 - OS: Debian 12.2
 - Kernel: 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29) aarch64 GNU/Linux
 - Containerized?: Docker
 - Dragonfly Version: 1.12.1
@Jeglerjeg Jeglerjeg added the bug Something isn't working label Nov 16, 2023
@romange
Copy link
Collaborator

romange commented Nov 16, 2023

Seems that it's caused by iouring API treating pending io requets as iowait even for networking. therefore it's a behavior change on kernel side. See axboe/liburing#943 for more info.

@romange romange closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants