Commit Graph

4 Commits

Author SHA1 Message Date
A.J. Beamon bdc58eaa11 Fix invalid memory access in ReadHotDetection test due to memory being stored in a non-standalone stringref. 2020-05-12 11:16:35 -07:00
Xin Dong dd9c240320 Address the remaining review comments 2020-05-04 10:25:10 -07:00
Xin Dong 1927f15898 Now the ReadHotDetection tests can be run reliably. Added it to nightly bundle. 2020-04-28 13:26:02 -07:00
Xin Dong b0a1af1288 Added the actual read hot detection algorithm and logging machanism.
- When a shard has a read bandwidth larger than a threshold value(configurable via knob), and it's read-bandwidth/byte-size ratio is also larger than a threshold(configurable via knob), the corresponding shard tracker will run the algorithm
- The algorithm will divide the shard into 10MB(configurable via knob) chunks and try to find the chunk(s) that has large aforementioned ratio
- Then those ranges will be logged into TraceEvents. This will later do more like actually cache them.
2020-01-21 11:19:52 -08:00