Andrew Kryczka
2ee20a669d
Extend trace filtering to more operation types (#9335)
Summary:
- Extended trace filtering to cover `MultiGet()`, `Seek()`, and `SeekForPrev()`. Now all user ops that can be traced support filtering.
- Enabled the new filter masks in `db_stress` since it only cares to trace writes.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9335
Test Plan:
- trace-heavy `db_stress` command reduced 30% elapsed time (79.21 -> 55.47 seconds)
Benchmark command:
```
$ /usr/bin/time ./db_stress -ops_per_thread=100000 -sync_fault_injection=1 --db=/dev/shm/rocksdb_stress_db/ --expected_values_dir=/dev/shm/rocksdb_stress_expected/ --clear_column_family_one_in=0
```
- replay-heavy `db_stress` command reduced 12.4% elapsed time (23.69 -> 20.75 seconds)
Setup command:
```
$ ./db_stress -ops_per_thread=100000000 -sync_fault_injection=1 -db=/dev/shm/rocksdb_stress_db/ -expected_values_dir=/dev/shm/rocksdb_stress_expected --clear_column_family_one_in=0 & sleep 120; pkill -9 db_stress
```
Benchmark command:
```
$ /usr/bin/time ./db_stress -ops_per_thread=1 -reopen=0 -expected_values_dir=/dev/shm/rocksdb_stress_expected/ -db=/dev/shm/rocksdb_stress_db/ --clear_column_family_one_in=0 --destroy_db_initially=0
```
Reviewed By: zhichao-cao
Differential Revision: D33304580
Pulled By: ajkr
fbshipit-source-id: 0df10f87c1fc506e9484b6b42cea2ef96c7ecd65
2021-12-28 11:46:30 -08:00
..
2021-12-20 23:29:43 -08:00
2021-12-07 13:41:48 -08:00
2021-12-14 13:34:43 -08:00
2021-12-15 12:54:44 -08:00
2021-12-15 12:54:44 -08:00
2021-09-24 16:54:02 -07:00
2021-12-20 13:05:23 -08:00
2020-02-20 12:09:57 -08:00
2021-04-28 10:58:05 -07:00
2021-12-15 12:54:44 -08:00
2021-12-17 04:20:47 -08:00
2021-10-19 11:52:07 -07:00
2020-04-24 13:06:12 -07:00
2021-12-17 17:31:40 -08:00
2021-12-07 16:24:22 -08:00
2021-12-07 16:24:22 -08:00
2021-09-10 10:00:26 -07:00
2021-12-17 22:05:29 -08:00
2021-12-14 13:34:43 -08:00
2021-12-14 13:34:43 -08:00
2021-09-07 21:19:27 -07:00
2021-12-28 11:46:30 -08:00
2021-12-15 12:54:44 -08:00
2021-12-14 13:34:43 -08:00
2021-12-14 13:34:43 -08:00
2021-12-07 13:41:48 -08:00