From: David Henningsson <david.henningsson@canonical.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: John Stultz <johnstul@us.ibm.com>,
linux-kernel@vger.kernel.org, tglx@linutronix.de,
Arun Raghavan <arun.raghavan@collabora.co.uk>
Subject: Re: getnstimeofday stuck for several milliseconds?
Date: Tue, 13 Nov 2012 09:26:51 +0100 [thread overview]
Message-ID: <50A2044B.8040002@canonical.com> (raw)
In-Reply-To: <1352765720.18025.21.camel@gandalf.local.home>
On 11/13/2012 01:15 AM, Steven Rostedt wrote:
> On Mon, 2012-11-12 at 15:53 -0800, John Stultz wrote:
>
>> Cc'ing Steven to see if he can't help understand whats going on here.
>
> I don't trust the trace...
Thanks John and Steven!
I've redone the trace with the global clock and got a different stack
trace, this time at 11 ms in total. (I don't know how much of these 11
ms are caused from the tracing overhead?)
The result is here:
http://pastebin.se/jxxqf8pt
and most of the time it seems to be these lines repeating:
compiz-1975 0.N.1 11us+: arch_flush_lazy_mmu_mode <-kmap_atomic_prot
compiz-1975 0.N.1 16us : __kunmap_atomic <-drm_clflush_page
compiz-1975 0.N.1 16us : native_flush_tlb_single <-__kunmap_atomic
compiz-1975 0.N.1 17us : arch_flush_lazy_mmu_mode <-__kunmap_atomic
compiz-1975 0.N.. 18us : drm_clflush_page <-drm_clflush_sg
compiz-1975 0.N.. 18us : kmap_atomic <-drm_clflush_page
compiz-1975 0.N.. 19us : kmap_atomic_prot <-kmap_atomic
There are also occasionally sched* tasks going on at other CPUs. If you
would excuse a layman's question - why can't we just schedule alsa-sink
on another CPU, if this one is busy with doing graphics stuff?
For reference, test kernel and test case were the same this time around
(3.7rc2, then playing a game for a few minutes).
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
prev parent reply other threads:[~2012-11-13 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 8:51 getnstimeofday stuck for several milliseconds? David Henningsson
2012-11-12 23:53 ` John Stultz
2012-11-13 0:09 ` John Stultz
2012-11-13 0:15 ` Steven Rostedt
2012-11-13 8:26 ` David Henningsson [this message]
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=50A2044B.8040002@canonical.com \
--to=david.henningsson@canonical.com \
--cc=arun.raghavan@collabora.co.uk \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--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.