• M
    Remove use of mmap for random reads · 33323f21
    Mark Callaghan 提交于
    Summary:
    Reads via mmap on concurrent workloads are much slower than pread.
    For example on a 24-core server with storage that can do 100k IOPS or more
    I can get no more than 10k IOPS with mmap reads and 32+ threads.
    
    Test Plan: db_bench benchmarks
    
    Reviewers: dhruba, heyongqiang
    
    Reviewed By: heyongqiang
    
    Differential Revision: https://reviews.facebook.net/D5433
    33323f21
env_posix.cc 18.1 KB