diff --git a/api/test/deals.go b/api/test/deals.go index 82bf85235..c404492fc 100644 --- a/api/test/deals.go +++ b/api/test/deals.go @@ -42,7 +42,7 @@ func TestDealFlow(t *testing.T, b APIBuilder, blocktime time.Duration) { } time.Sleep(time.Second) - data := make([]byte, 800) + data := make([]byte, 1600) rand.New(rand.NewSource(5)).Read(data) r := bytes.NewReader(data) diff --git a/build/params_debug.go b/build/params_debug.go index ac9efbbe6..943180186 100644 --- a/build/params_debug.go +++ b/build/params_debug.go @@ -10,7 +10,7 @@ func init() { InsecurePoStValidation = true } -var SectorSizes = []abi.SectorSize{1024} +var SectorSizes = []abi.SectorSize{2048} // Seconds const BlockDelay = 6 diff --git a/chain/stmgr/forks_test.go b/chain/stmgr/forks_test.go index 9357e0b8b..99770c01c 100644 --- a/chain/stmgr/forks_test.go +++ b/chain/stmgr/forks_test.go @@ -34,8 +34,8 @@ import ( ) func init() { - build.SectorSizes = []abi.SectorSize{1024} - build.MinimumMinerPower = 1024 + build.SectorSizes = []abi.SectorSize{2048} + build.MinimumMinerPower = 2048 } const testForkHeight = 40 diff --git a/chain/store/store_test.go b/chain/store/store_test.go index 0264cf45a..ebbd3f440 100644 --- a/chain/store/store_test.go +++ b/chain/store/store_test.go @@ -15,8 +15,8 @@ import ( ) func init() { - build.SectorSizes = []abi.SectorSize{1024} - build.MinimumMinerPower = 1024 + build.SectorSizes = []abi.SectorSize{2048} + build.MinimumMinerPower = 2048 } func BenchmarkGetRandomness(b *testing.B) { diff --git a/chain/sync_test.go b/chain/sync_test.go index f1979f4e7..3a0122cf6 100644 --- a/chain/sync_test.go +++ b/chain/sync_test.go @@ -28,8 +28,8 @@ import ( func init() { build.InsecurePoStValidation = true os.Setenv("TRUST_PARAMS", "1") - build.SectorSizes = []abi.SectorSize{1024} - build.MinimumMinerPower = 1024 + build.SectorSizes = []abi.SectorSize{2048} + build.MinimumMinerPower = 2048 } const source = 0 diff --git a/cmd/lotus-bench/main.go b/cmd/lotus-bench/main.go index c7b2733f4..073e40973 100644 --- a/cmd/lotus-bench/main.go +++ b/cmd/lotus-bench/main.go @@ -56,7 +56,7 @@ func main() { log.Info("Starting lotus-bench") - build.SectorSizes = append(build.SectorSizes, 1024) + build.SectorSizes = append(build.SectorSizes, 2048) app := &cli.App{ Name: "lotus-bench", diff --git a/documentation/en/mining-troubleshooting.md b/documentation/en/mining-troubleshooting.md index c3195c9f2..4fa97068b 100644 --- a/documentation/en/mining-troubleshooting.md +++ b/documentation/en/mining-troubleshooting.md @@ -51,7 +51,7 @@ If you suspect that your GPU is not being used, first make sure it is properly c First, to watch GPU utilization run `nvtop` in one terminal, then in a separate terminal, run: ```sh -lotus-bench --sector-size=1024 +lotus-bench --sector-size=2048 ``` This process uses a fair amount of GPU, and generally takes ~4 minutes to complete. If you do not see any activity in nvtop from lotus during the entire process, it is likely something is misconfigured with your GPU. diff --git a/lotuspond/spawn.go b/lotuspond/spawn.go index f3ec830a7..db6b8b51b 100644 --- a/lotuspond/spawn.go +++ b/lotuspond/spawn.go @@ -23,7 +23,7 @@ import ( ) func init() { - build.SectorSizes = []abi.SectorSize{1024} + build.SectorSizes = []abi.SectorSize{2048} } func (api *api) Spawn() (nodeInfo, error) { diff --git a/scripts/init-network.sh b/scripts/init-network.sh index 0d8c0536b..b13c707b4 100755 --- a/scripts/init-network.sh +++ b/scripts/init-network.sh @@ -3,7 +3,7 @@ set -xeo NUM_SECTORS=2 -SECTOR_SIZE=1024 +SECTOR_SIZE=2048 sdt0111=$(mktemp -d)