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

Update HISTORY.md for #8428 #9001

Closed

Conversation

hx235
Copy link
Contributor

@hx235 hx235 commented Oct 8, 2021

Context:
HISTORY.md was not properly updated along with the change in #8428, where we introduced a change of accounting compression dictionary buffering memory and an extra condition of triggering data unbuffering.

Summary:
Updated HISTORY.md for #8428 in 6.25.0 HISTORY.md section.
Updated blog post https://rocksdb.org/blog/2021/05/31/dictionary-compression.html.

@hx235 hx235 requested a review from ajkr October 8, 2021 21:42
Copy link
Contributor

@ajkr ajkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

HISTORY.md Outdated
@@ -46,6 +46,7 @@
* Batch blob read requests for `DB::MultiGet` using `MultiRead`.
* Add support for fallback to local compaction, the user can return `CompactionServiceJobStatus::kUseLocal` to instruct RocksDB to run the compaction locally instead of waiting for the remote compaction result.
* Add built-in rate limiter's implementation of `RateLimiter::GetTotalPendingRequest(int64_t* total_pending_requests, const Env::IOPriority pri)` for the total number of requests that are pending for bytes in the rate limiter.
* Charge memory usage during data buffering, from which training samples are gathered for dictionary compression, to block cache. Unbuffering data can now be triggered if the block cache becomes full, in addition to existing conditions that can trigger unbuffering.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think strict_capacity_limit=true is needed in addition to full cache to make the buffering stop early.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - good catch on this detail that we should be accurate!

@hx235
Copy link
Contributor Author

hx235 commented Oct 8, 2021

Update:

  • Be more accurate on the "cache full" condition that triggers data un-buffering as suggested.

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@hx235
Copy link
Contributor Author

hx235 commented Oct 8, 2021

Update:

  • Updated blog post

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hx235 hx235 force-pushed the update_history_for_dict_buffer_mem_accounting branch from af9b4d0 to df5226a Compare October 8, 2021 22:53
@hx235
Copy link
Contributor Author

hx235 commented Oct 8, 2021

Update:

  • Reverted update to blog post and saved it for another PR for clarity

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

ajkr pushed a commit to ajkr/rocksdb that referenced this pull request Oct 11, 2021
Summary:
Context:
HISTORY.md was not properly updated along with the change in facebook#8428, where we introduced a change of accounting compression dictionary buffering memory and an extra condition of triggering data unbuffering.
Updated HISTORY.md for facebook#8428 in 6.25.0 HISTORY.md section.
Updated blog post https://rocksdb.org/blog/2021/05/31/dictionary-compression.html.

Pull Request resolved: facebook#9001

Reviewed By: ajkr

Differential Revision: D31517836

Pulled By: hx235

fbshipit-source-id: 01f6b30de4e1ff6b315aa8221139d9b700c7c629
yoori pushed a commit to yoori/rocksdb that referenced this pull request Nov 26, 2023
Summary:
Context:
HISTORY.md was not properly updated along with the change in facebook/rocksdb#8428, where we introduced a change of accounting compression dictionary buffering memory and an extra condition of triggering data unbuffering.
Updated HISTORY.md for facebook/rocksdb#8428 in 6.25.0 HISTORY.md section.
Updated blog post https://rocksdb.org/blog/2021/05/31/dictionary-compression.html.

Pull Request resolved: facebook/rocksdb#9001

Reviewed By: ajkr

Differential Revision: D31517836

Pulled By: hx235

fbshipit-source-id: 01f6b30de4e1ff6b315aa8221139d9b700c7c629
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