facebook / facebook/rocksdb

try ioprio_set() with direct I/O instead of throttling background activity

Open
#4,994 0 comments 0 reactions 0 assignees View on GitHub
enhancement up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

- need to enable direct I/O first since disk writes from page cache would all get same priority
- assign flush/compaction threads lower priorities than threads for user reads/writes
- measure changes in compaction stalling and p99/p100 user read/writes
- also compare against having a rate limiter with "ideal" rate (i.e., minimum value to avoid stalling)
- cassandra (https://issues.apache.org/jira/browse/CASSANDRA-9946) and hbase (https://issues.apache.org/jira/browse/HADOOP-10410) also tried

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.