You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in PR #2336, we can further reduce Linux Page Cache use by evicting portions of the file during use rather than waiting to have Linux evict the entire file.
To keep things simple, PR #2336 made Linux evict entire file from page cache after using large (98GB), which successfully prevents Linux eventually hoarding hundreds of GB in its page cache. We can improve upon it by reducing the temporary spikes in Linux Page Cache.
As mentioned in Other Approaches section of PR #2280, it is possible to remove segments of the file while it is used so we can reduce peak Linux page cache usage by 98GB. This can be done without using O_DIRECT so we can avoid edge cases like alignment issues or incompatibility with some filesystems.
Optionally, remove additional files from the Linux page cache such as WAL segment files.
The text was updated successfully, but these errors were encountered:
fxamacker
changed the title
[Execution Node] Reduce Linux Page Cache Peak Use by 66+ GB RAM
[Execution Node] Reduce Linux Page Cache Peak Use by 74+ GB RAM
May 16, 2022
fxamacker
changed the title
[Execution Node] Reduce Linux Page Cache Peak Use by 74+ GB RAM
[Execution Node] Reduce Linux Page Cache Peak Use by 98+ GB RAM
Jun 16, 2022
fxamacker
changed the title
[Execution Node] Reduce Linux Page Cache Peak Use by 98+ GB RAM
[Execution Node] Reduce Temporary Linux Page Cache Spikes by 98+ GB RAM
Jun 16, 2022
fxamacker
changed the title
[Execution Node] Reduce Temporary Linux Page Cache Spikes by 98+ GB RAM
[Execution Node] Reduce Temporary Linux Page Cache Spikes by 150+ GB RAM
Aug 23, 2022
there's a chance we'll split the checkpoint file into smaller files so it won't be necessary to evict segments of the file from Linux page cache during use
Problem
As noted in PR #2336, we can further reduce Linux Page Cache use by evicting portions of the file during use rather than waiting to have Linux evict the entire file.
To keep things simple, PR #2336 made Linux evict entire file from page cache after using large (98GB), which successfully prevents Linux eventually hoarding hundreds of GB in its page cache. We can improve upon it by reducing the temporary spikes in Linux Page Cache.
Updates epic #1744
The Proposed Solution
As mentioned in Other Approaches section of PR #2280, it is possible to remove segments of the file while it is used so we can reduce peak Linux page cache usage by 98GB. This can be done without using
O_DIRECT
so we can avoid edge cases like alignment issues or incompatibility with some filesystems.Optionally, remove additional files from the Linux page cache such as WAL segment files.
The text was updated successfully, but these errors were encountered: