Re: [PATCH]: Option to run cache reap in thread mode

From: Dimitri Sivanich
Date: Thu Jun 17 2004 - 08:16:11 EST


Manfred,

On Wed, Jun 16, 2004 at 08:58:58PM +0200, Manfred Spraul wrote:
> Could you try to reduce them? Something like (as root)
>
> # cd /proc
> # cat slabinfo | gawk '{printf("echo \"%s %d %d %d\" >
> /proc/slabinfo\n", $1,$9,4,2);}' | bash
>
> If this doesn't help then perhaps the timer should run more frequently
> and scan only a part of the list of slab caches.

I tried the modification you suggested and it had little effect. On a 4 cpu
(otherwise idle) system I saw the characteristic 30+ usec interruptions
(holdoffs) every 2 seconds.

Since it's running in timer context, this of course includes all of the
timer_interrupt logic, but I've verified no other timers running during those
times (and I see only very short holdoffs during other timer interrupts).

-
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/