# Soul Client eval: load

Server time per call from `Server-Timing`. #1750 levels at p99.9: bookkeeping 50 ms, reads 100 ms, an act's acknowledgment 150 ms. Long polls have no level.

## 24 Souls, repeat 1 (120 s, one act per 10 s per Soul)

457 calls; 83 acts (8 refused); 32 owner messages acknowledged and closed of 36 sent. Level held on every route: **no**. Refusals: world.busy 51, soul.slow-down 13, spot.taken 8.

| route | calls | server p50 | p99 | p99.9 | max | level | over |
|---|---|---|---|---|---|---|---|
| `GET /v1/edge/wait?after&timeout` | 148 | 8075 | 35615 | 45888 | 45888 | long poll |  |
| `POST /v1/edge/act` | 128 | 18748.5 | 20006.8 | 20084.4 | 20084.4 | act 150 ms | 128 |
| `GET /v1/edge/receipts/:id` | 40 | 1 | 2.1 | 2.1 | 2.1 | read 100 ms | 0 |
| `POST /v1/edge/inbox/:id/ack` | 32 | 2 | 3 | 3 | 3 | bookkeeping 50 ms | 0 |
| `POST /v1/edge/inbox/:id/result` | 32 | 2 | 3 | 3 | 3 | bookkeeping 50 ms | 0 |
| `GET /v1/edge/inbox/listen?after&timeoutMs` | 28 | 30156 | 50002 | 50002 | 50002 | long poll |  |
| `GET /v1/edge/inbox/listen?timeoutMs` | 18 | 33659 | 50036 | 50036 | 50036 | long poll |  |
| `GET /v1/edge/observe` | 18 | 0 | 0 | 0 | 0 | read 100 ms | 0 |
| `GET /v1/edge/catalog` | 12 | 5 | 8 | 8 | 8 | read 100 ms | 0 |
| `GET /v1/edge/operations/:id?route` | 1 | 2 | 2 | 2 | 2 | read 100 ms | 0 |

An act's server time in four parts (the world's own histograms, 167 acts in its last 5 to 10 minutes): queue + handler + wait + commit = the whole. 0 acts waited more than three ticks (150 ms).

| part | p50 | p99 |
|---|---|---|
| queue | 19745.4 | 19745.4 |
| handler | 64.6 | 881.9 |
| wait | 1.2 | 21.3 |
| commit | 33.1 | 331.1 |

Ticks per 10-second window: the tick's own ms, ticks that started more than 25 ms after they were due, the longest gap between tick starts, and the share of the window at each load level.

| window end | ticks | tick p50 | p99 | late | longest gap | green | amber | red | black |
|---|---|---|---|---|---|---|---|---|---|
| 08:26:57 | 80 | 38.3 | 179 | 16 | 686.8 | 0 | 0 | 1 | 0 |
| 08:27:07 | 155 | 38.2 | 206.9 | 6 | 1294.9 | 0 | 0.42 | 0.58 | 0 |
| 08:27:17 | 210 | 34 | 80.4 | 23 | 313.3 | 0 | 1 | 0 | 0 |
| 08:27:27 | 201 | 30.4 | 45.7 | 3 | 135.1 | 0 | 1 | 0 | 0 |
| 08:27:37 | 200 | 11.5 | 51.1 | 7 | 856.7 | 0 | 1 | 0 | 0 |
| 08:27:47 | 203 | 10.2 | 47.5 | 8 | 368.6 | 0 | 1 | 0 | 0 |
| 08:27:57 | 201 | 9.3 | 38 | 6 | 749.5 | 0.37 | 0.63 | 0 | 0 |
| 08:28:07 | 199 | 9.9 | 68.6 | 12 | 356 | 1 | 0 | 0 | 0 |
| 08:28:17 | 201 | 10.5 | 48 | 14 | 579.2 | 1 | 0 | 0 | 0 |
| 08:28:28 | 201 | 10.4 | 56.8 | 8 | 592 | 1 | 0 | 0 | 0 |
| 08:28:38 | 206 | 10.3 | 54.3 | 6 | 642.6 | 1 | 0 | 0 | 0 |
| 08:28:48 | 200 | 10.5 | 75.5 | 10 | 710.2 | 1 | 0 | 0 | 0 |

What held amber, over these windows (a second can count under several signals; `dwell` = every signal under the band, the 30 s calm running): service 2.2 s, loop 20.6 s, heap 0 s, dwell 30.1 s. Entries into amber by cause (`red` = the step down from red): service 0, loop 0, heap 0, queue 0, red 1.

Driver (#2509): this process 0.01 of a core (0.16 with its finished children); everything on its 2 CPUs (the serve daemons and CLI calls too) 0.27 of a core, over 137 s.

Raw Souls (#2509): 12 of 24; setup took 38 s. Raw Souls: no `serve` daemon or long-polls, no owner messages (cards go to real Souls only), no `look`/`find`/`pending`; a word is resolved from the catalog once (its places, spots and seats by name), not from the nearest rows the CLI's `find` ranks; each act reads its receipt once.

Act queue p50: real Souls 19298 ms (83 acts), raw Souls 15194.4 ms (45 acts): raw -21 % against real.

Per tenth of agents by activity (busiest first): acts achieved against intended, act queue p50 (ms), and slow-down refusals (an agent held back by its own budget).

| tenth | agents (raw) | intended | achieved | share | queue p50 | slow-down |
|---|---|---|---|---|---|---|
| 1 | 2 (0) | 24 | 16 | 67 % | 18862 | 0 |
| 2 | 3 (0) | 36 | 21 | 58 % | 19312 | 0 |
| 3 | 2 (0) | 24 | 14 | 58 % | 19305 | 0 |
| 4 | 3 (0) | 36 | 20 | 56 % | 19323 | 0 |
| 5 | 2 (0) | 24 | 12 | 50 % | 19262 | 0 |
| 6 | 2 (2) | 24 | 10 | 42 % | 13530.6 | 0 |
| 7 | 3 (3) | 36 | 14 | 39 % | 15499.3 | 0 |
| 8 | 2 (2) | 24 | 8 | 33 % | 13564.1 | 0 |
| 9 | 3 (3) | 36 | 9 | 25 % | 15194.4 | 0 |
| 10 | 2 (2) | 24 | 4 | 17 % | 14165.8 | 0 |

Acts: 83 achieved of 288 intended (29 %): **under-driven** (under 95 %).

Act calls (client trace, 128; 0.69 acts/s): server time p50 18748.5, p95 19696, p99 20006.8, max 20084.4 ms; of it queue p50 18573.9, p95 19618, p99 19744 ms.

Act calls' queue (client trace): p50 18573.9, p95 19618, max 19745 ms over 128 calls.

Acts by capability, slowest first: server time less the queue (handler + wait + commit), ms.

| capability | acts | p50 | max | over 250 ms |
|---|---|---|---|---|
| read | 7 | 98.20000000000073 | 936.6000000000004 | 1 |
| walk | 53 | 78 | 859 | 10 |
| eat | 13 | 81 | 692.3000000000029 | 1 |
| sit | 9 | 45.80000000000291 | 591.3000000000002 | 2 |
| play-music | 11 | 79.70000000000073 | 575.0999999999985 | 3 |
| garden | 21 | 40 | 573.7000000000007 | 1 |
| sit-ground | 14 | 0 | 98 | 0 |

## 24 Souls, repeat 2 (120 s, one act per 10 s per Soul)

870 calls; 245 acts (20 refused); 34 owner messages acknowledged and closed of 36 sent. Level held on every route: **no**. Refusals: world.busy 7, pose.not-still 1, soul.slow-down 50, spot.taken 17, seat.taken 2.

| route | calls | server p50 | p99 | p99.9 | max | level | over |
|---|---|---|---|---|---|---|---|
| `GET /v1/edge/wait?after&timeout` | 312 | 4802 | 19979 | 30024 | 30024 | long poll |  |
| `POST /v1/edge/act` | 252 | 10258 | 19571 | 19908 | 19908 | act 150 ms | 248 |
| `GET /v1/edge/receipts/:id` | 117 | 1 | 1.8 | 1.8 | 1.8 | read 100 ms | 0 |
| `GET /v1/edge/observe` | 53 | 0 | 2501 | 2501 | 2501 | read 100 ms | 4 |
| `GET /v1/edge/inbox/listen?after&timeoutMs` | 36 | 30105 | 50012 | 50012 | 50012 | long poll |  |
| `POST /v1/edge/inbox/:id/ack` | 34 | 1 | 2 | 2 | 2 | bookkeeping 50 ms | 0 |
| `POST /v1/edge/inbox/:id/result` | 34 | 2 | 2 | 2 | 2 | bookkeeping 50 ms | 0 |
| `GET /v1/edge/inbox/listen?timeoutMs` | 18 | 32918 | 50333 | 50333 | 50333 | long poll |  |
| `GET /v1/edge/catalog` | 13 | 7 | 8 | 8 | 8 | read 100 ms | 0 |
| `GET /v1/edge/operations/:id?route` | 1 | 1 | 1 | 1 | 1 | read 100 ms | 0 |

An act's server time in four parts (the world's own histograms, 254 acts in its last 5 to 10 minutes): queue + handler + wait + commit = the whole. 0 acts waited more than three ticks (150 ms).

| part | p50 | p99 |
|---|---|---|
| queue | 10947.6 | 19907.8 |
| handler | 64.6 | 1175.5 |
| wait | 0.7 | 26.5 |
| commit | 41.4 | 157.8 |

Ticks per 10-second window: the tick's own ms, ticks that started more than 25 ms after they were due, the longest gap between tick starts, and the share of the window at each load level.

| window end | ticks | tick p50 | p99 | late | longest gap | green | amber | red | black |
|---|---|---|---|---|---|---|---|---|---|
| 08:30:09 | 126 | 34.3 | 122.5 | 16 | 1134 | 0 | 0.31 | 0.69 | 0 |
| 08:30:19 | 164 | 39 | 211.3 | 24 | 545.9 | 0 | 1 | 0 | 0 |
| 08:30:29 | 154 | 32.7 | 134.4 | 16 | 1480.7 | 0 | 1 | 0 | 0 |
| 08:30:39 | 195 | 28.3 | 82.1 | 10 | 711.9 | 0 | 1 | 0 | 0 |
| 08:30:50 | 209 | 27.4 | 71.2 | 20 | 570.2 | 0 | 1 | 0 | 0 |
| 08:31:00 | 207 | 10.4 | 63.1 | 18 | 587 | 0 | 1 | 0 | 0 |
| 08:31:10 | 203 | 10.4 | 55.6 | 20 | 650 | 0 | 1 | 0 | 0 |
| 08:31:20 | 201 | 10.8 | 100.5 | 25 | 397.5 | 0 | 1 | 0 | 0 |
| 08:31:31 | 197 | 10.5 | 79 | 15 | 588.4 | 0 | 1 | 0 | 0 |
| 08:31:41 | 208 | 9.8 | 75.4 | 22 | 714.2 | 0 | 1 | 0 | 0 |
| 08:31:51 | 194 | 10.4 | 94.4 | 18 | 997 | 0 | 1 | 0 | 0 |
| 08:32:01 | 222 | 10.4 | 90.9 | 22 | 462.5 | 0 | 1 | 0 | 0 |

What held amber, over these windows (a second can count under several signals; `dwell` = every signal under the band, the 30 s calm running): service 17.3 s, loop 102.6 s, heap 0 s, dwell 13 s. Entries into amber by cause (`red` = the step down from red): service 0, loop 0, heap 0, queue 0, red 1.

Driver (#2509): this process 0.01 of a core (0.32 with its finished children); everything on its 2 CPUs (the serve daemons and CLI calls too) 0.43 of a core, over 166 s.

Raw Souls (#2509): 12 of 24; setup took 36 s. Raw Souls: no `serve` daemon or long-polls, no owner messages (cards go to real Souls only), no `look`/`find`/`pending`; a word is resolved from the catalog once (its places, spots and seats by name), not from the nearest rows the CLI's `find` ranks; each act reads its receipt once.

Act queue p50: real Souls 10155 ms (124 acts), raw Souls 9900.9 ms (128 acts): raw -3 % against real.

Per tenth of agents by activity (busiest first): acts achieved against intended, act queue p50 (ms), and slow-down refusals (an agent held back by its own budget).

| tenth | agents (raw) | intended | achieved | share | queue p50 | slow-down |
|---|---|---|---|---|---|---|
| 1 | 2 (0) | 24 | 22 | 92 % | 9274 | 1 |
| 2 | 3 (0) | 36 | 33 | 92 % | 9985 | 0 |
| 3 | 2 (0) | 24 | 22 | 92 % | 10550 | 0 |
| 4 | 3 (2) | 36 | 33 | 92 % | 9874.8 | 0 |
| 5 | 2 (2) | 24 | 22 | 92 % | 9665 | 0 |
| 6 | 2 (2) | 24 | 22 | 92 % | 10730.6 | 0 |
| 7 | 3 (2) | 36 | 32 | 89 % | 9987.6 | 0 |
| 8 | 2 (0) | 24 | 20 | 83 % | 8947 | 1 |
| 9 | 3 (3) | 36 | 30 | 83 % | 9556.6 | 0 |
| 10 | 2 (1) | 24 | 16 | 67 % | 10314.9 | 0 |

Acts: 245 achieved of 288 intended (85 %): **under-driven** (under 95 %).

Act calls (client trace, 252; 2.04 acts/s): server time p50 10258, p95 18624.8, p99 19571, max 19908 ms; of it queue p50 10075.1, p95 18482.8, p99 19571 ms.

Act calls' queue (client trace): p50 10075.1, p95 18482.8, max 19908 ms over 252 calls.

Acts by capability, slowest first: server time less the queue (handler + wait + commit), ms.

| capability | acts | p50 | max | over 250 ms |
|---|---|---|---|---|
| walk | 119 | 145 | 1502.1000000000004 | 39 |
| read | 18 | 136 | 1034 | 6 |
| garden | 25 | 93.5 | 759.7999999999993 | 2 |
| eat | 27 | 81 | 422.8000000000011 | 5 |
| sit | 20 | 113 | 327.39999999999964 | 4 |
| play-music | 19 | 78.79999999999927 | 289.59999999999945 | 1 |
| sit-ground | 23 | 72 | 230 | 0 |
| play-piano | 1 | 72 | 72 | 0 |
