1. 20 4月, 2017 1 次提交
  2. 19 4月, 2017 1 次提交
    • M
      Add cpu usage to regression benchmarks (3rd attempt) · 476e80be
      Maysam Yabandeh 提交于
      Summary:
      Tested by running rocks/tools/debug_regression_test.sh and verifying the local output:
      ```
       cat local/rocks_regression_tests/OPTIONS-viewstate-66-1262-5000/2017-04-13-11-34-51/SUMMARY.csv
                                     commit id,                benchmark,                     user@host,num-dbs,key-range,key-size,value-size,compress-rate,ops-per-thread,num-threads,  cache-size,flushes,compactions,ops-per-s,       p50,       p75,       p99,     p99.9,    p99.99,debug,real-sec,user-sec,sys-sec
      d2dce561,               readrandom,                root@localhost,     12,     5000,      66,      1262,           50,           312,         16,  1073741824,      4,         16,   138458,      9380,     11530,     55200,  16803200,  32504000,    1,    0,    0,    0
      d2dce561,         readwhilewriting,                root@localhost,     12,     5000,      66,      1262,           50,           312,         16,  1073741824,      4,         16,   104511,
      Closes https://github.com/facebook/rocksdb/pull/2157
      
      Differential Revision: D4909238
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: dc7bb8569c3c33b9f7c4ba47a757b24d27bb3b31
      476e80be
  3. 12 4月, 2017 1 次提交
  4. 11 4月, 2017 1 次提交
  5. 06 4月, 2017 1 次提交
  6. 04 4月, 2017 1 次提交
  7. 01 4月, 2017 3 次提交
  8. 31 3月, 2017 1 次提交
  9. 30 3月, 2017 1 次提交
  10. 21 3月, 2017 1 次提交
  11. 10 3月, 2017 1 次提交
  12. 09 3月, 2017 1 次提交
    • M
      Report cpu usage using time command · d43adf21
      Maysam Yabandeh 提交于
      Summary:
      It augments the regression benchmarks with a time command, parses the output, and print them to the SUMMARY.csv file.
      
      I tested a variation of the script locally. Any idea how to do run a test that also involves writing to scuba tables?
      Closes https://github.com/facebook/rocksdb/pull/1967
      
      Differential Revision: D4679470
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 44dac30
      d43adf21
  13. 22 10月, 2016 1 次提交
  14. 19 10月, 2016 1 次提交
    • A
      [db_bench] add filldeterministic (Universal+level compaction) · 08616b49
      Aaron Gao 提交于
      Summary:
      in db_bench, we can dynamically create a rocksdb database that guarantees the shape of its LSM.
      universal + level compaction
      no fifo compaction
      no multi db support
      
      Test Plan:
      ./db_bench -benchmarks=fillseqdeterministic -compaction_style=1 -num_levels=3 --disable_auto_compactions -num=1000000 -value_size=1000
      ```
      ---------------------- LSM ---------------------
      Level[0]: /000480.sst(size: 35060275 bytes)
      Level[0]: /000479.sst(size: 70443197 bytes)
      Level[0]: /000478.sst(size: 141600383 bytes)
      Level[1]: /000341.sst - /000475.sst(total size: 284726629 bytes)
      Level[2]: /000071.sst - /000340.sst(total size: 568649806 bytes)
      fillseqdeterministic :      60.447 micros/op 16543 ops/sec;   16.0 MB/s
      ```
      
      Reviewers: sdong, andrewkr, IslamAbdelRahman, yhchiang
      
      Reviewed By: yhchiang
      
      Subscribers: andrewkr, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D63111
      08616b49
  15. 29 6月, 2016 1 次提交
    • Y
      Improve regression_test.sh · faa7eb3b
      Yueh-Hsuan Chiang 提交于
      Summary:
      This diff makes the following improvement in regression_test.sh:
      
      1. Add NUM_OPS and DELETE_TEST_PATH to regression_test.sh:
      
        * NUM_OPS:  The number of operations that will be issued
          in EACH thread.
          Default: $NUM_KEYS / $NUM_THREADS
      
        * DELETE_TEST_PATH: If true, then the test directory
          will be deleted after the script ends.
          Default: 0
      2. Add more information in SUMMARY.csv
      3. Fix a bug in regression_test.sh where each thread in fillseq will all issue $NUM_KEYS writes.
      4. Add --deletes in db_bench, which allows us to control the number of deletes instead of must using FLAGS_num.
      
      Test Plan: run regression test with and without DELETE_TEST_PATH and NUM_OPS
      
      Reviewers: yiwu, sdong, IslamAbdelRahman, gunnarku
      
      Reviewed By: gunnarku
      
      Subscribers: andrewkr, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D60039
      faa7eb3b
  16. 07 6月, 2016 1 次提交
    • Y
      Allow regression_test.sh to specify OPTIONS_FILE. Add header comments. · fda09846
      Yueh-Hsuan Chiang 提交于
      Summary:
      This patch does the following improvement for regression_test.sh
      * Allow regression_test.sh to specify OPTIONS_FILE.
      * Add header comments that includes examples on how to run the script
        and introduce all configurable parameters.
      * bug fix.
      
      Test Plan: Run the example commands in the header comments of regression_test.sh
      
      Reviewers: sdong, yiwu, gunnarku
      
      Reviewed By: gunnarku
      
      Subscribers: andrewkr, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D59175
      fda09846
  17. 02 6月, 2016 1 次提交
    • Y
      Allow regression test to run db_bench at a remost host · 8cf0f86d
      Yueh-Hsuan Chiang 提交于
      Summary:
      This patch does the following improvement on the regression_test.sh
      * allows db_bench being executed at a remost host while storing the
        benchmark results locally.
      * kills all db_bench related processes before running db_bench
      * better error handling.
      
      Test Plan:
      1. Run regression_test.sh both locally and remotely
      2. Run multiple regression_test.sh at the same time and make sure
         i. Only one runs successfully.
         ii. The one that runs successfully will kill all other db_bench
             processes before it runs any benchmark.
      
      Reviewers: sdong, yiwu, gunnarku
      
      Reviewed By: gunnarku
      
      Subscribers: andrewkr, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D58611
      8cf0f86d
  18. 10 5月, 2016 1 次提交
    • Y
      Initial script for the new regression test · fca5aa6f
      Yueh-Hsuan Chiang 提交于
      Summary:
      This diff includes an initial script running a set of benchmarks for
      regression test.  The script does the following things:
      
        checkout the specified rocksdb commit (or origin/master as default)
        make clean && DEBUG_LEVEL=0 make db_bench
        setup test directories
        run set of benchmarks and store results
      
      Currently, the script will run couple benchmarks, store all the benchmark
      output, extract micros per op and percentile information for each benchmark
      and store them in a single SUMMARY.csv file.  The SUMMARY.csv will make the
      follow-up regression detection easier.
      
      In addition, the current script only takes env arguments to set important
      attributes of db_bench.  Will follow-up with a patch that allows db_bench
      to construct options from an options file.
      
      Test Plan:
      NUM_KEYS=100 ./tools/regression_test.sh
      
        Sample SUMMARY.csv file:
      
                                           commit id,                      benchmark,  ms-per-op,        p50,        p75,        p99,      p99.9,     p99.99
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,                        fillseq,      15.28,      54.66,      77.14,    5000.00,   17900.00,   18483.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,                      overwrite,      13.54,      57.69,      86.39,    3000.00,   15600.00,   17013.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,                     readrandom,       1.04,       0.80,       1.67,     293.33,     395.00,     504.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,               readwhilewriting,       2.75,       1.01,       1.87,     200.00,     460.00,     485.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,                   deleterandom,       3.64,      48.12,      70.09,     200.00,     336.67,     347.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,                     seekrandom,      24.31,     391.87,     513.69,     872.73,     990.00,    1048.00
            7e23ddf575890510e7d2fc7a79b31a1bbf317917,         seekrandomwhilewriting,      14.02,     185.14,     294.15,     700.00,    1440.00,    1527.00
      
      Reviewers: sdong, IslamAbdelRahman, kradhakrishnan, yiwu, andrewkr, gunnarku
      
      Reviewed By: gunnarku
      
      Subscribers: gunnarku, MarkCallaghan, andrewkr, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D57597
      fca5aa6f