nimbus-eth2/beacon_chain
Jacek Sieka 1f89b7f7b9
speed up trusted node backfill (#3371)
With these changes, we can backfill about 400-500 slots/sec, which means
a full backfill of mainnet takes about 2-3h.

However, the CPU is not saturated - neither in server nor in client
meaning that somewhere, there's an artificial inefficiency in the
communication - 16 parallel downloads *should* saturate the CPU.

One plasible cause would be "too many async event loop iterations" per
block request, which would introduce multiple "sleep-like" delays along
the way.

I can push the speed up to 800 slots/sec by increasing parallel
downloads even further, but going after the root cause of the slowness
would be better.

* avoid some unnecessary block copies
* double parallel requests
2022-02-12 12:09:59 +01:00
..
2022-02-04 12:12:19 +00:00
2021-03-26 07:52:01 +01:00
2021-03-26 07:52:01 +01:00
2021-10-14 14:13:51 +03:00
2022-01-11 11:01:54 +01:00
2022-01-14 13:52:06 +02:00