Commit 9c23685
Switch runner to Module::LoadMode::Mmap
All other runners in examples/models/ use Mmap. The two LLM runners
(qwen3_5_moe, gemma4_31b) were the outliers using File, likely
inherited rather than intentional. File uses pread() syscalls per
access; Mmap maps the file lazily and benefits from the OS page cache.
For a 21 GB .pte this matters: per-access pread has measurable overhead
and prevents kernel-level read-ahead.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 417b19b commit 9c23685
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments