mmap_to_ram multithread