Half-context profile comparison · 20 October 2026
User requested current tokens/second and drive reads for the existing512K, normal256K and dual profiles, approximately half filled rather than short prompts. No million-token profile was created.
Method
Production API, existing Strata0.1.45 IQ3_XXS profiles; Deck59GiB, CPU quota8, 1024MiB GPU reserves. TTS/STT remain loaded. One fresh synthetic request per single-slot profile and two simultaneous requests for dual. Target input sizes 262144 for512K and131072 for normal256K and each dual slot. Actual API usage is authoritative; output limit512 per request, seed42, temperature0, no reasoning. Synthetic archived-record input followed by a German long-form writing task.
The first attempt stopped before timing: Deck's public router returns404 for
/v1/messages/count_tokens. The script was corrected to call the existing local
Strata worker's own counting route with its configured internal identity; no
application change or dependency installation. The original profile was restored
successfully after that attempt. Tokenizer calibration calls do not generate
model answers. Each measured arm follows a one-token activation request so model
startup time/reads are excluded. No extra cached follow-up measured.
Backend predicted_per_second is generation speed. Whole-request output tokens
per second includes prefill; neither should be confused with the other's rate.
For dual report both per-request decode rates and aggregate whole-pair throughput.
Read GiB and MiB/s are delta /proc/<strata-pid>/io read_bytes, physical engine
reads charged by Linux, not logical expert demand or whole-machine disk traffic.
Page-cache hits do not increase this counter. Warm file-cache/order effects remain;
no cache flush, randomization or statistical replication. Model switches affect
cache state. These are workload examples, not full-context capacity guarantees.
Results
Each output is512 tokens. Average read rate covers the complete measured request (prefill plus decoding), not just decoding. Model load reads/time are excluded.
| Profile | Actual input tokens | Backend generation tok/s | First token seconds | Total seconds | Physical reads GiB | Average MiB/s |
|---|---|---|---|---|---|---|
| 512K | 262112 | 60.9 | 142.37 | 150.76 | 4.962 | 33.70 |
| Normal256K | 131072 | 69.8 | 64.82 | 72.13 | 1.255 | 17.82 |
| Dual request0 | 131072 | 10.2 | 72.12 | 123.95 | shared | shared |
| Dual request1 | 131075 | 60.5 | 187.71 | 198.28 | shared | shared |
| Dual pair total | 262147 | see requests | — | 198.28 | 8.891 | 45.92 |
The512K request achieves1844.4 prompt tokens/s and normal256K2028.2 prompt tokens/s. Whole-request output throughput is3.40 and7.10 tokens/s respectively. This reflects fresh long-prompt processing and should not be read as ordinary cached-chat speed.
Dual pair whole-request output throughput is 5.164 tokens/s (1024 output tokens in198.28s); do not sum10.2+60.5 and label it simultaneous aggregate decode speed. The per-request backend timings reflect shared-engine scheduling: request0 had no draft tokens, request1 had285 (174 accepted). The second request's113.958s reported prefill does not include all of its187.705s client first-token wait. Neither request represents an uncontended steady-state per-slot speed.
Peak Deck cgroup memory:512K55.09GiB, normal50.36GiB, dual59.00GiB. Dual records 273 memory-max events; the single cases record0. All have0 OOM kills. Host MemAvailable alone does not rule out cgroup memory pressure. The dual resource pressure counters in results.json are authoritative. Large simultaneous inputs remain a weaker case; do not generalize this to short/cached chats or claim a randomized causal comparison. No output quality/identity scoring performed.
The previous flash-next-strata-iq3 single profile was restored HTTP200 after all
measurements. Final state is checked separately, including TTS/STT loaded, CPU8,
RAM59 and container start time predating the whole test. No restart or setting
change. Compressed synthetic fixtures plus fixtures-sha256.json allow exact prompt
reuse; read measured prompt counts from results.json rather than assuming perfect
agreement with the token-count endpoint (the dual second input differs by3tokens).
Persistence, reproduction and native restore
benchmark.py uses Python standard library, existing Strata tokenizer/server,
Linux proc/cgroup-v2 and nvidia-smi. No additional services, images or model files.
Current stage: /opt/athena-deck-dev/runtime/state/strata-half-context-20261020
(host), /var/lib/deck/strata-half-context-20261020 in Deck. Run with its existing
service UID65534, key supplied as JSON on stdin through the configured secret
store; never store/echo it. Script verifies idle API before each profile switch,
then restores previous profile in finally when idle. Do not run during user work.
Existing output/fixtures are reused by path; use a reviewed new stage for a fresh
repeat and preserve exact fixtures if comparing prompts. No private chats or
answer text are written to results. Worker settings archive arguments/environment
only, never its internal API key. Model weights/state follow existing encrypted
backup and pinned public-model restore recipes.
For native Debian restore, retain the documented pinned Strata/compiler/CUDA and NVIDIA driver installation, configured service user, state/runtime/tokenizer paths, 59GiB cgroup budget/no extra swap and CPUQuota800%. TEST_STAGE/TEST_CGROUP_DIR must point at the actual native state/service cgroup. The current fixed loopback Deck/worker ports must match restored configuration. No new native dependency or application feature is introduced; fresh-host native E2E qualification remains open. This production API test does not establish a complete restore. No restart, CPU, RAM, model/profile setting or GPU change is required for the comparison.