1. 02 1月, 2017 1 次提交
  2. 01 1月, 2017 1 次提交
  3. 30 12月, 2016 2 次提交
    • M
      Delegate Cleanables · 0712d541
      Maysam Yabandeh 提交于
      Summary:
      Cleanable objects will perform the registered cleanups when
      they are destructed. We however rather to delay this cleaning like when
      we are gathering the merge operands. Current approach is to create the
      Cleanable object on heap (instead of on stack) and delay deleting it.
      
      By allowing Cleanables to delegate their cleanups to another cleanable
      object we can delay the cleaning without however the need to craete the
      cleanable object on heap and keeping it around. This patch applies this
      technique for the cleanups of BlockIter and shows improved performance
      for some in-memory benchmarks:
      +1.8% for merge worklaod, +6.4% for non-merge workload when the merge
      operator is specified.
      https://our.intern.facebook.com/intern/tasks?t=15168163
      
      Non-merge benchmark:
      TEST_TMPDIR=/dev/shm/v100nocomp/ ./db_bench --benchmarks=fillrandom
      --num=1000000 -value_size=100 -compression_type=none
      
      Reading random with no merge operator specified:
      TEST_TMPDIR=/dev/shm/v100nocomp/ ./db_bench
      --benchmarks="read
      Closes https://github.com/facebook/rocksdb/pull/1711
      
      Differential Revision: D4361163
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 9801e07
      0712d541
    • I
      Allow SstFileWriter to Fadvise the file away from page cache · d58ef52b
      Islam AbdelRahman 提交于
      Summary:
      Add `fadvise_trigger` option to `SstFileWriter`
      
      If fadvise_trigger is passed with a non-zero value, SstFileWriter will invalidate the os page cache every `fadvise_trigger` bytes for the sst file
      Closes https://github.com/facebook/rocksdb/pull/1731
      
      Differential Revision: D4371246
      
      Pulled By: IslamAbdelRahman
      
      fbshipit-source-id: 91caff1
      d58ef52b
  4. 29 12月, 2016 5 次提交
  5. 28 12月, 2016 2 次提交
  6. 24 12月, 2016 1 次提交
  7. 23 12月, 2016 2 次提交
    • Y
      Print cache options to info log · ab48c165
      Yi Wu 提交于
      Summary:
      Improve cache options logging to info log.
      Also print the value of
      cache_index_and_filter_blocks_with_high_priority.
      Closes https://github.com/facebook/rocksdb/pull/1709
      
      Differential Revision: D4358776
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: 8f030a0
      ab48c165
    • A
      direct io write support · 972f96b3
      Aaron Gao 提交于
      Summary:
      rocksdb direct io support
      
      ```
      [gzh@dev11575.prn2 ~/rocksdb] ./db_bench -benchmarks=fillseq --num=1000000
      Initializing RocksDB Options from the specified file
      Initializing RocksDB Options from command-line flags
      RocksDB:    version 5.0
      Date:       Wed Nov 23 13:17:43 2016
      CPU:        40 * Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
      CPUCache:   25600 KB
      Keys:       16 bytes each
      Values:     100 bytes each (50 bytes after compression)
      Entries:    1000000
      Prefix:    0 bytes
      Keys per prefix:    0
      RawSize:    110.6 MB (estimated)
      FileSize:   62.9 MB (estimated)
      Write rate: 0 bytes/second
      Compression: Snappy
      Memtablerep: skip_list
      Perf Level: 1
      WARNING: Assertions are enabled; benchmarks unnecessarily slow
      ------------------------------------------------
      Initializing RocksDB Options from the specified file
      Initializing RocksDB Options from command-line flags
      DB path: [/tmp/rocksdbtest-112628/dbbench]
      fillseq      :       4.393 micros/op 227639 ops/sec;   25.2 MB/s
      
      [gzh@dev11575.prn2 ~/roc
      Closes https://github.com/facebook/rocksdb/pull/1564
      
      Differential Revision: D4241093
      
      Pulled By: lightmark
      
      fbshipit-source-id: 98c29e3
      972f96b3
  8. 22 12月, 2016 3 次提交
  9. 21 12月, 2016 3 次提交
  10. 20 12月, 2016 4 次提交
  11. 17 12月, 2016 7 次提交
  12. 16 12月, 2016 2 次提交
  13. 15 12月, 2016 7 次提交