Background
Java-Tron currently only supports the x86 architecture. Nevertheless, ARM architecture has gained significant traction recently, especially in cloud computing and mobile devices. ARM processors are known for their energy efficiency and cost-effectiveness, making them increasingly popular in data centers, cloud computing, and edge computing scenarios. It would be great to have the option to run Java-Tron on the ARM architecture.
Key developments in ARM architecture:
ARM advantages:
- Better performance per watt, low energy consumption, and low cost
- Lower total cost of ownership for data centers
- Growing ecosystem and software support
Related Issues and PRs
Scope of Impact
- Build and deployment processes
- Core application code
- Third-party dependencies
- Development and testing environments
Current Progress Summary
-
JDK version
-
Native code
-
Third-party dependencies
-
Floating-point arithmetic
-
Build and deployment process
-
only supports RocksDB
-
x86 vs ARM Performance Comparison
| Test Category |
Test Type |
Winner |
Performance Difference |
Notes |
| Database Read |
Random Read |
X86 |
X86 outperforms ARM by ~60% |
Significant advantage in random I/O |
| Database Read |
Sequential Read |
ARM |
ARM outperforms X86 by ~6% |
Better sequential access efficiency |
| Serialization |
Serialization |
ARM |
ARM outperforms X86 by ~170% |
Substantial advantage in data serialization |
| Serialization |
Deserialization |
ARM |
ARM outperforms X86 by ~3% |
Minimal but consistent advantage |
| Transaction |
TRX Transfer |
X86 |
X86 outperforms ARM by ~23.8% |
Better TRX transaction processing |
| Transaction |
USDT Transfer |
Comparable |
No significant difference |
Similar performance on both platforms |
| Signature Verification |
Serial Processing |
X86 |
X86 outperforms ARM by ~14% |
Single-threaded verification advantage |
| Signature Verification |
Parallel Processing |
ARM |
ARM outperforms X86 by ~18% |
Multi-threaded verification advantage |
- Related PRs
Background
Java-Tron currently only supports the x86 architecture. Nevertheless, ARM architecture has gained significant traction recently, especially in cloud computing and mobile devices. ARM processors are known for their energy efficiency and cost-effectiveness, making them increasingly popular in data centers, cloud computing, and edge computing scenarios. It would be great to have the option to run Java-Tron on the ARM architecture.
Key developments in ARM architecture:
ARM advantages:
Related Issues and PRs
Scope of Impact
Current Progress Summary
JDK version
Native code
Third-party dependencies
javax.annotation:1.3.2andjavax.jws:1.1, JEP 320: Remove the Java EE and CORBA ModulesFloating-point arithmetic
java.mathwith the cross-platform consistentjava.strictMathin GreatVoyage-v4.8.0(Kant)Build and deployment process
only supports RocksDB
db archive,db convertcommands are not supported on armx86 vs ARM Performance Comparison