From: Andi Kleen <andi@firstfloor.org>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: "Thomas Gleixner" <tglx@linutronix.de>,
"Ingo Molnar" <mingo@elte.hu>, <linux-kernel@vger.kernel.org>,
<linux-pm@lists.linux-foundation.org>,
lenb@kernel.org
Subject: Re: Higer latency with dynamic tick (need for an io-ondemand govenor?)
Date: Sun, 20 Apr 2008 14:41:05 +0200 [thread overview]
Message-ID: <87ej90aece.fsf@basil.nowhere.org> (raw)
In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D91302742904131BED@dlee13.ent.ti.com> (Richard Woodruff's message of "Fri, 18 Apr 2008 10:43:32 -0500")
"Woodruff, Richard" <r-woodruff2@ti.com> writes:
> When capturing some traces with dynamic tick we were noticing the
> interrupt latency seems to go up a good amount. If you look at the trace
> the gpio IRQ is now offset a good amount. Good news I guess is its
> pretty predictable.
>
> * If we couple this with progressively higher latency C-States we see
> that IO speed can fall by a good amount, especially for PIO mixes. Now
> if QOS is maintained you may or may-not care.
>
> I was wondering what thoughts of optimizing this might be.
>
> One thought was if an io-ondemand of some sort was used. It could track
> interrupt statistics and be feed back into cpu-idle. When there is a
> high interrupt load period it could shrink the acceptable latency and
> thus help choose a good a C-State which favors throughput. Some moving
> average window could be used to track it.
>
> Perhaps a new interrupt attribute could be attached at irq request time
> to allow the tracking of bandwidth important devices.
>
> The attached is captured on a .22 kernel. The same should be available
> in a bit on a .24 kernel.
Are you talking about x86?
On older x86 this effect should have been handled by the C state
algorithm taking the bus master activity register into account (which
should also trigger for interrupts)
But I think the register has been nop'ed on newer platforms
so indeed we'll need some way to handle this.
-Andi
next prev parent reply other threads:[~2008-04-20 12:41 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 23:20 bug seen with dynticks from CONFIG_HARDIRQS_SW_RESEND Woodruff, Richard
2007-05-17 10:10 ` Thomas Gleixner
2007-05-17 20:14 ` Woodruff, Richard
2007-05-17 20:38 ` Thomas Gleixner
2007-05-17 22:24 ` Woodruff, Richard
2007-05-18 7:49 ` Thomas Gleixner
2008-04-18 15:43 ` Higer latency with dynamic tick (need for an io-ondemand govenor?) Woodruff, Richard
2008-04-18 15:43 ` Woodruff, Richard
2008-04-19 3:45 ` David Brownell
2008-04-19 3:45 ` [linux-pm] " David Brownell
2008-04-19 7:13 ` Thomas Gleixner
2008-04-19 22:49 ` david
2008-04-20 3:51 ` David Brownell
2008-04-20 3:51 ` [linux-pm] " David Brownell
2008-04-19 22:49 ` david
2008-04-19 7:13 ` Thomas Gleixner
2008-04-20 6:19 ` Arjan van de Ven
2008-04-20 14:09 ` Woodruff, Richard
2008-04-20 14:09 ` Woodruff, Richard
2008-04-20 6:19 ` Arjan van de Ven
2008-04-20 12:41 ` Andi Kleen
2008-04-20 12:41 ` Andi Kleen [this message]
2008-04-20 14:21 ` Woodruff, Richard
2008-04-20 14:21 ` Woodruff, Richard
2008-04-20 14:26 ` Andi Kleen
2008-04-20 14:26 ` Andi Kleen
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=87ej90aece.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=mingo@elte.hu \
--cc=r-woodruff2@ti.com \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.