From: Dimitri Sivanich <sivanich@sgi.com>
To: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Slab cache reap and CPU availability
Date: Mon, 24 May 2004 10:39:39 -0500 (CDT) [thread overview]
Message-ID: <200405241539.i4OFddJQ016338@fsgi142.americas.sgi.com> (raw)
In-Reply-To: <20040521191609.6f4a49a7.akpm@osdl.org> from "Andrew Morton" at May 21, 2004 07:16:09 PM
>
> Dimitri Sivanich <sivanich@sgi.com> wrote:
> >
> > Hi all,
> >
> > I have a fairly general question about the slab cache reap code.
> >
> > In running realtime noise tests on the 2.6 kernels (spinning to detect periods
> > of CPU unavailability to RT threads) on an IA/64 Altix system, I have found the
> > cache_reap code to be the source of a number of larger holdoffs (periods of
> > CPU unavailability). These can last into the 100's of usec on 1300 MHz CPUs.
> > Since this code runs periodically every few seconds as a timer softirq on all
> > CPUs, holdoffs can occur frequently.
> >
> > Has anyone looked into less interruptive alternatives to running cache_reap
> > this way (for the 2.6 kernel), or maybe looked into potential optimizations
> > to the routine itself?
> >
>
> Do you have stack backtraces? I thought the problem was via the RCU
> softirq callbacks, not via the timer interrupt. Dipankar spent some time
> looking at the RCU-related problem but solutions are not comfortable.
>
> What workload is triggering this?
>
The IA/64 backtrace with all the cruft removed looks as follows:
0xa000000100149ac0 reap_timer_fnc+0x100
0xa0000001000f4d70 run_timer_softirq+0x2d0
0xa0000001000e9440 __do_softirq+0x200
0xa0000001000e94e0 do_softirq+0x80
0xa000000100017f50 ia64_handle_irq+0x190
The system is running mostly AIM7, but I've seen holdoffs > 30 usec with
virtually no load on the system.
Which uncomfortable solutions (which could relate to this case) have been
investigated?
Dimitri Sivanich <sivanich@sgi.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2004-05-24 15:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 15:41 Dimitri Sivanich
2004-05-22 2:16 ` Andrew Morton
2004-05-24 15:39 ` Dimitri Sivanich [this message]
2004-05-24 21:53 ` Andrew Morton
2004-06-01 21:40 ` Dimitri Sivanich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405241539.i4OFddJQ016338@fsgi142.americas.sgi.com \
--to=sivanich@sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox