near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.31k stars 605 forks source link

Set up a GCP image with initial state for FT benchmark #11630

Closed akashin closed 3 weeks ago

akashin commented 4 weeks ago

This is a follow-up to https://github.com/near/nearcore/issues/11359.

We now know how to generate the initial state but still need to start using it in the benchmarks. Concretely, I think we should follow the steps suggested in https://near.zulipchat.com/#narrow/stream/308695-nearone.2Fprivate/topic/Creating.20GCP.20disk.20image.20with.20initial.20NEAR.20state/near/445814332 for creating a new GCP image and then using this image in the Terraform configuration of CRT benchmark.

akashin commented 3 weeks ago

I finished generating a GCP disk and image with desired state, it is available at crt-benchmark-state-28-06-2024. Some useful stats for when we decide to repeat the state generation:

To use this state, one must use --fixed-contract-names, --num-ft-contracts=1 and --num-passive-users flags.

akashin commented 2 weeks ago

For the future record, here is how the shard size looks like: image