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 747.06 MB/s
Additional Host Metrics
//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 597.55 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confDHT Sync Lag
Measure lag time between an agent publishing data and other peers being able to see it. This scenario has two roles:
write: A simple job that just creates entries with a timestamp field. Those entries are linked to a known base hash. For each write, the metricws.custom.dht_sync_sent_countis incremented.record_lag: A job that repeatedly queries for links from the known base hash. It keeps track of records that it has seen and when a new record is found, and calculates the time difference between the timestamp of the new record and the current time. That time difference is then recorded as a custom metric calledwt.custom.dht_sync_lag.
After each behaviour loop the metric ws.custom.dht_sync_recv_count is incremented.
-
record_lag(1 agent) -
write(1 agent)
Warning CPU p99 reached 97.1%
Warning Memory growing at 2767.88 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 33% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//boot/efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeFirst 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 240.51 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confFull-Arc Create (Validated) / Zero-Arc Read
A full-arc/zero-arc mixed scenario where full-arc nodes create data that gets validated and zero-arc nodes read the data. The scenario has two roles:
full: A full-arc conductor that creates entries with a timestamp field. Those entries get validated and then retrieved by zero-arc nodes.zero: A zero-arc conductor that reads the entries created by the full-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(1 agent) -
zero(1 agent)
Local 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)
Warning CPU p99 reached 98.7%
Warning Memory growing at 105.25 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confMixed Arc get_agent_activity
A mixed-arc scenario that measures the DHT's ability to propagate agent activity and make it available via get_agent_activity calls. The scenario has three roles:
zero_write: A zero-arc conductor that creates entries on its source chain.full_write: A full-arc conductor that creates entries on its source chain.zero_read: A zero-arc conductor that picks a random writer and repeatedly callsget_agent_activityto observe new entries appearing on the writer's chain, measuring the lag between creation and discovery.
-
full_write(1 agent) -
zero_read(1 agent) -
zero_write(1 agent)
get_agent_activity. This is measured per new action in the chain.get_agent_activity_full zome call timingget_agent_activity_full zome call that queries a writer's chain.get_agent_activity.behaviour:full_write
behaviour:zero_read
behaviour:zero_write
Warning CPU p99 reached 96.6%
Warning Memory growing at 1282.31 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 21% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//boot/efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeMixed Arc must_get_agent_activity
A scenario where write agents create entries in batches of 10, while must_get_agent_activity agents each pick a random write agent and repeatedly attempt to create an entry that references the chain top of their latest batch. This reference means that the entry's validation function needs to make a must_get_agent_activity call.
The purpose of this scenario is to measure the time it takes for published agent activity data to be gossiped among authorities and become available to peers that query it via must_get_agent_activity.
This test is similar to Write Validated must_get_agent_activity, but some write agents are zero-arc and all must_get_agent_activity agents are zero-arc. This forces the must_get_agent_activity host call to go to the network.
-
full_write(1 agent) -
zero_must_get_agent_activity(1 agent) -
zero_write(1 agent)
action_seqwrite agent, aggregated across all reading agents. The reading dimension is collapsed by taking the maximum observed value for each write agent (any successful read counts as propagation). This reflects the DHT’s ability to propagate agent activity ops and make them available to querying peers.write agent's creation of a batch and a must_get_agent_activity agent's successful discovery of the batch and creation/self-validation of a new entry that depends on it.must_get_agent_activity agent was able to discover batches and create/self-validate new entries that depend on them.create_validated_sample_entry zome call timingwrite agent's source chain.must_get_agent_activity calls.behaviour:full_write
behaviour:zero_must_get_agent_activity
behaviour:zero_write
Warning Memory growing at 1202.81 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 3% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/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 862.05 MB/s
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 rate
Additional Host Metrics
//efi-boot/nix/storeValidation 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 Memory growing at 171.79 MB/s
Warning Moderate swap usage (16.6% swap used)
Additional Host Metrics
//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.0%
Warning Memory growing at 1761.97 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 20% 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 with volatile conductors
A scenario where write peers write entries, while get_agent_activity_volatile peers each query a single write agents activity with get_agent_activity but shutdown and restart their conductors at semi-random intervals.
Before a target write peer and the requesting get_agent_activity_volatile 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_volatile(1 agent) -
write(1 agent)
action_seqget_agent_activity. This reflects the DHT's ability to propagate agent activity ops and make them available to querying peers.get_agent_activity_full zome call timingwrite peer's source chain.get_agent_activity_volatile peers.get_agent_activity_volatile conductor.get_agent_activity_volatile conductor was running before being stopped.get_agent_activity_volatile conductor was stopped before being started again.get_agent_activity_volatile peer reach their target arc in the moment before they were shutdown.get_agent_activity_volatile_agent:uhCAk0E-_nIgzM37SElvh__Mb3EvsPNLHawXRhXH-BI-B3yF3ivLL
get_agent_activity_volatile_agent:uhCAk0Uf1AAKRdxGjfq9bK3uBoePczQffRgqjiH3Jn3IBo23B7ZRt
get_agent_activity_volatile_agent:uhCAk0lvMKLseDN5zazneLhOBmIktB13SR_lrXdOf52xrQho2jDe8
get_agent_activity_volatile_agent:uhCAk6G3bXK7kd9cMgm3DvjwuyDIw5NyVjgrAVa8g-4JBeyyqQIhU
get_agent_activity_volatile_agent:uhCAk8iEPzq0SV6bLMUgkSvyWiX0jibe8UH2BQ50KD561GJWrVxkt
get_agent_activity_volatile_agent:uhCAkADOIkw45RHzDgag7E_7bzrrV_BG2byYexXsFS5B_ERc4UuCu
get_agent_activity_volatile_agent:uhCAkE9fo2SBwuQA8pKegr6mB8dG_8gMnxqCXVY4nRYnX-13eYBAE
get_agent_activity_volatile_agent:uhCAkFhbGvClUmhrczpxkHHS4Uz23DOI1Qb7zqLWZdJ4XzRvC7hjg
get_agent_activity_volatile_agent:uhCAkH1or2Ng3QBZbFvyIgoC_SxNVx-JLWUTZvkmdpjcog6ulZnsi
get_agent_activity_volatile_agent:uhCAkHXeGItooWkxXQGgy3g1BEaKs3XrhhWw2TH2IIkbMU5qSrVAk
get_agent_activity_volatile_agent:uhCAkLl3Hm3T66LrsQN2_j4S87zguafEIsei09aRscWpp8cLtKiWR
get_agent_activity_volatile_agent:uhCAkM4U6JeCzuaHVjPc8ypd_h2Jwmpv-9fK9_uNJ3CCay1oCDKHv
get_agent_activity_volatile_agent:uhCAkNJ79S2YpsRrvxEpp0fSiGw0BZsR4X9TZkF2HOaNd4AtX4mNu
get_agent_activity_volatile_agent:uhCAkNwWicUFLERFgSm1rfuM1YUcMbXrmOYjPnRP6TTd6iBBanDiK
get_agent_activity_volatile_agent:uhCAkP8zDjZq6oGGO5NEAX5azUWuCvoUZOk5RcTPKLp4FOn_9xh8G
get_agent_activity_volatile_agent:uhCAkPutyKJfmb8VtBhAY89RaSemDxZLJx_LBLGX44ZTyT_lhecEW
get_agent_activity_volatile_agent:uhCAkV8RcGZ0O7_vgKl2GJm1blz7EB1iXr3Hdn_jpw_Of0sKCzKV9
get_agent_activity_volatile_agent:uhCAkXqJxYh_92Iw8APMivvOIfRAFkzrqCw6Rwb8AnDmabwf0vurD
get_agent_activity_volatile_agent:uhCAkYZgl50lC9SetLsQ3Dxz1nv6MdOKljpDYpRN5Gqy0oY6D_8aM
get_agent_activity_volatile_agent:uhCAk_RLRNab_4SzVO9b84a04_rA3KMjLB5DSHzWiLnvZ4yI2k5ke
get_agent_activity_volatile_agent:uhCAk_TlfA_gnVoILanNtRSaYQCpr0qPYnczQyxLIubsQJSl2tPO9
get_agent_activity_volatile_agent:uhCAkdAJpdT9Q8wJYbTO9YvNHehfcdrkGXtAPVk8DsrGQamUc7EGV
get_agent_activity_volatile_agent:uhCAkdM3iZNY2jiNVqs4lZXTEy-PtVnDCzMlK3w5In4GnOb32PFDr
get_agent_activity_volatile_agent:uhCAkf-QxJAosxOLSlOvgHm__-Z0I4po-gcyYzV0nekk4Hf5t02xy
get_agent_activity_volatile_agent:uhCAkfY6VGghAJD1jYKryyAcy_nys4IkayV2LNiXExyZFkjRD-mYG
get_agent_activity_volatile_agent:uhCAkfrg0dNFTFaIET_u-QRl4LR0GqSgJkwigWvAnf4K8gotuQrop
get_agent_activity_volatile_agent:uhCAkgRz9OLmeI_JKirGrnYAKlLzsGsuGINh_kvGRkMIRawltJRh8
get_agent_activity_volatile_agent:uhCAkgV95hL8B6rLMD5Ph_ehiMBz88QjFZkypXCqk4gMuzerkP6jj
get_agent_activity_volatile_agent:uhCAkhnN1irsT7zr1OaHxJ2DQO3iCqHbPejUDOZC0HWW8kScidVXn
get_agent_activity_volatile_agent:uhCAkiWtmUIsAbfRan9N2gPIvau5p9GKsUR96U1hOba1WWYvIQTGJ
get_agent_activity_volatile_agent:uhCAkik_kYTpf8NzbfDae3lcCMPMrenh_aSI46CcnpnIHzh9MSOsD
get_agent_activity_volatile_agent:uhCAkjmvcPSCi1tEKBAbfpe7hDAzt1kCtrXzvZ-L-6DUvhj0BM0yq
get_agent_activity_volatile_agent:uhCAklGcOZgWqjrjdHly0E5HpdrAVXqEpE1-TqIFAm80GxGxp7Ytm
get_agent_activity_volatile_agent:uhCAkmLMMRo2GJZwpMtTywAtIfNsIgKAKUvq36Z82sZFHkHuVYDP7
get_agent_activity_volatile_agent:uhCAko8A5ilZyLBiWViroHgDAaR70hqTVS_zI28v19BlaX7eClWwO
get_agent_activity_volatile_agent:uhCAkodEnFJLcwOD77JDYsIePDkBG7YJe8N2JKwY28n0i1m3KjpJM
get_agent_activity_volatile_agent:uhCAkpKxQ0jsAMqq6LMTytbcn9gOiVfZFltbLBQM3c4BEzDppg0uO
get_agent_activity_volatile_agent:uhCAkrW9rG3TzatEpmDzbkgOFiJS3nZUp7HIQD0A7VDJeVi0XoiSh
get_agent_activity_volatile_agent:uhCAks9h8HfkSo9sUPUPabA-WrJOrE3zqI5wKjQEO8L2ERxJRAp4F
get_agent_activity_volatile_agent:uhCAkvEu-AKflGqnAY8QJhc0rpYqTV4SzLMMYEmQHwLADlsSoCP8D
get_agent_activity_volatile_agent:uhCAkw3DY5GuLKFE-VZcbfl6EnLzmUQX7QQsR-_D538uhcmpp-Bth
get_agent_activity_volatile_agent:uhCAkwl2miwmUH4HaWeST8Cz2bSzowEPdqKiUCy1lBpPQIDHFs5Ec
get_agent_activity_volatile_agent:uhCAkxOx92xQTfyWPTdwNN_z7lLjJU3BoqrxvDI_3DO6inBEZ0__w
get_agent_activity_volatile_agent:uhCAkxjSLLh8qfr8ULstvtljRra2hd-knCtczPuAF6WjFYtT64pdW
get_agent_activity_volatile_agent:uhCAkyJm_1oskWTpmr35tRB-hYsMIoaPoOmpyaTszpKlDl7JLyIza
get_agent_activity_volatile_agent:uhCAkzKvl38buF8TrW22a-jM9Q-k6N12r2_eRCI_jtdSIGKbZeo_c
Write/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.Warning Memory growing at 81.25 MB/s
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 43.67 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.confWrite Validated must_get_agent_activity
A scenario where write agents create entries in batches of 10, while must_get_agent_activity agents each pick a random write agent and repeatedly attempt to create an entry that references the chain top of their latest batch. This reference means that the entry's validation function needs to make a must_get_agent_activity call.
The purpose of this scenario is to measure the time it takes for published agent activity data to be gossiped among authorities and become available to peers that query it via must_get_agent_activity.
This test is similar to Mixed-Arc must_get_agent_activity, but all agents are full-arc.
-
must_get_agent_activity(1 agent) -
write(1 agent)
action_seqwrite agent, aggregated across all reading agents. The reading dimension is collapsed by taking the maximum observed value for each write agent (any successful read counts as propagation). This reflects the DHT’s ability to propagate agent activity ops and make them available to querying peers.write agent's creation of a batch and a must_get_agent_activity agent's successful discovery of the batch and creation/self-validation of a new entry that depends on it.must_get_agent_activity agent was able to discover batches and create/self-validate new entries that depend on them.create_validated_sample_entry zome call timingwrite agent's source chain.must_get_agent_activity calls.Warning CPU p99 reached 97.3%
Warning Memory growing at 1480.04 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 20% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeZero-Arc Create and Read
A zero-arc/full-arc mixed scenario with two types of zero-arc nodes -- ones that create data and ones that read data -- as well as full arc nodes to "relay" the data. The scenario has three roles:
zero_write: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so thatzero_readnodes can retrieve them.zero_read: A zero-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.full: A full-arc conductor that is just here to serve entries to zero arc nodes.
-
full(1 agent) -
zero_read(1 agent) -
zero_write(1 agent)
get_timed_entries_network zome function.Zero-Arc Create Data
zero: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so that full-arc nodes can retrieve them.full: A full-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(1 agent) -
zero(1 agent)
get_timed_local_entries zome function.Warning CPU p99 reached 98.1%
Warning Memory growing at 3067.72 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 49% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//boot/efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeZero-arc Create Data (Validated)
A zero-arc/full-arc mixed scenario where zero-arc nodes create data that gets validated and full-arc nodes read the data. The scenario has two roles:
zero: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so that full-arc nodes can retrieve them.full: A full-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(1 agent) -
zero(1 agent)
get_timed_local_entries zome function.Warning CPU p99 reached 96.0%
Warning Memory growing at 3119.36 MB/s
Critical Heavy swap usage (21.6% swap used)
Warning 49% of hosts overloaded (load5/ncpus > 1.0)
Additional Host Metrics
//efi-boot/etc/hostname/etc/hosts/etc/resolv.conf/nix/storeZome 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 CPU p99 reached 92.6%
Warning Memory growing at 344.29 MB/s
Additional Host Metrics
/etc/hostname/etc/hosts/etc/resolv.conf