Revision 3e7e269292e60c51331839ac00cea409a0439d1d authored by Mark Callaghan on 29 October 2012, 19:04:27 UTC, committed by Mark Callaghan on 30 October 2012, 14:21:37 UTC
Summary:
This makes the stall timers in MakeRoomForWrite more accurate by timing
the sleeps. From looking at the logs the real sleep times are usually
about 2000 usecs each when SleepForMicros(1000) is called. The modified LOG messages are:
2012/10/29-12:06:33.271984 2b3cc872f700 delaying write 13 usecs for level0_slowdown_writes_trigger
2012/10/29-12:06:34.688939 2b3cc872f700 delaying write 1728 usecs for rate limits with max score 3.83

Task ID: #

Blame Rev:

Test Plan:
run db_bench, look at DB/LOG

Revert Plan:

Database Impact:

Memcache Impact:

Other Notes:

EImportant:

- begin *PUBLIC* platform impact section -
Bugzilla: #
- end platform impact -

Reviewers: dhruba

Reviewed By: dhruba

Differential Revision: https://reviews.facebook.net/D6297
1 parent fb8d437
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
auto_split_logger.h -rw-r--r-- 2.5 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.2 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-- 22.2 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
murmurhash.cc -rw-r--r-- 3.7 KB
murmurhash.h -rw-r--r-- 854 bytes
mutexlock.h -rw-r--r-- 1.8 KB
options.cc -rw-r--r-- 4.5 KB
posix_logger.h -rw-r--r-- 2.8 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