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

keeping 100% iowait CPU utilization on kernel 6.5 #2287

Closed
soukichi opened this issue Dec 11, 2023 · 2 comments
Closed

keeping 100% iowait CPU utilization on kernel 6.5 #2287

soukichi opened this issue Dec 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@soukichi
Copy link

soukichi commented Dec 11, 2023

Describe the bug
when running dragonflydb on kernel 6.5, io threads consume all CPU in idle state.
if set proactor_threads=1, it keep 100% iowait utilization on 1 core.

To Reproduce
start dragonfly.service on kernel 6.5

Expected behavior
don't consume cpu cycles in idle state

Screenshots
image

Environment (please complete the following information):

  • OS: [ubuntu 22.04.1] with HWE kernel 6.5
  • Kernel: Linux 6.5.0-14-generic 14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • Containerized?: Bare Metal
  • Dragonfly Version: 1.13.0, 1.3.0

** config

--admin_bind=10.10.10.20
--admin_nopass=true
--admin_port=16379
--compression_mode=2
--conn_io_threads=8
--conn_use_incoming_cpu=true
--dbfilename=dump
--dbnum=1024
--dir=/var/data/dragonfly
--keys_output_limit=9000
--list_compress_depth=2
--log_dir=/var/log/dragonfly
--logtostderr
--maxmemory=100G
--pidfile=/run/dragonfly/dragonfly.pid
--port=0
--primary_port_http_enabled=false
--proactor_threads=0
--save_schedule="18:00"
--unixsocket=/run/dragonfly/dragonfly.sock
--version_check=false
@soukichi soukichi added the bug Something isn't working label Dec 11, 2023
@chakaz
Copy link
Collaborator

chakaz commented Dec 11, 2023

Hi @soukichi
Please see #2270 (comment)

@chakaz
Copy link
Collaborator

chakaz commented Dec 11, 2023

Working as intended :)

@chakaz chakaz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 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