Revision 33323f21117e5bb8cf72569302f109aabb387bb9 authored by Mark Callaghan on 14 September 2012, 19:35:02 UTC, committed by Mark Callaghan on 14 September 2012, 23:43:50 UTC
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
1 parent fa29f82
History
File Mode Size
arena.cc -rw-r--r-- 1.9 KB
arena.h -rw-r--r-- 1.8 KB
arena_test.cc -rw-r--r-- 1.6 KB
bloom.cc -rw-r--r-- 3.2 KB
bloom_test.cc -rw-r--r-- 3.6 KB
build_version.h -rw-r--r-- 376 bytes
cache.cc -rw-r--r-- 9.1 KB
cache_test.cc -rw-r--r-- 4.6 KB
coding.cc -rw-r--r-- 4.8 KB
coding.h -rw-r--r-- 4.0 KB
coding_test.cc -rw-r--r-- 5.4 KB
comparator.cc -rw-r--r-- 2.1 KB
crc32c.cc -rw-r--r-- 15.0 KB
crc32c.h -rw-r--r-- 1.4 KB
crc32c_test.cc -rw-r--r-- 1.7 KB
env.cc -rw-r--r-- 2.1 KB
env_hdfs.cc -rw-r--r-- 14.7 KB
env_posix.cc -rw-r--r-- 18.1 KB
env_test.cc -rw-r--r-- 2.5 KB
filelock_test.cc -rw-r--r-- 1.1 KB
filter_policy.cc -rw-r--r-- 333 bytes
hash.cc -rw-r--r-- 980 bytes
hash.h -rw-r--r-- 524 bytes
histogram.cc -rw-r--r-- 4.6 KB
histogram.h -rw-r--r-- 925 bytes
logging.cc -rw-r--r-- 1.8 KB
logging.h -rw-r--r-- 1.6 KB
mutexlock.h -rw-r--r-- 1023 bytes
options.cc -rw-r--r-- 3.7 KB
posix_logger.h -rw-r--r-- 2.7 KB
random.h -rw-r--r-- 2.0 KB
stats_logger.h -rw-r--r-- 658 bytes
status.cc -rw-r--r-- 1.9 KB
testharness.cc -rw-r--r-- 1.6 KB
testharness.h -rw-r--r-- 4.6 KB
testutil.cc -rw-r--r-- 1.4 KB
testutil.h -rw-r--r-- 1.7 KB

back to top