Very heavy load on CPU by DeNode process
Opened this issue · 7 comments
Which node version are you running?
Good afternoon. Thanks for the answer.
Running the latest node version denode-v1.1.0
Got it, thanks. And how many files are currently stored in your node storage?
For now
Network: polygon,
Total checked users: 35
Total checked files: 235
On another node on Server 2019, the same behavior.
On it at the moment
2023-03-31 06:16:22.998: Network: polygon,
2023-03-31 06:16:22.998: Total checked users: 37
2023-03-31 06:16:22.998: Total checked files: 281
With the Linux version, the same problem, but now there are only 4 files on my Linux node, so the load is not big.
There certainly is a load on CPU because in order to receive payment for files that you store you need to send a proof to smart contract. Proof calculations cause a load on CPU because they demand splitting files in pieces and there's a lot of stuff that has to do with hashing and using algorithms. We are constantly working on ways to improve performance and CPU load may lower in future releases but it may also increase because of algorithm changes. To sum up there might be a load on CPU because files are not only stored, but also processed in order to send proof.