[GH-ISSUE #395] Speed report: 2x Radeon AI PRO R9700 (gfx1201), Ryzen 5 3600, 64 GB: Maya-S24 44.1 tok/s, Maya-M-Derisked 24.9 tok/s (v1.1.20, 256K) #152

Closed
opened 2026-10-29 21:21:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @gegnep on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/395

Two R9700s on a split, Linux, ROCm 7.2.1. As far as I can tell this is the first dual-R9700 report. ./maya.sh --bench, then ./maya.sh --report, once per model; both reports are attached.

Machine Model Decode Prefill (8K)
2x Radeon AI PRO R9700 32 GB (gfx1201, PCIe 4.0 x8 each), Ryzen 5 3600, 64 GB DDR4 Maya-S24 / Maya-M-Derisked, 256K context 44.1 / 24.9 tokens/s 704 / 617 tokens/s

Bench detail (greedy, thinking off, 3 answers of 256 tokens):

Maya-S24 Maya-M-Derisked
Decode, mean 44.1 tok/s (43.7, 42.9, 45.6) 24.9 tok/s (22.9, 25.4, 26.4)
Prefill, 2K / 8K 444 / 704 tok/s 325 / 617 tok/s
MTP drafts accepted 82-97% 81-97%
Routed experts in VRAM 92% 83%
Disk reads per token 0 2.5-3.7 (9-14 ms of ~40 ms)

Setup

  • Maya v1.1.20 (35bb2b2), installed with ./maya.sh --setup --backend hip --gpus 0,1 --no-vision, then --context 262144 --env MAYA_GLM_KV_INT8=1 --env MAYA_GLM_SLOT_KEEP=1.
  • RAM headroom: setup's default 16 for Maya-S24; MAYA_GLM_RAM_HEADROOM_GB=10 for Maya-M-Derisked.
  • Host: NixOS, kernel 7.3.0, in-tree amdgpu. Maya runs in a rootful podman container built from rocm/dev-ubuntu-24.04:7.2.1 plus hipblas-dev hipblaslt-dev rocwmma-dev. That gives hipBLASLt 1.2.2, so the gfx1201-glm-hipblaslt-100202 table loads ("hipBLASLt tuning enabled (40 rows, gfx1201, version 100202)"). Container flags: /dev/kfd and /dev/dri, the render and video groups, --ulimit memlock=-1:-1, --security-opt seccomp=unconfined, --shm-size 2g. KFD detection works inside the container.
  • CPU: Ryzen 5 3600 (Zen 2, 6 cores). RAM: 64 GB DDR4-3200 (four DIMMs). Models on a Samsung 970 EVO Plus 1 TB (PCIe 3.0 NVMe).
  • PCIe: 4.0 x8 per card, both on CPU root ports (x8/x8). Each card's own link behind its on-board switch runs at 5.0 x16. The prefill copy lane runs at about 13 GB/s on each card (12.1-13.3 in the logs).

Observations

  • Maya-S24 fits in VRAM plus RAM at 256K: 7592 VRAM expert slots plus a 5739-slot RAM tier, with no disk reads.
  • Maya-M-Derisked does not fit in 64 GB. At the default headroom of 16 my own runs (a ~1.4K-token prompt) decoded at 14.0 tok/s, with 9.65 disk reads/token costing 37.7 of 71.4 ms. Headroom 10 grew the RAM tier from 4662 to 5401 slots, took disk reads to 5.36/token, and decode to 19.3 tok/s on the same prompt. The bench above runs at headroom 10.
  • Long prompts read faster than the bench's 8K (Maya-S24, from the serve log): 12,035 tokens at 799 tok/s, 16,384 tokens at 883-921 tok/s.
  • MAYA_GLM_SLOT_KEEP=1 under llama-swap works as described. After a swap to another model and back, a 12,035-token conversation came back from disk in 0.2 s, with 1 new token to read.

maya-report-Maya-S24.txt
maya-report-Maya-M-Derisked.txt

Written with AI assitance

Originally created by @gegnep on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/395 Two R9700s on a split, Linux, ROCm 7.2.1. As far as I can tell this is the first dual-R9700 report. `./maya.sh --bench`, then `./maya.sh --report`, once per model; both reports are attached. | Machine | Model | Decode | Prefill (8K) | | --- | --- | ---: | ---: | | **2x Radeon AI PRO R9700 32 GB** (gfx1201, PCIe 4.0 x8 each), Ryzen 5 3600, 64 GB DDR4 | Maya-S24 / Maya-M-Derisked, 256K context | **44.1 / 24.9 tokens/s** | 704 / 617 tokens/s | Bench detail (greedy, thinking off, 3 answers of 256 tokens): | | Maya-S24 | Maya-M-Derisked | | --- | ---: | ---: | | Decode, mean | 44.1 tok/s (43.7, 42.9, 45.6) | 24.9 tok/s (22.9, 25.4, 26.4) | | Prefill, 2K / 8K | 444 / 704 tok/s | 325 / 617 tok/s | | MTP drafts accepted | 82-97% | 81-97% | | Routed experts in VRAM | 92% | 83% | | Disk reads per token | 0 | 2.5-3.7 (9-14 ms of ~40 ms) | ## Setup - Maya v1.1.20 (`35bb2b2`), installed with `./maya.sh --setup --backend hip --gpus 0,1 --no-vision`, then `--context 262144 --env MAYA_GLM_KV_INT8=1 --env MAYA_GLM_SLOT_KEEP=1`. - RAM headroom: setup's default 16 for Maya-S24; `MAYA_GLM_RAM_HEADROOM_GB=10` for Maya-M-Derisked. - Host: NixOS, kernel 7.3.0, in-tree amdgpu. Maya runs in a rootful podman container built from `rocm/dev-ubuntu-24.04:7.2.1` plus `hipblas-dev hipblaslt-dev rocwmma-dev`. That gives hipBLASLt 1.2.2, so the `gfx1201-glm-hipblaslt-100202` table loads ("hipBLASLt tuning enabled (40 rows, gfx1201, version 100202)"). Container flags: `/dev/kfd` and `/dev/dri`, the render and video groups, `--ulimit memlock=-1:-1`, `--security-opt seccomp=unconfined`, `--shm-size 2g`. KFD detection works inside the container. - CPU: Ryzen 5 3600 (Zen 2, 6 cores). RAM: 64 GB DDR4-3200 (four DIMMs). Models on a Samsung 970 EVO Plus 1 TB (PCIe 3.0 NVMe). - PCIe: 4.0 x8 per card, both on CPU root ports (x8/x8). Each card's own link behind its on-board switch runs at 5.0 x16. The prefill copy lane runs at about 13 GB/s on each card (12.1-13.3 in the logs). ## Observations - **Maya-S24 fits in VRAM plus RAM** at 256K: 7592 VRAM expert slots plus a 5739-slot RAM tier, with no disk reads. - **Maya-M-Derisked does not fit in 64 GB.** At the default headroom of 16 my own runs (a ~1.4K-token prompt) decoded at 14.0 tok/s, with 9.65 disk reads/token costing 37.7 of 71.4 ms. Headroom 10 grew the RAM tier from 4662 to 5401 slots, took disk reads to 5.36/token, and decode to 19.3 tok/s on the same prompt. The bench above runs at headroom 10. - **Long prompts read faster than the bench's 8K** (Maya-S24, from the serve log): 12,035 tokens at 799 tok/s, 16,384 tokens at 883-921 tok/s. - **`MAYA_GLM_SLOT_KEEP=1` under llama-swap works as described.** After a swap to another model and back, a 12,035-token conversation came back from disk in 0.2 s, with 1 new token to read. [maya-report-Maya-S24.txt](https://github.com/user-attachments/files/33845494/maya-report-Maya-S24.txt) [maya-report-Maya-M-Derisked.txt](https://github.com/user-attachments/files/33845495/maya-report-Maya-M-Derisked.txt) _Written with AI assitance_
Author
Owner

@mw00 commented on GitHub (Oct 22, 2026):

Thank you - the first dual-R9700 report, with both models. Added to the README's speed table: https://github.com/mw00/project-maya#how-fast-is-it

<!-- gh-comment-id:6353442193 --> @mw00 commented on GitHub (Oct 22, 2026): Thank you - the first dual-R9700 report, with both models. Added to the README's speed table: https://github.com/mw00/project-maya#how-fast-is-it
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#152
No description provided.