Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-8082 vos: More conservative allocation of DTX LIDs (daos-stack#7338
) The local id table for DTX allocates blocks of entries using the lru array. It always keeps one of these around. The current size is way too large for a per-container allocation and uses 18MB even if the dtx active table is empty. This will cut it down to a about 256KB for an empty table (for the array itself and 1 free subarray). This amounts to 1 extra malloc per 512 DTX entries so should be lost in noise. It still may be a bit heavy for 10K containers but it's a lot less total memory than before. We probably need to look into a mechanism to free the last subarray for unused containers. The reason we currently don't is to avoid cases where we allocate and free on every I/O. Signed-off-by: Jeff Olivier <[email protected]>
- Loading branch information