Skip to content

Instantly share code, notes, and snippets.

@jsign
jsign / f.md
Last active October 5, 2023 15:19
2023-10-05 VKT bench

CPU: AMD Ryzen 7 3800XT 8-Core Processor

Client: geth

Random key-values proving in a VKT

##### VKT proof benchmark #####
Setup: **in-memory** tree with 1000000 random key-values...
Link: https://github.com/gballet/go-ethereum/commit/8622bdcfb7238a94bedb68c4e18dd63e7e7e373b
Result:
```
$ go test ./trie/utils -run=TestPedersenHashDistribution -count=1 -v
=== RUN TestPedersenHashDistribution
Generating...
Aggregating...
Bit 0: 8000196 (deviation from expected 0.00%)
##### Raw polynomials multiproof benchmark #####
For 1 polynomials:
Proving:
Proof serialization duration: 0.10ms
Proof creation duration: 51ms
Duration per step:
Generate challenge r and powers : 0.02ms
Calculate t, g(x) and D : 3.50ms
Calculate h(x) and E : 3.37ms
Calculate (h-g)(x) and E-D : 0.00ms
mkdir kaustinen
cd kaustinen
git clone https://github.com/ethpandaops/verkle-testnet.git
git clone https://github.com/gballet/go-ethereum.git
cd go-ethereum
git checkout electra-proof-format
make
cd ..
git clone https://github.com/macladson/lighthouse.git
cd lighthouse
INFO [04-06|12:56:58.348] Maximum peer count ETH=50 LES=0 total=50
INFO [04-06|12:56:58.357] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [04-06|12:56:58.358] Set global gas cap cap=50,000,000
INFO [04-06|12:56:58.359] Allocated cache and file handles database=/data/ef2/.ethereum/geth/chaindata cache=512.00MiB handles=524,288
INFO [04-06|12:56:58.492] Opened ancient database database=/data/ef2/.ethereum/geth/chaindata/ancient/chain readonly=false
INFO [04-06|12:56:58.494] Reading file name=00.bin
INFO [04-06|12:56:58.494] Building tree name=00.bin
INFO [04-06|12:56:58.494] Serializing tree
INFO [04-06|12:56:58.817] Processing file name=00.bin
INFO [04-06|12:56:58.856] Sorting file name=00.bin
#!/bin/bash
### Configs
LOTUS_TAG=v1.2.1
EXTERNAL_DISK_SIZE=1T
GOLANG_TAR=go1.15.5.linux-amd64.tar.gz
IPFS_DOWNLOAD=https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz
SWAP_SIZE=100G
####
#!/bin/bash
### Configs
LOTUS_TAG=v1.2.1
EXTERNAL_DISK_SIZE=1T
GOLANG_TAR=go1.15.5.linux-amd64.tar.gz
IPFS_DOWNLOAD=https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz
SWAP_SIZE=100G
####
@jsign
jsign / miners.json
Last active November 5, 2020 21:10
{
"buckets": [
{
"name": "PL",
"amount": 1,
"minerAddresses": [
"f02665"
]
}
]
Sending Channels
ID Status Sending To Root Cid Initiated? Transferred Voucher
52 TransferFinished ...HP9KdAQV ...p6sib5nm Y 1.116GiB ...d5kaid5p2i2qyqesmjuagbmalrfzstw5u4"}}
75 Failed ...HP9KdAQV ...p6sib5nm Y 0B ...d5kaid5p2i2qyqesmjuagbmalrfzstw5u4"}}
Message: Response Rejected
372 Ongoing ...EBBaQyEk ...nspis5ce Y 3.192GiB ...3lvb3q4l4truybsbinhm36lys6qvp2s6hi"}}
380 Ongoing ...RLfZcNJZ ...6kfkjf3m Y 492.2MiB ...fiaofyndahembx6g3kkbvnmz4df5vvstga"}}
381 Ongoing ...xxpY2EyW ...6kfkjf3m Y 74.65MiB ...2miq76lxharskfnrhivmgskd6hcgv4vruy"}}
382 Ongoing ...xxpY2EyW ...ccenbyuq Y 76.79MiB ...yxqglhy77qgrzxpryh5bcithi56defdm2a"}}
Sending Channels
ID Status Sending To Root Cid Initiated? Transferred Voucher
0 Completed ...RLfZcNJZ ...jyby35hm Y 28.62MiB ...nv4kcsln5yy7rvhnb44vvllsn6zcv2ngqq"}}
1 Completed ...xxpY2EyW ...jyby35hm Y 28.62MiB ...qw56yo6bcop4hgininqfhuqxix7cgc4hqm"}}
2 Completed ...2DHJwfRy ...jyby35hm Y 28.62MiB ...74rbtas4zl5widjvuyaoes7zic3cgowvje"}}
3 Completed ...EBBaQyEk ...jyby35hm Y 28.62MiB ...jol5nvqwdybgs42muvcnnhwbdrpcin4td4"}}
4 Completed ...NNnfVRgR ...jyby35hm Y 28.62MiB ...n6osjncvvzyfqqmyyugsw2vxvjzxgettg4"}}
5 Completed ...RLfZcNJZ ...gvzouvxi Y 11.45MiB ...3afe6jpapvtmgcrphwjeily53gaepzxqh4"}}
6 Completed ...xxpY2EyW ...gvzouvxi Y 11.45MiB ...lw2cyjvlmeasi6iow24pbylioxvj3yuwkm"}}