GolosChain / golos

Socio-economic mediablockchain
https://developers.golos.io
Other
59 stars 36 forks source link

Huge traffic to blog_log file during sync #524

Closed t3ran13 closed 6 years ago

t3ran13 commented 6 years ago

It is free RAM(user 47%) and CPU(used 5%) and read data from blog_log (ssd with read 36mb/s) and write only 1mb.

It is looks like blog_log reading have to optimase (using RAM??)

it has huge influence to write/read bloks, skiping of blocks, syncing and using nodes at all.

Make priority for it

t3ran13 commented 6 years ago

2750517ms ntp ntp.cpp:177 read_loop ] ntp_delta_time updated to -749 us

t3ran13 commented 6 years ago

https://github.com/GolosChain/golos/issues/88

t3ran13 commented 6 years ago

https://habrastorage.org/webt/zi/39/yz/zi39yzjikeghcs5enamr4czh5g8.png

реплей забивает чтение с диска постепенно, в то время когда во время синка сразуже упирается в скорость диска. Т.е. блок лог слишком часто читается, в разы чаще shared_memory, что очень странно.

из картинки виден только реплей, чб синк смотреть нужно снуля синкаться, у меня желания нет=)

afalaleev commented 6 years ago

PR #612