Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

After upgraded to 1.11.8, new bottleneck appears #9255

@Caoxuyang

Description

@Caoxuyang

I'm running:

  • Which Parity version?: 1.11.8 (1.11.5 before that)
  • Which operating system?: Linux
  • How installed?: from source
  • Are you fully synchronized?: no
  • Which network are you connected to?: private chain
  • Did you try to restart the node?: yes

I developed a benchmark tools to test TPS performance on Parity private chain.
Before I upgrade to 1.11.8, I was using 1.11.5. And my benchmark tests went our fine.
Tps can go above 3000.

My test goes like this:

I usually start 20 processes and send totallly 200000 signed txs to the network and calculate TPS from the blocks. The network consists of one transaction node to receive RPC requests and two mining nodes.
All the nodes are running in separate VMs.
My gasLimit is big enough for more than 50000 transactions to be mined in a single block.

But in 1.11.8, I run the exactly same test mentioned above.
Tps is limited by the mining-node. (tx-node has the same behavior, cpu, memory, throughput ...)

In each block, at most 4096 txs are mined. (One transaction uses 21000 gas.)
And I will paste my configure parameters for parity:

--gasprice 0 --tx-queue-size 400000 --tx-queue-per-sender=25000 --jsonrpc-threads=8 --jsonrpc-server-threads=8
And my gasLimit is big enough, well, my previous tests proved that.

I looked through all the releases from 1.11.5 to 1.11.8, but I didn't get any idea.
Any help will be great, thanks in advance.

Metadata

Metadata

Assignees

Labels

F3-annoyance 💩The client behaves within expectations, however this “expected behaviour” itself is at issue.M4-core ⛓Core client code / Rust.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions