Skip to content

Commit

Permalink
Merge #2688
Browse files Browse the repository at this point in the history
2688: Restoration bench: increase heap and remove 0.1%-rnd r=rvl a=Anviking

# Issue Number

ADP-846

# Overview

Let the nightly benchmark finish successfully within the alotted time.

- [x] Increase max heap from 8GB to 16GB
- [x] Replace 0.1% and 0.4% rnd and seq benchmarks with 0.2% to prevent timeout.

# Comments

[![Build status](https://badge.buildkite.com/59ea9363b8526e867005ca8839db47715bc5f661f36e490143.svg?branch=anviking%2FADP-846%2Fmore-heap)](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-846%2Fmore-heap)


Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
  • Loading branch information
iohk-bors[bot] and Anviking committed Jun 6, 2021
2 parents eab85cf + 438c321 commit 128cc3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .buildkite/bench-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bench="./bench-restore/bin/restore $network --node-db $node_db"

echo "--- Run benchmarks - $network"

command time -o $total_time -v $bench +RTS -N2 -qg -A1m -I0 -T -M8G -h -RTS 2>&1 | tee $log
command time -o $total_time -v $bench +RTS -N2 -qg -A1m -I0 -T -M16G -h -RTS 2>&1 | tee $log

grep -v INFO $log | awk '/All results/,EOF { print $0 }' > $results

Expand Down
6 changes: 2 additions & 4 deletions lib/shelley/bench/Restore.hs
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,10 @@ cardanoRestoreBench tr c socketFile = do
, benchRestoreMultipleWallets 100 (unsafeMkPercentage 0.01)

, benchRestoreSeqWithOwnership (Proxy @0)
, benchRestoreSeqWithOwnership (Proxy @1)
, benchRestoreSeqWithOwnership (Proxy @4)
, benchRestoreSeqWithOwnership (Proxy @2)

, benchRestoreRndWithOwnership (Proxy @0)
, benchRestoreRndWithOwnership (Proxy @1)
, benchRestoreRndWithOwnership (Proxy @4)
, benchRestoreRndWithOwnership (Proxy @2)
]
where
walletRnd
Expand Down

0 comments on commit 128cc3f

Please sign in to comment.