Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write buffer manager supports dynamic config #332

Merged
merged 6 commits into from
Apr 20, 2023

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented Apr 6, 2023

Also add a penalty for too many L0 files. The factor is like:

level0_compaction_trigger+0->98%, trigger+1->96%, trigger+2->92%, trigger+3->88%, trigger+4->82%

tabokie added 3 commits March 16, 2023 09:20
Signed-off-by: tabokie <[email protected]>
Signed-off-by: tabokie <[email protected]>
Signed-off-by: tabokie <[email protected]>
@tabokie tabokie changed the title Write buffer manager supports dynamic config and deadline Write buffer manager supports dynamic config Apr 19, 2023
@tabokie tabokie requested review from BusyJay and tonyxuqqi April 19, 2023 02:04
Signed-off-by: tabokie <[email protected]>
@tabokie
Copy link
Member Author

tabokie commented Apr 20, 2023

/run-test

@tabokie tabokie merged commit 9ea79ab into tikv:6.29.tikv Apr 20, 2023
@tabokie tabokie deleted the memtable-dynamic branch April 20, 2023 07:38
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request May 29, 2024
* add toggle

Signed-off-by: tabokie <[email protected]>

* protect underflow

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* remove deadline and add penalty for l0 files

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* consider compaction trigger

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
* add toggle

Signed-off-by: tabokie <[email protected]>

* protect underflow

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* remove deadline and add penalty for l0 files

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* consider compaction trigger

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
* add toggle

Signed-off-by: tabokie <[email protected]>

* protect underflow

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* remove deadline and add penalty for l0 files

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* consider compaction trigger

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants