need suggestion to debug CPU 100% #732
Unanswered
calvin2021y
asked this question in
Q&A
Replies: 1 comment
-
I trace it done to raft_start with a lot logs(not snapshot yet), like around 44517 take long time in debug mode (12962ms), not slow in release mode. how can I speed up my command is only 8 byte so I like to set the threshold to 64K or 128K |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I start 3 node raft node with a simple fsm store a count (so total 8 byte snapshot size).
after run some random leadership test, I can not start raft anymore.
I build with debug, and set
LIBRAFT_TRACE=1
, no print from app.I run perf top -g -p pid, get this.
any tips how to debug this case?
Beta Was this translation helpful? Give feedback.
All reactions