Estimate a reasonable cache size if one isn't provided in app/env config for wterl. #5
Loading…
Reference in a new issue
No description provided.
Delete branch "gsb-cache-size-est"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change guesses at a reasonable setting for the WiredTiger cache size at runtime. This cache is shared across all vnodes regardless of how many are active at any given time. The algorithm is: max(1GB, 1/3 (RAM - Beam RSS size)). We don't enable direct_io on purpose and data will be double buffered in WiredTiger's cache and the filesystem buffer cache. This turns out to be faster than direct I/O despite wasting a bit of RAM.
+1