From: Michal Schmidt <xschmi00@stud.feec.vutbr.cz>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org,
"Eugeny S. Mints" <emints@ru.mvista.com>,
Daniel Walker <dwalker@mvista.com>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00
Date: Wed, 08 Jun 2005 16:32:26 +0200 [thread overview]
Message-ID: <42A7017A.6080102@stud.feec.vutbr.cz> (raw)
In-Reply-To: <20050608112801.GA31084@elte.hu>
Ingo Molnar wrote:
> i have released the -V0.7.48-00 Real-Time Preemption patch, which can be
> downloaded from the usual place:
With -V0.7.48-01 I get interestingly long latency traces. For example
this one is 277 us. This is on i386. I've put the full trace to:
http://www.uamt.feec.vutbr.cz/rizeni/pom/latency_trace-RT-V0.7.48-01.txt
Because of the presence of __wake_up_sync there, I'd guess it has
something to do with the NEED_RESCHED_DELAYED thing.
Here's an excerpt of it:
preemption latency trace v1.1.4 on 2.6.12-rc6-RT-V0.7.48-01
--------------------------------------------------------------------
latency: 277 us, #2349/2349, CPU#0 | (M:rt VP:0, KP:1, SP:1 HP:1 #P:1)
-----------------
| task: XFree86-5780 (uid:0 nice:-10 policy:0 rt_prio:0)
-----------------
_------=> CPU#
/ _-----=> irqs-off
| / _----=> need-resched
|| / _---=> hardirq/softirq
||| / _--=> preempt-depth
|||| /
||||| delay
cmd pid ||||| time | caller
\ / ||||| \ | /
mozilla--6007 0Dnh2 0us!: <697a6f6d> (<2d616c6c>)
mozilla--6007 0Dnh2 0us : __trace_start_sched_wakeup (try_to_wake_up)
mozilla--6007 0.... 0us : _spin_unlock_irqrestore (__wake_up_sync)
mozilla--6007 0.... 0us : up_mutex (__wake_up_sync)
mozilla--6007 0.... 0us : __up_mutex (up_mutex)
mozilla--6007 0.... 0us : _read_unlock (sock_wfree)
mozilla--6007 0.... 0us : up_read_mutex (sock_wfree)
mozilla--6007 0.... 1us : up_write_mutex (sock_wfree)
mozilla--6007 0.... 1us : __up_mutex (up_write_mutex)
mozilla--6007 0.... 1us : kfree_skbmem (unix_stream_recvmsg)
mozilla--6007 0.... 1us : skb_release_data (kfree_skbmem)
mozilla--6007 0.... 1us : kfree (kfree_skbmem)
mozilla--6007 0.... 1us : __local_save_flags (kfree)
mozilla--6007 0.... 1us : _spin_lock (kfree)
mozilla--6007 0.... 2us : __spin_lock (_spin_lock)
mozilla--6007 0.... 2us : __might_sleep (__spin_lock)
mozilla--6007 0.... 2us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 2us : _down_mutex (__spin_lock)
mozilla--6007 0.... 2us : __down_mutex (__spin_lock)
mozilla--6007 0...1 2us : grab_lock (__down_mutex)
mozilla--6007 0...1 2us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 2us : _spin_unlock (kfree)
mozilla--6007 0.... 2us : up_mutex (kfree)
mozilla--6007 0.... 3us : __up_mutex (up_mutex)
mozilla--6007 0.... 3us : kmem_cache_free (kfree_skbmem)
mozilla--6007 0.... 3us : __local_save_flags (kmem_cache_free)
mozilla--6007 0.... 3us : _spin_lock (kmem_cache_free)
mozilla--6007 0.... 3us : __spin_lock (_spin_lock)
mozilla--6007 0.... 3us : __might_sleep (__spin_lock)
mozilla--6007 0.... 3us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 3us : _down_mutex (__spin_lock)
mozilla--6007 0.... 3us : __down_mutex (__spin_lock)
mozilla--6007 0...1 4us : grab_lock (__down_mutex)
mozilla--6007 0...1 4us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 4us : _spin_unlock (kmem_cache_free)
mozilla--6007 0.... 4us : up_mutex (kmem_cache_free)
mozilla--6007 0.... 4us : __up_mutex (up_mutex)
mozilla--6007 0.... 4us : skb_dequeue (unix_stream_recvmsg)
mozilla--6007 0.... 4us : _spin_lock_irqsave (skb_dequeue)
mozilla--6007 0.... 4us : __spin_lock (_spin_lock_irqsave)
mozilla--6007 0.... 5us : __might_sleep (__spin_lock)
mozilla--6007 0.... 5us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 5us : _down_mutex (__spin_lock)
mozilla--6007 0.... 5us : __down_mutex (__spin_lock)
mozilla--6007 0...1 5us : grab_lock (__down_mutex)
mozilla--6007 0...1 5us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 5us : __local_save_flags (_spin_lock_irqsave)
mozilla--6007 0.... 5us : _spin_unlock_irqrestore (skb_dequeue)
.
.
.
mozilla--6007 0.... 268us : __wake_up_common (__wake_up_sync)
mozilla--6007 0.... 268us : default_wake_function (__wake_up_common)
mozilla--6007 0.... 268us : try_to_wake_up (__wake_up_common)
mozilla--6007 0.... 268us : _spin_unlock_irqrestore (__wake_up_sync)
mozilla--6007 0.... 268us : up_mutex (__wake_up_sync)
mozilla--6007 0.... 269us : __up_mutex (up_mutex)
mozilla--6007 0.... 269us : _read_unlock (sock_wfree)
mozilla--6007 0.... 269us : up_read_mutex (sock_wfree)
mozilla--6007 0.... 269us : up_write_mutex (sock_wfree)
mozilla--6007 0.... 269us : __up_mutex (up_write_mutex)
mozilla--6007 0.... 269us : kfree_skbmem (unix_stream_recvmsg)
mozilla--6007 0.... 269us : skb_release_data (kfree_skbmem)
mozilla--6007 0.... 269us : kfree (kfree_skbmem)
mozilla--6007 0.... 270us : __local_save_flags (kfree)
mozilla--6007 0.... 270us : _spin_lock (kfree)
mozilla--6007 0.... 270us : __spin_lock (_spin_lock)
mozilla--6007 0.... 270us : __might_sleep (__spin_lock)
mozilla--6007 0.... 270us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 270us : _down_mutex (__spin_lock)
mozilla--6007 0.... 270us : __down_mutex (__spin_lock)
mozilla--6007 0...1 270us : grab_lock (__down_mutex)
mozilla--6007 0...1 270us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 270us : _spin_unlock (kfree)
mozilla--6007 0.... 271us : up_mutex (kfree)
mozilla--6007 0.... 271us : __up_mutex (up_mutex)
mozilla--6007 0.... 271us : kmem_cache_free (kfree_skbmem)
mozilla--6007 0.... 271us : __local_save_flags (kmem_cache_free)
mozilla--6007 0.... 271us : _spin_lock (kmem_cache_free)
mozilla--6007 0.... 271us : __spin_lock (_spin_lock)
mozilla--6007 0.... 271us : __might_sleep (__spin_lock)
mozilla--6007 0.... 271us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 271us : _down_mutex (__spin_lock)
mozilla--6007 0.... 271us : __down_mutex (__spin_lock)
mozilla--6007 0...1 272us : grab_lock (__down_mutex)
mozilla--6007 0...1 272us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 272us : _spin_unlock (kmem_cache_free)
mozilla--6007 0.... 272us : up_mutex (kmem_cache_free)
mozilla--6007 0.... 272us : __up_mutex (up_mutex)
mozilla--6007 0.... 272us : rt_up (unix_stream_recvmsg)
mozilla--6007 0...1 272us : __up_mutex (rt_up)
mozilla--6007 0.... 273us : dnotify_parent (vfs_read)
mozilla--6007 0.... 273us : _spin_lock (dnotify_parent)
mozilla--6007 0.... 273us : __spin_lock (_spin_lock)
mozilla--6007 0.... 273us : __might_sleep (__spin_lock)
mozilla--6007 0.... 273us : irqs_disabled (__might_sleep)
mozilla--6007 0.... 273us : _down_mutex (__spin_lock)
mozilla--6007 0.... 273us : __down_mutex (__spin_lock)
mozilla--6007 0...1 273us : grab_lock (__down_mutex)
mozilla--6007 0...1 274us : __down_mutex <mozilla--6007> (7d 0)
mozilla--6007 0.... 274us : _spin_unlock (vfs_read)
mozilla--6007 0.... 274us : up_mutex (vfs_read)
mozilla--6007 0.... 274us : __up_mutex (up_mutex)
mozilla--6007 0.... 274us : fput (sys_read)
mozilla--6007 0Dnh. 274us : __schedule (work_resched)
mozilla--6007 0Dnh. 275us : profile_hit (__schedule)
mozilla--6007 0Dnh1 275us : sched_clock (__schedule)
mozilla--6007 0Dnh1 275us : local_irq_disable (__schedule)
<...>-5780 0dnh2 276us : __switch_to (__schedule)
<...>-5780 0dnh2 276us : __schedule <mozilla--6007> (7d 73)
<...>-5780 0dnh1 276us : trace_stop_sched_switched (__schedule)
<...>-5780 0dnh1 276us : trace_stop_sched_switched <<...>-5780> (73 0)
<...>-5780 0dnh1 277us : trace_stop_sched_switched (__schedule)
next prev parent reply other threads:[~2005-06-08 14:33 UTC|newest]
Thread overview: 139+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 11:28 [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00 Ingo Molnar
2005-06-08 14:18 ` Michal Schmidt
2005-06-08 14:40 ` Keith Owens
2005-06-08 14:41 ` Paulo Marques
2005-06-08 15:04 ` Michal Schmidt
2005-06-08 15:23 ` Keith Owens
2005-06-08 15:56 ` Paulo Marques
2005-06-08 14:32 ` Michal Schmidt [this message]
2005-06-08 15:48 ` K.R. Foley
2005-06-08 16:08 ` K.R. Foley
2005-06-08 16:26 ` K.R. Foley
2005-06-08 17:26 ` K.R. Foley
2005-06-08 19:18 ` Ingo Molnar
2005-06-09 11:39 ` Ingo Molnar
2005-06-10 13:34 ` K.R. Foley
2005-06-09 8:47 ` Serge Noiraud
2005-06-09 11:55 ` Ingo Molnar
2005-06-09 15:12 ` Serge Noiraud
2005-06-09 16:34 ` Daniel Walker
2005-06-13 8:53 ` Serge Noiraud
2005-06-13 9:07 ` Ingo Molnar
2005-06-08 17:51 ` Michal Schmidt
2005-06-09 11:45 ` Ingo Molnar
2005-06-09 12:09 ` Michal Schmidt
2005-06-09 12:13 ` Ingo Molnar
2005-06-09 12:48 ` Michal Schmidt
2005-06-10 8:56 ` Esben Nielsen
2005-06-08 19:58 ` Daniel Walker
2005-06-09 21:24 ` Michal Schmidt
2005-06-09 21:34 ` Michal Schmidt
2005-06-11 7:32 ` Ingo Molnar
2005-06-11 8:10 ` Ingo Molnar
2005-06-11 16:35 ` Peter Zijlstra
2005-06-11 18:48 ` Ingo Molnar
2005-06-11 21:14 ` Peter Zijlstra
2005-06-12 1:40 ` Gene Heskett
2005-06-12 6:49 ` Ingo Molnar
2005-06-12 9:02 ` Gene Heskett
2005-06-12 10:35 ` Ingo Molnar
2005-06-12 13:40 ` Gene Heskett
2005-06-12 13:49 ` Ingo Molnar
2005-06-12 14:23 ` Gene Heskett
2005-06-13 2:11 ` Gene Heskett
2005-06-13 6:09 ` Ingo Molnar
2005-06-13 8:37 ` Gene Heskett
2005-06-14 18:24 ` K.R. Foley
2005-06-14 18:54 ` Ingo Molnar
2005-06-14 22:45 ` Daniel Walker
2005-06-15 6:12 ` Ingo Molnar
2005-06-15 9:13 ` Esben Nielsen
2005-06-14 20:37 ` Paul E. McKenney
2005-06-16 3:51 ` K.R. Foley
2005-06-16 7:29 ` Ingo Molnar
2005-06-16 11:22 ` K.R. Foley
2005-06-16 17:32 ` Ingo Molnar
2005-06-16 17:59 ` K.R. Foley
2005-06-16 20:37 ` K.R. Foley
2005-06-17 11:08 ` Ingo Molnar
2005-06-16 20:43 ` Ingo Molnar
2005-06-17 2:06 ` Gene Heskett
2005-06-17 4:53 ` Gene Heskett
2005-06-17 11:18 ` Ingo Molnar
2005-06-17 14:12 ` K.R. Foley
2005-06-17 15:33 ` K.R. Foley
2005-06-17 19:28 ` William Weston
2005-06-17 21:30 ` William Weston
2005-06-18 12:28 ` Ingo Molnar
2005-06-21 1:18 ` William Weston
2005-06-23 2:05 ` William Weston
2005-06-23 7:56 ` Ingo Molnar
2005-06-23 13:45 ` Gene Heskett
2005-06-21 13:10 ` Ingo Molnar
2005-06-21 19:08 ` William Weston
2005-06-21 20:17 ` Benjamin LaHaise
2005-06-21 20:37 ` William Weston
2005-06-21 20:48 ` Benjamin LaHaise
2005-06-22 2:42 ` Gene Heskett
2005-06-22 7:40 ` Ingo Molnar
2005-06-22 13:27 ` Gene Heskett
2005-06-22 13:51 ` Gene Heskett
2005-06-22 14:08 ` Gene Heskett
2005-06-25 4:41 ` Ingo Molnar
2005-06-25 4:47 ` Ingo Molnar
2005-06-25 5:39 ` Gene Heskett
2005-06-25 7:26 ` Gene Heskett
2005-06-25 9:12 ` Ingo Molnar
2005-06-25 13:19 ` Gene Heskett
2005-06-25 14:39 ` Gene Heskett
2005-06-27 19:01 ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24 Chuck Harding
2005-06-27 19:42 ` Chuck Harding
2005-06-27 21:08 ` Gene Heskett
2005-06-27 20:09 ` Daniel Walker
2005-06-27 20:28 ` Chuck Harding
2005-06-28 0:50 ` Daniel Walker
2005-06-28 7:53 ` Steven Rostedt
2005-06-28 8:18 ` Ingo Molnar
2005-06-28 8:34 ` Steven Rostedt
2005-06-28 9:12 ` Ingo Molnar
2005-06-28 15:26 ` Michal Schmidt
2005-06-28 15:31 ` Ingo Molnar
2005-06-28 18:50 ` Chuck Harding
2005-06-28 22:16 ` Chuck Harding
2005-06-29 0:32 ` Chuck Harding
2005-06-28 15:54 ` Daniel Walker
2005-06-21 13:12 ` [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00 Ingo Molnar
[not found] ` <Pine.LNX.4.58.0506211228210.16701@echo.lysdexia.org>
2005-06-22 8:03 ` Ingo Molnar
2005-06-22 8:24 ` Ingo Molnar
2005-06-22 10:08 ` Ingo Molnar
2005-06-22 21:53 ` William Weston
2005-06-22 22:00 ` Ingo Molnar
2005-06-22 23:06 ` William Weston
2005-06-23 0:10 ` Ingo Molnar
2005-06-23 22:11 ` William Weston
2005-06-24 1:46 ` William Weston
2005-06-24 7:06 ` Ingo Molnar
2005-06-24 22:31 ` William Weston
2005-06-25 4:14 ` Ingo Molnar
2005-06-27 4:21 ` William Weston
2005-06-27 8:15 ` Ingo Molnar
2005-06-28 3:32 ` William Weston
2005-06-28 8:10 ` Ingo Molnar
2005-06-28 11:15 ` Ingo Molnar
[not found] ` <Pine.LNX.4.58.0506281745040.10406@echo.lysdexia.org>
2005-06-29 12:54 ` Ingo Molnar
2005-06-30 0:29 ` William Weston
2005-06-27 5:43 ` Gene Heskett
2005-06-27 8:17 ` Ingo Molnar
2005-06-27 17:29 ` Gene Heskett
2005-06-27 19:54 ` Ingo Molnar
2005-06-27 21:17 ` Gene Heskett
2005-06-28 8:28 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2005-06-08 14:02 kus Kusche Klaus
2005-06-08 14:14 ` Thomas Gleixner
2005-06-08 15:49 ` Daniel Walker
2005-06-08 15:50 ` Ingo Molnar
2005-06-08 16:23 ` Thomas Gleixner
2005-06-08 17:29 ` Daniel Walker
2005-06-08 19:24 ` Ingo Molnar
2005-06-12 9:29 Zoltan Boszormenyi
2005-06-12 10:39 ` Ingo Molnar
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=42A7017A.6080102@stud.feec.vutbr.cz \
--to=xschmi00@stud.feec.vutbr.cz \
--cc=dwalker@mvista.com \
--cc=emints@ru.mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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.