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

Dimitri Sivanich
2004-06-17T13:10:31Z

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).