Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
Possibly related to #466
Running Bitcoin Core version v25.99.0-04265ba9378e
When running bitcoin-qt
with an additional network traffic
window open, after some time CPU usage on a single core starts to thrash between 60-100%. The CPU thrashing will (immediately) drop when the network traffic
window is closed.
Expected behaviour
Viewing the network traffic
page should not use 100% CPU or cause thrashing.
Steps to reproduce
steps
- Run
bitcoin-qt
, opennetwork traffic
and wait some time? I think the graph needs to include a wide range of datapoints for this (rendering?) bug to occur (see below screenshots).
actions
I ran perf
for 30 seconds on bitcoin-qt
while CPU was thrashing, but it seemed to only show a lot of time spent in libQT5Gui.so
, which doesn’t seem particularly helpful.
I noticed that the CPU spikes seem to only be present when the graph is well-populated with many variously-valued data points, like this:
However CPU usage drops if there is a large spike in network activity, which causes a low level of datapoint variation (plus one large spike), like this:
Relevant log output
Nothing of interest was present in the logs.
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v25.99.0-04265ba9378e
Operating system and version
Ubuntu 23.04
Machine specifications
OS: Ubuntu 23.04 x86_64 CPU: 11th Gen Intel i7-11700K (16) @ 3.800GHz GPU: NVIDIA GeForce RTX 3060 Ti Memory: 64162MiB HDD: Samsung SSD 990 PRO 2TB MB: Z590 AORUS ELITE AX Kernel: 6.2.0-33-generic Resolution: 3840x2160 WM: i3 Terminal: tmux Shell: fish 3.6.1