optimize mmap cache segment