Files
leleka/crates
Pavlo RatushnyiandClaude Sonnet 5.5 2a7e80a390 cuda-driver: model-free stress of DMA out of a registered read-only file mapping under working-set trimming (STRA-235 hypothesis, Windows)
mapped_file_dma_under_working_set_trimming_is_exact maps a 2 GiB file read-only, page-locks the first GiB in place with
cuMemHostRegister(READ_ONLY) (what pin_resident does), copies random pieces out of the registered and the pageable halves to the device
while K32EmptyWorkingSet runs every 5 ms (the governor's relieve_working_set) and another thread churns the pages, and checks every byte
against the file's content function. 20 s on the laptop: 18,825 copies, 1,764 trims, 0 mismatches. #[ignore]d GPU test, no model.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 04:16:37 +01:00
..