radicle-alpha icon indicating copy to clipboard operation
radicle-alpha copied to clipboard

High CPU consumption

Open kenokenobingo opened this issue 6 years ago • 7 comments

The radicle daemons seems to need a lot of CPU power temporarily, although only running in the background. Maybe you can have a look at the memory and CPU consumption.

OS: macOS Mojave (on MacBook Pro)

kenokenobingo avatar Mar 29 '19 10:03 kenokenobingo

Hi @kenokenobingo , thanks for reporting this, we'll be looking into it soon.

jameshaydon avatar Apr 25 '19 07:04 jameshaydon

Hi @kenokenobingo , are you still experiencing problems with this? I believe the main cause for this may have been fixed in previous PRs.

jameshaydon avatar May 02 '19 09:05 jameshaydon

Thanks for your reply, @jameshaydon! I’ll need to try out because I disabled radicle when it was consuming so much of my CPU capacity.

kenokenobingo avatar May 03 '19 20:05 kenokenobingo

I think it’s much better now, @jameshaydon, thank you very much! But the IPFS daemon is still consuming up to 10 % of my computer’s CPU capacity while running in the background. Do you think you can improve on this?

kenokenobingo avatar May 10 '19 12:05 kenokenobingo

Could you try stopping the radicle daemon, but keep the IPFS daemon running? If it's still high usage, that's likely an issue entirely on the IPFS side.

Newer versions of IPFS supposedly are better - you could try upgrading to e.g. 0.4.20 (if you don't have that already).

jkarni avatar May 10 '19 13:05 jkarni

@jkarni, when I only start ipfs via brew services start radicle-alpha-ipfs, the CPU load is around < 1 %, peaking at around 5 %.

IPFS version: 0.4.20

kenokenobingo avatar May 10 '19 14:05 kenokenobingo

Hm, interesting. CPU usage of ipfs for me is pretty low in both cases, so it'll be a little annoying to pin this down, but I'll give it a shot soon.

Thanks for the prompt replies, and sorry for this annoyance!

jkarni avatar May 10 '19 14:05 jkarni