node-real / bsc-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
124 stars 42 forks source link

Disk usage - 4.8 TB and not even fully synced #232

Closed quakemmo closed 11 months ago

quakemmo commented 11 months ago

I've been running the latest release for a few couple weeks now, and it's progressing in its sync:

INFO[10-16|08:10:49.562] [7/15 Execution] Executed blocks         number=21221675 blk/s=32.8 tx/s=2364.4 Mgas/s=375.3 gasState=0.11 batch=144.8MB alloc=8.2GB sys=23.3GB

Right now the .bsc directory takes 4.8 TB of disk. I'm wondering if my 8 TB drive (7.3TB usable space) is going to be enough.

Am I doing something wrong, is there a way to reduce disk usage?

I'm running 1.1.9 Linux AMD64 (binary release downloaded from here).

This is how I started erigon:

./erigon --chain=bsc --p2p.protocol=67 --txpool.disable --maxpeers=30 --log.console.verbosity=3 --metrics --downloader.verify --authrpc.port <stripped> --http.port <stripped> --datadir=/home/<stripped>/.bsc --db.pagesize=16k

Thank you!

blxdyx commented 11 months ago

7TB is ok for me.

quakemmo commented 11 months ago

@blxdyx what is the du -sh output on your bsc blockchain data dir if you don't mind?

blxdyx commented 11 months ago

My bad, need more than 7TB.

image
du5 commented 11 months ago

Recommended for 9T and above