-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Rationale
At present, there is a signature verification process in the transaction verification process. In order to improve the efficiency of signature verification, multiple transactions are currently verified in parallel. The number of CPU cores used in the parallel verification process is set to half of the current CPU core number. From the figure below, this setting is conservative and wastes node performance.
Here is the cpu usege stats and the transaction verification time cost. And it doesn't use too much CPU resource from the image while the average time of signature verification process may be more than 30ms.
System information
cpu:8 cores
memory: 16G
java-tron version: 4.7.2
And here is the cpu usage stats in the last two days, it used no more than 18% of the cpu resource.

Why should this feature exist?
To improve the efficiency of signature verification.
Implementation
Therefore, I propose to use all the cores in signature verification process to leverage the system performance and improve the efficiency of signature verification.
Are you willing to implement this feature?
yes