Skip to content

Commit

Permalink
Modified bench2 to measure read iops latency and throughput.
Browse files Browse the repository at this point in the history
Reads are generated by a normal distribution

Signed-off-by: Javier Ron <javierron@outlook.com>

modified run.sh
  • Loading branch information
javierron committed Aug 13, 2018
1 parent 6927cdf commit dc3f298
Show file tree
Hide file tree
Showing 7 changed files with 640 additions and 14 deletions.
2 changes: 2 additions & 0 deletions src/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target_link_libraries(zlog_bench2
libzlog
zlog_seqr
zlog_backend_ceph
zlog_backend_lmdb
zlog_backend_ram
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_SYSTEM_LIBRARY}
Expand All @@ -14,5 +15,6 @@ target_link_libraries(zlog_bench2
install(TARGETS zlog_bench2 DESTINATION bin)

add_subdirectory(rados-append)
add_subdirectory(cache)

endif(BUILD_CEPH_BACKEND)
17 changes: 17 additions & 0 deletions src/bench/cache/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
if(BUILD_CEPH_BACKEND)

add_executable(zlog_cache_bench cache_bench.cc)
target_link_libraries(zlog_cache_bench
libzlog
zlog_seqr
zlog_backend_ceph
zlog_backend_lmdb
zlog_backend_ram
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_SYSTEM_LIBRARY}
atomic
hdr_histogram_static
)
install(TARGETS zlog_cache_bench DESTINATION bin)

endif(BUILD_CEPH_BACKEND)
Loading

0 comments on commit dc3f298

Please sign in to comment.