Repository navigation
Add guide to mmap - #805
lanceu0128 wants to merge 7 commits into
Conversation
|
That's a very nice starting point! The structure and topic are great additions to the docs, and I like the graphics that you are adding. Meanwhile, some notes:
Keep the good work! |
2a7fb4e to
1727e50
Compare
|
Thanks for addressing all the previous notes; you new additions are looking great! Since the PR is still a draft, I assume you are planning to fill in the first two sections (
Note on CI: the current Keep up the great work! |
| memory-mapping the file. This mode reads the compressed chunks through | ||
| OS-managed pages, rather than copying the chunks to intermediate buffers. | ||
| Opening containers through mmap is generally recommended for workloads with | ||
| random read patterns and/or concurrent read-only access. This article |
| a syscall and buffer copy for every block read. Although the improvement | ||
| is modest, this makes mmap a default for concurrent read-only access. | ||
| a syscall and buffer copy for every block read. Although the speed | ||
| improvement is modest, this makes mmap a default for concurrent read-only |
There was a problem hiding this comment.
I think using 'default' is ambiguous here. How about:
Although the speed improvement is modest, for concurrent read-only access, we recommend opening the file with mmap_mode="r".
Closes #719