ufo-project / ufochain

a mimblewimble implementation of crypto currency using X17r algorithm.
MIT License
31 stars 11 forks source link

ufo-node high CPU usage #15

Closed korkin25 closed 4 years ago

korkin25 commented 4 years ago

Hi, Devs!:)

Is it ok?

image

the everything works, but the question:)

ufo-project commented 4 years ago

Is it OK now?

korkin25 commented 4 years ago

No, the same. I have running two pools. They both use cpu like above. I need to use good hardware servers. Have you changed something? I havent seen new commit. what should change?

I running nodes like that:

--port=20001 --stratum_port=20002 --treasury_path=treasury.bin --peer mainnet-node01.ufo.link:20015,mainnet-node02.ufo.link:20015,mainnet-node03.ufo.link:20015,160.19.49.116:20015,160.19.49.122:20015,160.19.50.241:20015,160.19.50.228:20015 --stratum_use_tls=0 --mining_threads=6 --miner_key='many_hex_tralala-la' --owner_key='many_hex_tralala-la' --pass='fiat_must_die_tralalala'

:)

ufo-project commented 4 years ago
  1. At first, check your ufo-node to see if the node is still in block syncing. The cpu usage at block syncing is really high.
  2. You can try to stop wallet-api to see the cpu usage of ufo-node would recover or not.

btw, show me your hardware info.

korkin25 commented 4 years ago

lol:) I guessed my stupid mistake:)

ufo-project commented 4 years ago

Oh, maybe i find it.

--mining_threads=6 means ufo-node use 6 threads of cpu to mine plz modify it to --mining_threads=0

korkin25 commented 4 years ago

Thank you! I made really stupid mistake. you right, I have removed already:) I have making up the pool in big stress and wanted to make quicler/quicker and etc. Thank you for your support!

ufo-project commented 4 years ago

It is my pleasure:)