Reading /proc/slabinfo causes stalls

From: Avleen Vig
Date: Tue Oct 16 2012 - 13:51:22 EST


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?


Thanks :-)
--
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/