fr32: Reduce MTTresh from 32M to 512k per core
This results in 64x less bytes allocated when spawning new readers for larger pieces. Results in about 30% speedup in 1G unpad benchmark on AMD TR 2950x
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/filecoin-project/go-state-types/abi"
|
||||
)
|
||||
|
||||
var MTTresh = uint64(32 << 20)
|
||||
var MTTresh = uint64(512 << 10)
|
||||
|
||||
func mtChunkCount(usz abi.PaddedPieceSize) uint64 {
|
||||
threads := (uint64(usz)) / MTTresh
|
||||
|
||||
Reference in New Issue
Block a user