---
title: "Benchmarking"
description: "Guide for benchmarking Aerospike clusters with asbench and checking cluster health with asadm."
---

# Benchmarking

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

This page describes how to benchmark an Aerospike cluster with the Aerospike Benchmark tool (`asbench`) and how to check cluster health with `asadm`. Before benchmarking, verify that the object size, read/write mix, concurrency, and access patterns match your workload.

Use [Aerospike Benchmark (`asbench`)](https://aerospike.com/docs/database/tools/asbench) to measure cluster performance and simulate workloads with configurable record structures, access patterns, and latency reporting.

With `asbench`, you can:

-   Read and write data at a selected read/write ratio.
-   Change client threads and asynchronous command limits to simulate concurrency.
-   Configure object specs to match your record structure.
-   Review periodic latency output and HDR histogram data.

## Run

The following command starts the default benchmark against a local cluster and the default `test` namespace:

Terminal window

```bash
asbench --hosts 127.0.0.1 --namespace test
```

For connection, TLS, workload, and latency options, see [Aerospike Benchmark (`asbench`)](https://aerospike.com/docs/database/tools/asbench).

## Check your cluster status with `asadm`

Use [`asadm`](https://aerospike.com/docs/database/tools/asadm) to verify cluster health before and after a benchmark run. The `info` command shows node, namespace, and object information.

Connect to the cluster:

Terminal window

```bash
asadm -h 127.0.0.1 -p 3000
```

At the `Admin>` prompt, run:

```text
info
```

Confirm that the cluster size, namespace state, migrations, and stop-writes values match your expected test conditions. Complete `asadm` documentation is available in the [Tools documentation](https://aerospike.com/docs/database/tools).