Re: Reading /proc/slabinfo causes stalls

From: Pekka Enberg
Date: Tue Oct 16 2012 - 14:04:20 EST


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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/