Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Sep 14, 2023
1 parent 205eeda commit 4e16ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/ethconfig/estimate/esitmated_ram.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (r estimatedRamPerWorker) WorkersHalf() int { return cmp.Max(1, r.Worker
func (r estimatedRamPerWorker) WorkersQuarter() int { return cmp.Max(1, r.Workers()/4) }

const (
IndexSnapshot = estimatedRamPerWorker(2 * datasize.GB) //elias-fano index building is single-threaded
IndexSnapshot = estimatedRamPerWorker(3 * datasize.GB) //elias-fano index building is single-threaded
CompressSnapshot = estimatedRamPerWorker(1 * datasize.GB) //1-file-compression is multi-threaded
ReconstituteState = estimatedRamPerWorker(512 * datasize.MB) //state-reconstitution is multi-threaded
)
Expand Down

0 comments on commit 4e16ff9

Please sign in to comment.