twoeths

Results 214 comments of twoeths
trafficstars

an interesting talk about sha256 for merkle tree regarding batch hash https://www.youtube.com/watch?v=NfK4np15E64 there are 2 implementations for now: - SIMD which is 2x the current as-sha256 https://github.com/ChainSafe/ssz/issues/356 - [hashtree](https://github.com/ChainSafe/hashtree-js) 20x...

in progress POC to implement batch hash in ssz/lodestar https://hackmd.io/zj9N5RIqQfCqYz8Y1Xc_hA?view

with this branch `te/hashtree_hasher` https://github.com/ChainSafe/lodestar/blob/63d3b6a022527f9ee202cf76aaaa778fadbb8316/packages/cli/src/hashtree.ts#L18 it consumes ~1GB more heap memory in lodestar cc @wemeetagain @matthewkeil update: resolved by not to extract uint32 from Uint32Array which caused the issue

__Note to improve `BeaconState.hashTreeRoot()`__ In order to execute this data structure `HashComputation[][]` from bottom up, validators need to be hashed first because they are presented as structs not tree, and...

the performance of simd implementation really depends on the cpu, below is simd vs digest64 - in CI (ubuntu), simd is just a little bit faster - in my environment...

network thread `gc` time keeps increasing along with heap memory `gc` happens randomly and if it runs right at block proposal time (when network thread need to work hard to...

it looks more like a memory leak with 100 peers in @nflaig node https://github.com/ChainSafe/lodestar/pull/6556#issuecomment-2017692440

link to the heap snapshot https://github.com/ChainSafe/lodestar/pull/6556#issuecomment-2043250725

tracked in this [libp2p issue](https://github.com/libp2p/js-libp2p/issues/2477)

need to try `@libp2p/tcp` v9.0.22 which is a candidate for this issue, see https://github.com/libp2p/js-libp2p/pull/2487 right now I get this error updating it ``` @lodestar/beacon-node: src/network/libp2p/index.ts:76:7 - error TS2322: Type '(components:...