Switching to MMAP files allowed llama.cpp to load large language models up to 100 times faster compared to traditional C++ standard I/O, by eliminating redundant data copies between kernel and user space and reducing system call overhead.
Open the full topic