Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decreased tx propagation capability after v1.8.3(related to process transactions first come, first served) #1525

Closed
mckim19 opened this issue Jul 14, 2022 · 1 comment
Assignees

Comments

@mckim19
Copy link
Contributor

mckim19 commented Jul 14, 2022

Describe the bug
This is not about the bug but klaytn developers should know this situation i think.
I.8.3 tag includes to change processing transactions.
It seems to require more computing power for ordering txs.
So, TPS was lower than previous version of 1.8.3. when I tested the performance of klaytn network that i configured.
Before 1.8.3 update, Klaytn network was stable for 4000 TPS even if a few nodes received all the load.
After updating to 1.8.3, The maximum tps was 2500 in a specific situation where a small number of nodes received all the load.
The test result was attached.

How to reproduce
If use the klaytn-deploy tool, configuring the klaytn network is easier.
The conf.json that contain the detail of network configuration will be attached.

  1. Create Klaytn network with locust master and slave : CN4:PN8 (CN full mesh, PN ring)
  2. Create about eight ENs and connect all of ENs to only two PN(one CC: one CN+two PNs).
  3. Request txs to ENs using the locust.

CN 4, PN 8, EN 8, Locust master 1, Locust slave 4, grafana 1
RPS: 5,000
Users: 500
Hatch Rate: 100
NumAccForSignedTx: 100,000
ActiveAccPercent: 100
SlavesPerNode:5

Expected behavior
If Klaytn version is over 1.8.3, the maximum tps is under 2500.

Attachments

v1.8.0=> 4000tps
image

v1.8.2=> 4000tps
image

v1.8.3=> 2000~2500tps
image

v1.8.4=> 2000~2500tps
image

Configuration File
conf.json.txt

Environment

  • After Klaytn v1.8.3
  • go version go1.18.3 darwin/arm64
  • macOS/12.4
@mckim19 mckim19 self-assigned this Jul 14, 2022
@mckim19 mckim19 changed the title Decreased TPS after v1.8.3(related to process tx FCFS) Decreased TPS after v1.8.3(related to process transactions first come, first served) Jul 14, 2022
@aidan-kwon aidan-kwon changed the title Decreased TPS after v1.8.3(related to process transactions first come, first served) Decreased tx propagation capability after v1.8.3(related to process transactions first come, first served) Jul 15, 2022
@aidan-kwon
Copy link
Member

The block generation capability does not decrease much, but the block propagation capability from a single node decreased. So, the TPS can be recoverable when a network has more PN/EN like Cypress.

Increasing TPS is an ordinary development goal and this issue itself is hard to find a specific solution for the issue since the performance decrement was expected at that time. And, the recent experiment shows better performance than this. So, close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants