This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.> TEST_TMPDIR=/dev/shm/rocksdb OPT=-g make -j48 J=48 -j48 check || ROCKSDB_CONTRUN_NAME=check false | |
Makefile:101: Warning: Compiling in debug mode. Don't use the resulting binary in production | |
GEN util/build_version.cc | |
db/db_impl.cc:20:31: fatal error: jemalloc/jemalloc.h: No such file or directory | |
#include "jemalloc/jemalloc.h" | |
^ | |
compilation terminated. | |
Makefile:101: Warning: Compiling in debug mode. Don't use the resulting binary in production | |
GEN util/build_version.cc | |
db/db_impl.cc:20:31: fatal error: jemalloc/jemalloc.h: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/12/15-15:48:52.680990 7f3a1c0639c0 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x7f3a1a6350b8) | |
cache_index_and_filter_blocks: 0 | |
pin_l0_filter_and_index_blocks_in_cache: 0 | |
index_type: 0 | |
hash_index_allow_collision: 1 | |
checksum: 1 | |
no_block_cache: 0 | |
block_cache: 0x7f3a1a7962b0 | |
block_cache_size: 8388608 | |
persistent_cache_options: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/12/15-16:39:26.720640 7ff22d10d9c0 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x7ff22b8284b8) | |
cache_index_and_filter_blocks: 1 | |
pin_l0_filter_and_index_blocks_in_cache: 0 | |
index_type: 0 | |
hash_index_allow_collision: 1 | |
checksum: 1 | |
no_block_cache: 0 | |
block_cache: 0x7ff22b990240 | |
block_cache_size: 18446744073709551615 | |
persistent_cache_options: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/12/21-12:03:06.531664 7fb5dab4a9c0 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x7fb5d9228520) | |
cache_index_and_filter_blocks: 0 | |
cache_index_and_filter_blocks_with_high_priority: 0 | |
pin_l0_filter_and_index_blocks_in_cache: 0 | |
index_type: 0 | |
hash_index_allow_collision: 1 | |
checksum: 1 | |
no_block_cache: 0 | |
block_cache: 0x7fb5d9390390 | |
block_cache_name: LRUCache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55285.062926 task-clock (msec) # 1.000 CPUs utilized | |
80 context-switches # 0.001 K/sec | |
42 cpu-migrations # 0.001 K/sec | |
372,874 page-faults # 0.007 M/sec | |
162,275,313,069 cycles # 2.935 GHz (50.00%) | |
102,858,155,650 stalled-cycles-frontend # 63.38% frontend cycles idle (50.00%) | |
78,441,390,016 stalled-cycles-backend # 48.34% backend cycles idle (50.00%) | |
160,018,971,228 instructions # 0.99 insn per cycle | |
# 0.64 stalled cycles per insn (50.00%) | |
30,052,756,465 branches # 543.596 M/sec (50.00%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50362.665325 task-clock (msec) # 1.000 CPUs utilized | |
75 context-switches # 0.001 K/sec | |
43 cpu-migrations # 0.001 K/sec | |
372,879 page-faults # 0.007 M/sec | |
147,979,632,821 cycles # 2.938 GHz (50.00%) | |
95,021,960,523 stalled-cycles-frontend # 64.21% frontend cycles idle (50.00%) | |
70,306,982,501 stalled-cycles-backend # 47.51% backend cycles idle (50.00%) | |
144,907,746,909 instructions # 0.98 insn per cycle | |
# 0.66 stalled cycles per insn (50.00%) | |
28,927,079,522 branches # 574.375 M/sec (50.00%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[yiwu@dev4504.prn1 ~/rocksdb] ./blob_dump ~/tmp/adsdb_100/blob_dir/000002.blob | |
Magic Number : 2395959 | |
Version : 1 | |
Compression : kNoCompression | |
TTL Range : (1493830800, 1493834400) | |
Timestamp Range: nil | |
Read record @0 | |
key size : 4 | |
blob size : 5 | |
TTL : 1493833327 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/rocksdb/blob_dump --file /dev/shm/blob_db_test/blob_dir/000003.blob --show_blob | |
Blob log header: | |
Magic Number : 2395959 | |
Version : 1 | |
Compression : kNoCompression | |
TTL Range : (1495537200, 1495540800) | |
Timestamp Range: nil | |
No blob log footer. | |
Read record with offset 0x24 (36): | |
key size : 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[==========] Running 4 tests from 1 test case. | |
[----------] Global test environment set-up. | |
[----------] 4 tests from ArenaTest | |
[ RUN ] ArenaTest.Empty | |
[ OK ] ArenaTest.Empty (0 ms) | |
[ RUN ] ArenaTest.MemoryAllocatedBytes | |
[ OK ] ArenaTest.MemoryAllocatedBytes (0 ms) | |
[ RUN ] ArenaTest.ApproximateMemoryUsage | |
internal_repo_rocksdb/repo/util/arena_test.cc:99: Failure | |
Expected: arena.ApproximateMemoryUsage() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <atomic> | |
#include <stdio.h> | |
#include <string> | |
#include <thread> | |
#include <vector> | |
using namespace std; | |
int main(int argc, char**argv) { | |
const int loop = 10000000; | |
const int num_threads = 16; |
OlderNewer