Daniel Han
b8bdf73bb9
llama: fold the random-access prefetch into its own feature flag
...
LLAMA_MMAP_RANDOM_PREFETCH existed to measure the two halves of the feature
apart, and the measurement is done: on a cold cache over the same wikitext
run, MADV_RANDOM without the batched readahead takes 94.4 s against 36.7 s
for an untouched mapping, while the pair together take 34.1 s. Suppressing
the kernel's readahead only pays if we replace it, so the split let a user
select a 2.6x regression through a documented switch.
Keep the accessor, since the call site reads better than a mode comparison,
but derive it from the mode alone.
2026-08-27 10:01:47 +00:00
..
2026-08-27 10:01:47 +00:00
2026-08-26 15:09:53 +00:00
2026-08-16 09:38:01 +03:00
2026-03-18 12:03:26 +02:00
2026-08-26 13:41:50 +00:00
2026-08-26 13:41:50 +00:00
2026-07-08 19:24:34 +03:00
2026-07-08 15:55:19 +08:00
2026-05-28 13:13:33 +02:00
2026-05-28 13:13:33 +02:00
2026-08-27 00:45:01 +00:00
2026-07-08 18:18:09 +08:00
2025-06-15 10:08:58 +03:00
2026-08-10 16:58:56 +03:00
2026-08-04 17:26:15 +02:00
2026-08-25 09:05:24 +03:00
2026-01-03 16:02:43 -06:00
2026-08-26 15:09:53 +00:00
2026-08-26 15:09:53 +00:00
2026-08-27 06:23:08 +00:00
2026-08-27 10:01:47 +00:00
2026-04-06 01:40:38 +02:00
2026-07-08 18:18:09 +08:00
2026-05-02 18:03:25 +03:00
2026-05-05 06:35:07 +03:00
2026-08-21 19:52:34 +02:00
2026-08-21 19:52:34 +02:00
2026-08-03 14:56:30 +02:00
2026-08-03 14:56:30 +02:00
2026-08-24 09:20:25 +03:00
2026-08-02 20:55:34 +08:00
2026-07-08 15:55:19 +08:00
2026-06-29 16:58:51 +08:00
2026-08-03 16:30:08 +03:00
2026-08-03 16:30:08 +03:00
2026-08-27 06:23:08 +00:00
2026-08-27 06:23:08 +00:00
2026-06-07 21:42:54 +03:00
2026-08-27 10:01:47 +00:00
2026-08-27 10:01:47 +00:00
2026-07-08 15:55:19 +08:00
2026-05-16 20:06:23 +08:00
2026-08-26 15:09:53 +00:00
2026-08-26 15:09:53 +00:00
2026-08-27 06:23:08 +00:00
2026-08-27 06:23:08 +00:00
2025-06-30 18:03:03 +03:00
2026-06-07 20:50:54 +08:00
2026-08-27 10:01:47 +00:00
2026-08-27 10:01:47 +00:00
2026-08-27 10:01:47 +00:00
2026-08-27 10:01:47 +00:00
2026-08-26 13:41:50 +00:00
2026-08-26 13:41:50 +00:00
2026-08-27 10:01:47 +00:00
2026-08-27 10:01:47 +00:00
2026-08-27 00:45:01 +00:00
2025-01-03 10:18:53 +02:00
2026-08-10 16:58:56 +03:00
2026-08-10 16:58:56 +03:00
2026-08-17 20:13:15 +02:00
2026-07-22 09:54:08 +08:00
2026-08-14 15:14:19 +03:00
2024-10-08 13:27:04 +02:00
2024-10-02 15:49:55 +02:00
2026-08-18 15:15:22 +02:00
2026-04-03 10:33:03 +02:00