sui icon indicating copy to clipboard operation
sui copied to clipboard

[bench] A serial single-thread in-memory execution engine

Open gdanezis opened this issue 2 years ago • 1 comments

This is a test to see how fast we can actually execute transactions in single threaded move, if we remove most of the the systems overhead. To this end this branch opens a DB with existing checkpoints, reads the summaries, contents and transactions serially from the DB (in a blocking way), and executes all transactions sequentially on one thread, using a HashMap as a DB back-end.

The performance we get on my (rather underpowered) Linux laptop is:

$ cargo run --release --bin sui-node -- --config-path fullnode.yaml
Load checkpoint: 102158 TPS: 2937.151248164464
Load checkpoint: 108066 TPS: 2820.7440811724914
Load checkpoint: 113759 TPS: 2926.29423808131
Load checkpoint: 119459 TPS: 3145.5974842767296

gdanezis avatar Feb 21 '23 10:02 gdanezis

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
explorer ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 7:16PM (UTC)
explorer-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 7:16PM (UTC)
frenemies ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 7:16PM (UTC)
wallet-adapter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 7:16PM (UTC)

vercel[bot] avatar Feb 21 '23 10:02 vercel[bot]