-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Kubo 0.20.0-dev is eating all my CPU. #9705
Comments
@jvoisin something is putting a huge load on the scheduler that indeed does look like a bug. On the actual usage even tho it's sad 188% cpu usage aint that much. We certainly want to improve this but not wildly out of the ordinary. How many cores do you have ? |
It's running on a AMD Ryzen 7 5700G with 16 cores and 4G of RAM. For reference, Kubo is eating twice as much CPU than a fishtest runner, and 4 times a 10MiB/s tor node . |
v0.18.1 used to take around 5% CPU on average, across 4 cores. v0.19.0 takes 48-51% on average. It's not doing much either, on either of my nodes ~20-50kB/s up/down. Ubuntu 22.04.2 LTS, Intel® Core™ i7-7500U CPU @ 2.70GHz × 4, 16GB |
Btw we know of a bug in the latest libp2p release where it waste lots of CPU. I have no idea what versions you are talking about tho because I would like you to test once |
Classic developer off-by-one error :) |
Tested master @ 3ab1086 and this bug is gone, CPU usage back to normal. I'd consider it fixed for v0.19.1. |
I can confirm that the issue is gone :) |
We discovered an other busyloop which is only using resources while downloading data using |
The profile you sent 404 for me, so I can't check if it is the exact one we fixed. If this is still an issue please reopen this issue. |
Checklist
Installation method
built from source
Version
Config
Description
I'm running the latest git kubo and it's eating a ton of CPU (profile), I don't think this is working as intended, since my node is apparently not doing much if anything at all
The text was updated successfully, but these errors were encountered: