[GH-ISSUE #746] Regarding 128GB Memory Optimization Strategies #342

Closed
opened 2026-11-04 01:42:08 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @Susan985 on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/746

My hardware configuration includes 128GB of 8-channel DDR4 3200MHz memory. When running the UD-Q4_K_XL model, the system frequently reads data from the SSD, even though up to 60GB of memory remains available. Is there a way to keep the model resident in memory to achieve optimal performance? Although removing the --resident-budget-gib parameter did not completely resolve the issue, performance improved significantly: prefill speeds exceeded 1900 tokens/s, and decode speeds reached 65–100 tokens/s. My goal is to have the model run entirely in memory without relying on SSD disk mapping.

Originally created by @Susan985 on GitHub (Oct 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/746 My hardware configuration includes 128GB of 8-channel DDR4 3200MHz memory. When running the UD-Q4_K_XL model, the system frequently reads data from the SSD, even though up to 60GB of memory remains available. Is there a way to keep the model resident in memory to achieve optimal performance? Although removing the `--resident-budget-gib` parameter did not completely resolve the issue, performance improved significantly: prefill speeds exceeded 1900 tokens/s, and decode speeds reached 65–100 tokens/s. My goal is to have the model run entirely in memory without relying on SSD disk mapping.
Author
Owner

@hendrikp commented on GitHub (Oct 4, 2026):

ple in ram param

<!-- gh-comment-id:5979683276 --> @hendrikp commented on GitHub (Oct 4, 2026): ple in ram param
Author
Owner

@Susan985 commented on GitHub (Oct 4, 2026):

ple in ram param
I don't see the relevant parameters in the JSON; could you provide an example?

<!-- gh-comment-id:5979756969 --> @Susan985 commented on GitHub (Oct 4, 2026): > ple in ram param I don't see the relevant parameters in the JSON; could you provide an example?
Author
Owner

@Susan985 commented on GitHub (Oct 4, 2026):

ImageIt worked! It’s absolutely incredible! With my setup, running UD-Q4_K_XL via llama.cpp previously yielded only 30–35 tokens/s for decoding and 410 tokens/s for prefilling; now, the decoding speed has more than doubled, and the prefill speed has increased more than fourfold.

<!-- gh-comment-id:5980859419 --> @Susan985 commented on GitHub (Oct 4, 2026): <img width="1203" height="538" alt="Image" src="https://github.com/user-attachments/assets/0a66c38c-daf2-455d-83a5-53bbcad6f006" />It worked! It’s absolutely incredible! With my setup, running UD-Q4_K_XL via llama.cpp previously yielded only 30–35 tokens/s for decoding and 410 tokens/s for prefilling; now, the decoding speed has more than doubled, and the prefill speed has increased more than fourfold.
Author
Owner

@enkynakamura commented on GitHub (Oct 4, 2026):

--ple-io ram
If i remember it is for linux

<!-- gh-comment-id:5982140110 --> @enkynakamura commented on GitHub (Oct 4, 2026): --ple-io ram If i remember it is for linux
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Good to hear it is solved: removing --resident-budget-gib and --ple-io on 128 GB lets the file sit in the page cache, and prefill 1,900 and decode 65-100 tok/s is what we expect there. Closing. The --ple-io ram option is in the docs for the case where the table would not stay cached.

<!-- gh-comment-id:6037774670 --> @Niko1221 commented on GitHub (Oct 7, 2026): Good to hear it is solved: removing --resident-budget-gib and --ple-io on 128 GB lets the file sit in the page cache, and prefill 1,900 and decode 65-100 tok/s is what we expect there. Closing. The --ple-io ram option is in the docs for the case where the table would not stay cached.
Sign in to join this conversation.
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
Niko1221/Strata#342
No description provided.