App Install
Measure app installation speed. This scenario has two roles:
minimal: Installs a simple app which implements initialisation callbacks but otherwise doesn't contain a lot of code.large: Installs a larger app that contains some dependencies and some generated data as padding to make the bundle larger.
These are intended to catch a compilation slowdown or issues with copying around large WASMs (e.g. accidental cloning or tracing). In each case, the behaviour will uninstall the app it installed so that it can re-install it on the next iteration.
-
minimal(1 agent)
Warning Memory growing at 1319.47 MB/s
Additional Host Metrics
//efi-boot/nix/storeApp Install
Measure app installation speed. This scenario has two roles:
minimal: Installs a simple app which implements initialisation callbacks but otherwise doesn't contain a lot of code.large: Installs a larger app that contains some dependencies and some generated data as padding to make the bundle larger.
These are intended to catch a compilation slowdown or issues with copying around large WASMs (e.g. accidental cloning or tracing). In each case, the behaviour will uninstall the app it installed so that it can re-install it on the next iteration.
-
large(1 agent)
Warning Memory growing at 368.40 MB/s
Critical Heavy swap usage (99.1% swap used)
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confFirst Call
This scenario installs a simple app which implements the init callback, and measures the time elapsed between start of install and calling init. It will uninstall the app it installed so that it can re-install it on the next iteration. This is required to re-run the initialisation callback.
-
default(1 agent)
init.Warning Memory growing at 253.48 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confLocal Signals
This scenario is for testing the speed and reliability of local signals. It uses a zome with a function that will emit 10,000 signals. The scenario measures how long it takes to send the signals and how many have been received by the time the zome call ends.
-
default(1 agent)
Additional Host Metrics
//efi-boot/nix/storeRemote Call Rate
Test the throughput of remote_call operations. Each agent in this scenario waits for a certain number of peers to be available or for up to two minutes, whichever happens first, before starting its behaviour.
-
default(1 agent)
Warning Memory growing at 376.35 MB/s
Additional Host Metrics
//efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeRemote Signals
This scenario tests the throughput of remote_signals operations.
-
default(1 agent)
Warning Memory growing at 863.16 MB/s
Critical Heavy swap usage (97.9% swap used)
Additional Host Metrics
//efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeSingle-write, many-read
Creates an entry in the agent setup, then read one's own record back. This tests the maximum read performance for reading back local data when the chain is short.
-
default(1 agent)
read call timingread call rateWarning CPU p99 reached 90.3%
Warning Memory growing at 7.95 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confValidation Receipts
Creates an entry, wait for required validation receipts, then repeat. Records the amount of time it took to accumulate the required number of receipts for all DHT operations. This is measured to the nearest 20ms so that we don't keep the agent too busy checking for receipts.
Each agent in this scenario waits for a certain number of peers to be available or for up to two minutes, whichever happens first, before starting its behaviour.
By default, this scenario will wait for a complete set of validation receipts before committing the next record. If the NO_VALIDATION_COMPLETE environment variable is set, it will instead publish new records on every round, building up an ever-growing list of action hashes to check on.
-
default(1 agent)
Warning CPU p99 reached 97.7%
Warning Memory growing at 2926.72 MB/s
Critical Heavy swap usage (30.9% swap used)
Warning 89% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//boot/efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeWrite/get_agent_activity
A scenario where write peers write entries, while get_agent_activity peers each query a single write agent's activity with get_agent_activity.
Before a target write peer and the requesting get_agent_activity peer are in sync, this will measure the get_agent_activity call performance over a network. Once a write peer reaches sync with a get_agent_activity peer, the write peer will publish their actions and entries, and so the get_agent_activity calls will likely have most of the data they need locally. At that point this measures the database query performance and code paths through host functions.
-
get_agent_activity(1 agent) -
write(1 agent)
get_agent_activity_full zome call timingwrite peer's source chain.Warning CPU p99 reached 98.1%
Warning Memory growing at 2879.42 MB/s
Critical Heavy swap usage (99.8% swap used)
Warning 67% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//boot/efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeWrite/Query
Creates an entry, then queries the source chain and performs a simple operation on the entries, then repeats.
-
default(1 agent)
chain_query_count_len zome call that queries the source chain.
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confWrite/Read
Creates an entry and reads it back, then repeats.
-
default(1 agent)
Warning Memory growing at 214.10 MB/s
Warning Moderate swap usage (13.4% swap used)
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confWrite validated
Creates an entry, updates it and links the create to the update, then repeats. Each of the three actions is validated by the included hApp.
-
default(1 agent)
Warning Memory growing at 222.96 MB/s
Critical Heavy swap usage (98.6% swap used)
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confZome Call, Single Value
Calls a zome function that returns a fixed value. This tests the maximum performance of zome calls when the zome function is not calling into Holochain other otherwise doing any work.
-
default(1 agent)
Warning Memory growing at 219.05 MB/s
Additional Host Metrics
//nix/store