Hello Dev(s)
I have an performance issue with the Windows wallet. At first I thought it was because the wallet needed to sync. But with a fully synced wallet the wallet uses a lot of CPU.
I believe this is because of the staking mechanism.
When staking is enabled the wallet uses a lot of CPU. It doesn't matter how many cores I assign to the VM it always is above 70%.
With staking turned off it behaves like any other coin.
I don't have this problem with other POS or Hybrid coins on Windows and when I'm running the wallet on Ubuntu 14.04.
Is there anything I can do to reduce the CPU usage on Windows with staking turned on?
I have witnessed similar on SPACE and other PoS wallets. It is one of the issues I am looking into to fix in a future release.
I have a wallet running on Windows that was used for mining payouts, the wallet had over 15000 entries in the Receive Address. The wallet was completely unusable because of the Qt wallet was always unresponsive. I managed to get the address down to 3000 entries and it is still most of the time unresponsive, and the cpu usage as much as is available (but appears to be a single thread, so only one cpu is used).
My ideas or fix options are:
- include in the wallet a utility to manage the coinbase entries per address (merge, split, move, etc).
- find the code in the wallet causing the heavy usage (suspect most of it is Qt related).
- switch to Offline PoS (would require Masternodes)
- new form of staking.
Thanks for replying midnight_miner. Is POS on or off on that Windows wallet?
I wonder if the wallet would become responsive if POS is turned off.
I have less than 3000 entries in one wallet and with POS turned on the wallet itself wasn't unresponsive. Sometimes it took a bit longer to go to a specific section (+/- 30 sec.) but never unresponsive, just CPU usage of 70% or above.