iroha icon indicating copy to clipboard operation
iroha copied to clipboard

[BUG] [performance] Degradation of queue performance

Open timofeevmd opened this issue 1 year ago • 1 comments

OS and Environment

linux, k8s

GIT commit hash

version="2.0.0-pre-rc.22.0" git_commit_sha="a62640d8a"

Minimum working example / Steps to reproduce

Conduct a load test search max throughput with the startup parameters -

scenarion: 5 peers status request turn on log_level:INFO gatling log_level: INFO

./mvnw gatling:test -DtargetURL=https://iroha2.test.tachi.soramitsu.co.jp -DconcurrentUsers=50 -Dtimes=100 -DstageDuration=5 -DrampDuration=10 -DstartingFrom=50 -DmaxDuration=600

for more details ping @timofeevmd

Actual result

Degradation of module, more details on performance report

iroha_core::gossiper::TransactionGossiper::run::{{closure}}: +2.9m +468.15%
iroha_core::queue::Queue::n_random_transactions: +2.9m +605.49%
iroha_core::queue::<impl iroha_core::tx::AcceptedTransaction>::is_in_blockchain: +2.6m +661.38%
iroha_core::state::StateReadOnly::has_transaction: +49.5s +875.11%
iroha_data_model::transaction::SignedTransaction::hash 1.8m +595.32%

Expected result

Increase in throughput, absence of queue performance degradation

Logs

Log contents
Replace this text with a JSON log,
so it doesn't grow too large and has highlighting.

Who can help to reproduce?

@timofeevmd

Notes

No response

timofeevmd avatar Aug 12 '24 13:08 timofeevmd

let's retest this after rc22.2 is released

mversic avatar Aug 21 '24 12:08 mversic

Verified in release version="2.0.0-rc.1" git_commit_sha="f348b9a8"

timofeevmd avatar Mar 21 '25 12:03 timofeevmd