Re: Reading /proc/slabinfo causes stalls

From: Avleen Vig
Date: Tue Oct 16 2012 - 14:25:15 EST

By default we use the 2.6.32-279.5.2 as provided by CentOS.
However I also tried the 3.0.46 from elrepo:

The config for the 3.0 kernel is:

They both seem to exhibit the same problem.

Thanks :)

On Tue, Oct 16, 2012 at 1:04 PM, Pekka Enberg <penberg@xxxxxxxxxx> wrote:
> Hi Avleen,
> On Tue, Oct 16, 2012 at 8:51 PM, Avleen Vig <avleen@xxxxxxxxx> wrote:
>> I *think* this is the right place to ask this, and apologies if it's not
>> (is there a better place?).
>> We have checks which read /proc/slabinfo once a minute, and have noticed
>> that this causes the entire system to stall for a few milliseconds.
>> It's long enough that it causes noticeable delays in latency-sensitive
>> applications (between 10ms and 100ms).
>> Is this a known condition? Are there work arounds or other ways to get the
>> slab allocation data which don't cause stalls?
> What kernel version are you using? What does your .config look like?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at