Skip to content

Instantly share code, notes, and snippets.

/mnt/gvfs/third-party2/binutils/55031de95a2b46c82948743419a603b3d6aefe28/2.29.1/centos7-native/da39a3e/bin/gold/ld: error: /mnt/gvfs/third-party2/lua/f0cd714433206d5139df61659eb7b28b1dea6683/5.2.3/gcc-5-glibc-2.23/65372bd/lib/liblua.a(lapi.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
/mnt/gvfs/third-party2/binutils/55031de95a2b46c82948743419a603b3d6aefe28/2.29.1/centos7-native/da39a3e/bin/gold/ld: error: /mnt/gvfs/third-party2/lua/f0cd714433206d5139df61659eb7b28b1dea6683/5.2.3/gcc-5-glibc-2.23/65372bd/lib/liblua.a(ldebug.o): requires unsupported dynamic reloc 11; recompile with -fPIC
/mnt/gvfs/third-party2/binutils/55031de95a2b46c82948743419a603b3d6aefe28/2.29.1/centos7-native/da39a3e/bin/gold/ld: error: /mnt/gvfs/third-party2/lua/f0cd714433206d5139df61659eb7b28b1dea6683/5.2.3/gcc-5-glibc-2.23/65372bd/lib/liblua.a(ldo.o): requires dynamic R_X86_64_PC32 reloc against '__longjmp_chk' which may overflow at runtime; recompile with -fPIC
/mnt/gvfs/third-party2/binutils
# Untitled
| |1 thread |8 thread |28 thread |54 thread |84 thread |112 thread |256 thread |
|5.7 |53.7 MB/s |46.7 MB/s |72.4 MB/s |70.4 MB/s |50.7 MB/s |42.6 MB/s |35.6 MB/s |
|5.8 |53.4 MB/s |63.6 MB/s |120.9 MB/s |117.5 MB/s |49.9 MB/s |55.3 MB/s |60.0 MB/s |
|5.9 |53.9 MB/s |68.2 MB/s |124.0 MB/s |121.4 MB/s |48.2 MB/s |55.3 MB/s |60.1 MB/s |
|5.10 |53.1 MB/s |68.7 MB/s |119.7 MB/s |116.2 MB/s |46.3 MB/s |53.1 MB/s |57.2 MB/s |
|5.11 |53.4 MB/s |69.2 MB/s |118.3 MB/s |116.8 MB/s |46.8 MB/s |53.1 MB/s |57.2 MB/s |
|5.12 |52.6 MB/s |66.9 MB/s |115.9 MB/s |114.1 MB/s |48.0 MB/s |54.0 MB/s |58.3 MB/s |
|5.13 |52.7 MB/s |66.2 MB/s |113.3 MB/s |111.9 MB/s |47.8 MB/s |54.0 MB/s |57.8 MB/s |
/db_bench_5.6 --db=/data/db_bench --benchmarks=fillrandom --num=1000000 --disable_auto_compactions --threads=64 --use_existing_db=false --write_buffer_size=1000000000 --disable_wal=true
fillrandom : 3.963 micros/op 252349 ops/sec; 27.9 MB/s
./db_bench_5.11 --db=/data/db_bench --benchmarks=fillrandom --num=1000000 --disable_auto_compactions --threads=64 --use_existing_db=false --write_buffer_size=1000000000 --disable_wal=true
fillrandom : 2.082 micros/op 480332 ops/sec; 53.1 MB/s
./db_bench_5.11_no_prefetch --db=/data/db_bench --benchmarks=fillrandom --num=1000000 --disable_auto_compactions --threads=64 --use_existing_db=false --write_buffer_size=1000000000 --disable_wal=true
fillrandom : 2.035 micros/op 491461 ops/sec; 54.4 MB/s
[yiwu@devvm30304.prn1 ~/tmp/lsm/u24] ~/tmp/rocks_sst_dump --file=000454.sst --command=noop --show_properties
from [] to []
Process 000454.sst
Sst file format: block-based
Table Properties:
------------------------------
# data blocks: 1589
# entries: 8543
raw key size: 213575
raw average key size: 25.000000
2018/01/22-17:59:10.898206 7f989eca4200 blob_db_options.blob_dir: blob_dir
2018/01/22-17:59:10.898207 7f989eca4200 blob_db_options.path_relative: 1
2018/01/22-17:59:10.898208 7f989eca4200 blob_db_options.is_fifo: 0
2018/01/22-17:59:10.898209 7f989eca4200 blob_db_options.blob_dir_size: 0
2018/01/22-17:59:10.898210 7f989eca4200 blob_db_options.ttl_range_secs: 3600
2018/01/22-17:59:10.898211 7f989eca4200 blob_db_options.min_blob_size: 42
2018/01/22-17:59:10.898212 7f989eca4200 blob_db_options.bytes_per_sync: 0
2018/01/22-17:59:10.898212 7f989eca4200 blob_db_options.blob_file_size: 268435456
2018/01/22-17:59:10.898213 7f989eca4200 blob_db_options.ttl_extractor: (nil)
2018/01/22-17:59:10.898214 7f989eca4200 blob_db_options.compression: 0
2018/01/22-12:43:16.413498 7fdab4054200 Compression algorithms supported:
2018/01/22-12:43:16.413499 7fdab4054200 kZSTDNotFinalCompression supported: 1
2018/01/22-12:43:16.413500 7fdab4054200 kZSTD supported: 1
2018/01/22-12:43:16.413501 7fdab4054200 kXpressCompression supported: 0
2018/01/22-12:43:16.413502 7fdab4054200 kLZ4HCCompression supported: 1
2018/01/22-12:43:16.413503 7fdab4054200 kLZ4Compression supported: 1
2018/01/22-12:43:16.413504 7fdab4054200 kBZip2Compression supported: 1
2018/01/22-12:43:16.413505 7fdab4054200 kZlibCompression supported: 1
2018/01/22-12:43:16.413505 7fdab4054200 kSnappyCompression supported: 1
2018/01/22-12:43:16.413509 7fdab4054200 Fast CRC32 supported: Supported on x86
WARNING: ThreadSanitizer: data race (pid=44582)
Read of size 4 at 0x7d0400003218 by main thread:
#0 rocksdb::DBTest_SoftLimit_Test::TestBody() db/db_test.cc:5423 (db_test+0x0000005b55b8)
#1 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc:3824 (db_test+0x000000c72fcd)
#2 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc:3860 (db_test+0x000000c72fcd)
#3 testing::Test::Run() third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc:3897 (db_test+0x000000c672d3)
#4 testing::TestInfo::Run() third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc:4072 (db_test+0x000000c67537)
#5 testing::TestCase::Run() third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc:4190 (db_test+0x000000c67671)
#6 testing::internal::UnitTes
[~/rocksdb] cat a.cc
#include "a.h"
std::unique_ptr<DB> db_ptr;
[~/rocksdb] cat a.h
#include <memory>
#include "include/rocksdb/db.h"
using namespace rocksdb;
Running:./db_stress --max_background_compactions=20 --use_merge=1 --max_write_buffer_number=3 --sync=0 --reopen=20 --acquire_snapshot_one_in=10000 --delpercent=5 --log2_keys_per_lock=22 --block_size=16384 --allow_concurrent_memtable_write=0 --target_file_size_multiplier=2 --use_full_merge_v1=1 --target_file_size_base=2097152 --mmap_read=0 --writepercent=35 --readpercent=45 --subcompactions=2 --ops_per_thread=200000 --memtablerep=prefix_hash --prefix_size=7 --test_batches_snapshots=0 --db=/dev/shm/rocksdb/rocksdb_crashtest_whitebox --max_bytes_for_level_base=10485760 --threads=32 --disable_wal=0 --open_files=500000 --destroy_db_initially=0 --progress_reports=0 --snapshot_hold_ops=100000 --nooverwritepercent=1 --iterpercent=10 --max_key=100000000 --prefixpercent=5 --use_clock_cache=false --cache_size=1048576 --compaction_style=1 --verify_checksum=1 --write_buffer_size=4194304
check_mode=1, kill option=None, exitcode=66
make:
==================
WARNING: ThreadSanitizer: data race (pid=31034)
Write of size 1 at
============== Disable Pipeline Write ===============
] TEST_TMPDIR=/dev/shm/lll ./db_bench --benchmarks=fillrandom,stats --num=30000000 --threads=8 --writes=1000000 -max_background_compactions=16 -max_background_flushes=7 -subcompactions=4 --compression_type=lz4 -enable_pipelined_write=false
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
RocksDB: version 5.6
Date: Fri Jun 30 14:22:50 2017
CPU: 32 * Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
CPUCache: 20480 KB
Keys: 16 bytes each