docs: Add AsyncDataCache and SSD cache documentation#11429
docs: Add AsyncDataCache and SSD cache documentation#11429minhancao wants to merge 1 commit intofacebookincubator:mainfrom
Conversation
✅ Deploy Preview for meta-velox canceled.
|
a4cfbd1 to
be3fa99
Compare
|
@majetideepak Can you review this PR when you can? Thanks! |
524893b to
a1de59d
Compare
czentgr
left a comment
There was a problem hiding this comment.
Thanks for this. Multiple comments.
d703bb3 to
dd244bf
Compare
|
@czentgr to re-review |
velox/docs/develop/cache.rst
Outdated
| - The size of the SSD. | ||
| * - async-cache-ssd-path | ||
| - string | ||
| - /mnt/flash/async_cache. |
There was a problem hiding this comment.
Does this have a . at the end of the path? I think this is a typo.
There was a problem hiding this comment.
@czentgr It is set to default to have the . at the end of the path in https://github.com/prestodb/presto/blob/master/presto-native-execution/presto_cpp/main/common/Configs.cpp#L184
99cb9d0 to
0b34179
Compare
c83c939 to
1b01d4e
Compare
velox/docs/develop/cache.rst
Outdated
| disk_names=( $(sudo lsblk -d -o NAME | tail -n +2) ) | ||
| for disk in "${disk_names[@]}"; do | ||
| echo "Checking disk: $disk" | ||
| # If the disk is an Amazon EC2 NVMe Instance Storage volume, then install btrfs onto that disk |
There was a problem hiding this comment.
This is AWS EC2 specific. I am not convinced this should be part of the main documentation since it can easily explode for various setups.
We need to find a home for such operational details.
Orri said they are writing a document on SSD cache design
I would suggest we limit this PR to config updates and move the Operational part to another PR.
There was a problem hiding this comment.
@majetideepak Ok will remove the whole "Setup with btrfs filesystem" section and move this to another doc PR. Where do you think we should document the Operational part?
There was a problem hiding this comment.
We can check with Meta on a good location for operational details in the other PR.
|
@majetideepak It looks like prestodb/presto#24372 that was merged Jan 16, 2025 to Prestissimo removed the From prestodb/presto#24372:
|
velox/docs/develop/cache.rst
Outdated
|
|
||
| Configuration Properties | ||
| ------------------------ | ||
| See `Configuration Properties <../configs.rst>`_ for AsyncDataCache related configuration properties. |
There was a problem hiding this comment.
@majetideepak I have created a new PR in Prestissimo to have all the configuration properties of AsyncDataCache and SSD cache listed there since those configs are defined in Prestissimo codebase. Once that PR is in, I will link it to here. What do you think of this approach?
9eeb4c7 to
a8b9e5d
Compare
a8b9e5d to
2078073
Compare
| @@ -0,0 +1,39 @@ | |||
| ===================================== | |||
There was a problem hiding this comment.
I'm now doubting the need for this PR. Do we need this in addition to what we have in the PrestoC++ doc?
This content looks more like PrestoC++ documentation content with the references to the Velox doc.
All the content here sounds more like at the PrestoC++ level rather than Velox. The Velox documentation would rather go into detail as to how it works rather than talk about the operationalization and some vague statements.
There was a problem hiding this comment.
@czentgr I agree, I will close this PR since the cache configs PR already was merged for Prestissimo.
Add AsyncDataCache and SSD cache documentation