Skip to content

Commit dda3ed2

Browse files
author
Sunny Jiao
committed
fix(doc): update x86 java start params
1 parent 30f6fee commit dda3ed2

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

README.md

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

110110
## Hardware Requirements
111111

112-
Minimum:
113-
114-
- CPU with 8 cores
115-
- 16GB RAM
116-
- 3TB free storage space to sync the Mainnet
117-
118-
Recommended:
119-
120-
- CPU with 16+ cores(32+ cores for a super representative)
121-
- 32GB+ RAM(64GB+ for a super representative)
122-
- High Performance SSD with at least 4TB free space
123-
- 100+ MB/s download Internet service
112+
| Tier | CPU | RAM | Storage | Network |
113+
|------|-----|-----|---------|---------|
114+
| Minimum | 8 cores | 16 GB | 200 GB (snapshot)<br>3 TB (full sync on Mainnet) | ≥ 5 MB/s download |
115+
| Recommended | 16+ cores<br>32+ cores (Super Representative) | 32 GB+<br>64 GB+ (Super Representative) | High-performance SSD<br>≥ 4 TB free | ≥ 100 MB/s download |
124116

125117
## Running a full node for mainnet
126118

127119
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:
128120

129121
### x86_64 JDK 1.8
130122
```bash
131-
$ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \
123+
$ nohup java -Xms12G -Xmx12G -XX:ReservedCodeCacheSize=256m \
132124
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m \
133125
-XX:MaxDirectMemorySize=1G -XX:+PrintGCDetails \
134126
-XX:+PrintGCDateStamps -Xloggc:gc.log \
135-
-XX:+UseConcMarkSweepGC -XX:NewRatio=2 \
127+
-XX:+UseConcMarkSweepGC -XX:NewRatio=3 \
136128
-XX:+CMSScavengeBeforeRemark -XX:+ParallelRefProcEnabled \
137129
-XX:+HeapDumpOnOutOfMemoryError \
138130
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 \
@@ -168,11 +160,11 @@ then run the following command to start the node:
168160

169161
### x86_64 JDK 1.8
170162
```bash
171-
$ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \
163+
$ nohup java -Xms12G -Xmx12G -XX:ReservedCodeCacheSize=256m \
172164
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m \
173165
-XX:MaxDirectMemorySize=1G -XX:+PrintGCDetails \
174166
-XX:+PrintGCDateStamps -Xloggc:gc.log \
175-
-XX:+UseConcMarkSweepGC -XX:NewRatio=2 \
167+
-XX:+UseConcMarkSweepGC -XX:NewRatio=3 \
176168
-XX:+CMSScavengeBeforeRemark -XX:+ParallelRefProcEnabled \
177169
-XX:+HeapDumpOnOutOfMemoryError \
178170
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 \

0 commit comments

Comments
 (0)