Re: [PATCH v2] mm/slab: Improve performance of gathering slabinfo stats
From: Christoph Lameter
Date: Fri Aug 05 2016 - 10:17:39 EST
On Thu, 4 Aug 2016, Aruna Ramakrishna wrote:
> On large systems, when some slab caches grow to millions of objects (and
> many gigabytes), running 'cat /proc/slabinfo' can take up to 1-2 seconds.
> During this time, interrupts are disabled while walking the slab lists
> (slabs_full, slabs_partial, and slabs_free) for each node, and this
> sometimes causes timeouts in other drivers (for instance, Infiniband).
Acked-by: Christoph Lameter <cl@xxxxxxxxx>