Thread (48 messages) 48 messages, 4 authors, 2021-09-23

Re: [PATCH 11/14] xfs: dynamically allocate cursors based on maxlevels

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-09-21 09:04:36

On Tue, Sep 21, 2021 at 09:06:35AM +1000, Dave Chinner wrote:
On Fri, Sep 17, 2021 at 06:30:10PM -0700, Darrick J. Wong wrote:
quoted
From: Darrick J. Wong <djwong@kernel.org>

Replace the statically-sized btree cursor zone with dynamically sized
allocations so that we can reduce the memory overhead for per-AG bt
cursors while handling very tall btrees for rt metadata.
Hmmmmm. We do a *lot* of btree cursor allocation and freeing under
load. Keeping that in a single slab rather than using heap memory is
a good idea for stuff like this for many reasons...
Or rather a few slabs for the different kind of cursors.  But otherwise
agreed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help