Skip to content

Commit 638ce4e

Browse files
author
Sunny Jiao
committed
update doc
1 parent ba5d6ac commit 638ce4e

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,18 @@ Get the mainnet configuration file: [config.conf](framework/src/main/resources/c
109109

110110
## Hardware Requirements
111111

112-
| Deployment Tier | CPU Cores | Memory | Storage | Network Downstream |
113-
|-----------------|-----------|--------|---------|--------------------|
114-
| FullNode (Minimum) | 8 | 16 GB | 200 GB ([Lite](https://tronprotocol.github.io/documentation-en/using_javatron/litefullnode/#lite-fullnode)) | ≥ 5 MB/s |
112+
| Deployment Tier | CPU Cores | Memory | High-performance SSD Storage | Network Downstream |
113+
|-----------------|-----------|--------|----------------------------------|--------------------|
114+
| FullNode (Minimum) | 8 | 16 GB | 200 GB ([Lite](https://tronprotocol.github.io/documentation-en/using_javatron/litefullnode/#lite-fullnode)) | ≥ 5 MB/s |
115115
| FullNode (Stable) | 8 | 32 GB | 200 GB ([Lite](https://tronprotocol.github.io/documentation-en/using_javatron/litefullnode/#lite-fullnode))<br>3.5 TB (Full Sync) | ≥ 5 MB/s |
116-
| FullNode (Recommended) | 16+ | 32 GB+ | High-performance SSD<br>≥ 4 TB available | ≥ 50 MB/s |
117-
| Super Representative | 32+ | 64 GB+ | High-performance SSD<br>≥ 4 TB available | ≥ 50 MB/s |
116+
| FullNode (Recommended) | 16+ | 32 GB+ | 4 TB | ≥ 50 MB/s |
117+
| Super Representative | 32+ | 64 GB+ | 4 TB | ≥ 50 MB/s |
118118

119119
## Running a full node for mainnet
120120

121121
Full node has full historical data, it is the entry point into the TRON network, it can be used by other processes as a gateway into the TRON network via HTTP and GRPC endpoints. You can interact with the TRON network through full node:transfer assets, deploy contracts, interact with contracts and so on. `-c` parameter specifies a configuration file to run a full node:
122122

123-
### x86_64 JDK 1.8
123+
### x86_64 (JDK 8)
124124
```bash
125125
$ nohup java -Xms9G -Xmx12G -XX:ReservedCodeCacheSize=256m \
126126
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m \
@@ -132,10 +132,7 @@ $ nohup java -Xms9G -Xmx12G -XX:ReservedCodeCacheSize=256m \
132132
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 \
133133
-jar FullNode.jar -c main_net_config.conf >> start.log 2>&1 &
134134
```
135-
The `-Xms9G -Xmx12G` heap configuration is optimized for FullNode deployments on servers equipped with 16 GB RAM and using LevelDB.
136-
For servers with **≥ 32 GB** RAM, it is recommended to increase `-Xmx` to **40 % of total system RAM** for improved GC behavior and throughput.
137-
138-
### ARM64 JDK 17
135+
### ARM64 (JDK 17)
139136
```bash
140137
$ nohup java -Xmx9G -XX:+UseZGC \
141138
-Xlog:gc,gc+heap:file=gc.log:time,tags,level:filecount=10,filesize=100M \
@@ -147,9 +144,10 @@ $ nohup java -Xmx9G -XX:+UseZGC \
147144
-XX:+HeapDumpOnOutOfMemoryError \
148145
-jar FullNode.jar -c main_net_config.conf >> start.log 2>&1 &
149146
```
150-
> **Memory Tuning Note:**
151-
The `-Xmx9G` heap size is optimized for fullnode deployed on servers with 16 GB RAM with ARM64 architecture.
152-
On servers with **≥ 32 GB** RAM, increase `-Xmx` to **12 GB** or **40 % of system RAM** for improved GC behavior and throughput.
147+
148+
> **Memory Tuning**
149+
> - For 16 GB RAM servers: JDK 8 use `-Xms9G -Xmx12G`; JDK 17 use `-Xmx9G`.
150+
> - For servers with ≥32 GB RAM, suggest setting the maximum heap size (`-Xmx`) to 40 % of total RAM.
153151
154152
## Running a super representative node for mainnet
155153

0 commit comments

Comments
 (0)