# Training video: SHOW HARDWARE / host-tune

**Target length:** 8 minutes  
**Kernel on camera:** 2.74.26 (same SHOW HARDWARE verbs as 2.74.9)  
**Audience:** Operator who already has a workgroup on 2143 and wants to see what this machine will cache.

`SHOW HARDWARE` (alias `SHOW TUNE`) sizes the value LRU, hash-index page cache, write buffer, and group-commit timer from free RAM, the Linux cgroup limit (or `VELOCE_MEMORY_MAX`), and one 64KB fsync. Budget is one eighth of `min(free, limit)`, clamped 32MB–512MB. A slow disk stretches the 50ms commit. A fast disk keeps it. This does not pin CPUs. It does not change the published ops/s table. certifiedClaim stays false.

On host01 do not `COUNT TESTDB PREFIX` and do not copy `testdb.bin`. Film on a throwaway `CREATE DATABASE tune` or a local install.

## On-screen beats

1. `SHOW VERSION` → `VELOCE 2.74.9`.
2. `SHOW HARDWARE`. Read `tune.cpus`, `freeBytes`, `cacheBudget`, `lruCap`, `flushBytes`, `fsyncMs`, `groupCommitMs`. Point at `certifiedClaim: false`.
3. `SHOW WAL`. Same `group_commit_ms` and `lru_cap`.
4. Say the leftover out loud: CPU pinning, io_uring, native arena stay EXTERNAL.
5. Optional: set `VELOCE_MEMORY_MAX` in a lab unit, restart, `SHOW HARDWARE` again. Do not do that on host01 CRM.

## Spoken script

“Two seventy four nine looks at this box once and sizes the caches. It is not a TPC score and it is not Redis. I am going to print the hardware JSON, then SHOW WAL, and I am going to read the leftover in the same sentence.”

```text
SHOW VERSION
SHOW HARDWARE
SHOW TUNE
SHOW WAL
```

“Replies: VELOCE 2.74.9, then JSON with train host-tune. cacheBudget is at most 512MB. lruCap is at most 65536. flushBytes is 256KB when the budget is at least 256MB, else 64KB. groupCommitMs is 50 unless that 64KB fsync took more than 40 milliseconds. VELOCE_TESTDB_LRU and VELOCE_MEMORY_MAX override. VELOCE_TUNE_PROBE=0 skips the disk probe.”

## Do not say

- That this host now beats Redis or PostgreSQL.
- That laptop embed 540k insertMany is the published host03 table.
- That named databases are WAL-shipped.
- That you will clone host01 testdb.bin to demonstrate caches.
