Skip to content

bad performance on mainnet eth api pressure test #5305

Closed
@TonyS001

Description

@TonyS001

System information

java-tron version: 4.7.1.1
OS & Version: Linux
Commit hash : d5da6ae
JVM: -Xms8g -Xmx16g -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+PrintGCDateStamps -XX:+CMSParallelRemarkEnabled -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=1g -XX:+HeapDumpOnOutOfMemoryError -XX:NewRatio=2

Actual behaviour

I did a pressure test on mainnet fullnode by constantly sending eth_blockNumber query.
Results show the response time gets higher and higher.
TPS is only 1000/s which is far below expectations.
Many requests failed especially during the second half of the test.

resp
tps
fail

Backtrace

I attach the log file during the test.
I want to know which parameters should I mainly checked in the log.
Looking forward to your reply! Thanks!

test.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions