linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Schmidt <mista.tapas@gmx.net>
To: Florian Schmidt <mista.tapas@gmx.net>
Cc: Ingo Molnar <mingo@elte.hu>, "K.R. Foley" <kr@cybsft.com>,
	Mark_H_Johnson@raytheon.com, linux-kernel@vger.kernel.org,
	Lee Revell <rlrevell@joe-job.com>,
	Rui Nuno Capela <rncbc@rncbc.org>, Bill Huey <bhuey@lnxw.com>,
	Adam Heath <doogie@debian.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Michal Schmidt <xschmi00@stud.feec.vutbr.cz>,
	Fernando Pablo Lopez-Lezcano <nando@ccrma.Stanford.EDU>,
	Karsten Wiese <annabellesgarden@yahoo.de>,
	Gunther Persoons <gunther_persoons@spymac.com>,
	emann@mrv.com, Shane Shrybman <shrybman@aei.ca>,
	Amit Shah <amit.shah@codito.com>,
	Stefan Schweizer <sschweizer@gmail.com>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3
Date: Tue, 16 Nov 2004 22:32:43 +0100	[thread overview]
Message-ID: <20041116223243.43feddf4@mango.fruits.de> (raw)
In-Reply-To: <20041116222039.662f41ac@mango.fruits.de>

On Tue, 16 Nov 2004 22:20:39 +0100
Florian Schmidt <mista.tapas@gmx.net> wrote:

> /proc/latency_trace doesn't show that high latencies either on console
> switch:
> 

correction: now i do see large wakeup latencies in /proc/latency_trace, but
only when rtc_wakeup is not running [??? :)]. something's fishy..

(IRQ 1/18/CPU#0): new 2 us maximum-latency wakeup.
(IRQ 1/18/CPU#0): new 3 us maximum-latency wakeup.
(syslogd/302/CPU#0): new 4 us maximum-latency wakeup.
(ksoftirqd/0/3/CPU#0): new 4 us maximum-latency wakeup.
(ksoftirqd/0/3/CPU#0): new 5 us maximum-latency wakeup.
(IRQ 0/2/CPU#0): new 857 us maximum-latency wakeup.
(IRQ 0/2/CPU#0): new 891 us maximum-latency wakeup.
(IRQ 0/2/CPU#0): new 976 us maximum-latency wakeup.
(IRQ 0/2/CPU#0): new 1117 us maximum-latency wakeup.

It seems this excerpt from below trace is characteristic for all the long
traces:

   5 80000002 0.001ms (+1.114ms): __do_softirq (do_softirq)
   5 00000000 1.115ms (+0.000ms): preempt_schedule (_mmx_memcpy)

preemption latency trace v1.0.7 on 2.6.10-rc2-mm1-RT-V0.7.27-10
-------------------------------------------------------
 latency: 1117 us, entries: 22 (22)   |   [VP:0 KP:1 SP:1 HP:1 #CPUS:1]
    -----------------
    | task: IRQ 0/2, uid:0 nice:0 policy:1 rt_prio:50
    -----------------
 => started at: try_to_wake_up+0x51/0x170 <c010f3a1>
 => ended at:   finish_task_switch+0x51/0xb0 <c010f911>
=======>
    5 80010004 0.000ms (+0.000ms): trace_start_sched_wakeup (try_to_wake_up)
    5 80010003 0.000ms (+0.000ms): (49) ((98))
    5 80010003 0.000ms (+0.000ms): (2) ((5))
    5 80010003 0.000ms (+0.000ms): try_to_wake_up (wake_up_process)
    5 80010003 0.000ms (+0.000ms): (0) ((1))
    5 80010002 0.000ms (+0.000ms): preempt_schedule (try_to_wake_up)
    5 80010002 0.000ms (+0.000ms): wake_up_process (redirect_hardirq)
    5 80010001 0.000ms (+0.000ms): preempt_schedule (__do_IRQ)
    5 80010001 0.000ms (+0.000ms): irq_exit (do_IRQ)
    5 80000002 0.000ms (+0.000ms): do_softirq (irq_exit)
    5 80000002 0.001ms (+1.114ms): __do_softirq (do_softirq)
    5 00000000 1.115ms (+0.000ms): preempt_schedule (_mmx_memcpy)
    5 90000000 1.115ms (+0.000ms): __schedule (preempt_schedule)
    5 90000000 1.115ms (+0.000ms): profile_hit (__schedule)
    5 90000001 1.116ms (+0.000ms): sched_clock (__schedule)
    2 80000002 1.116ms (+0.000ms): __switch_to (__schedule)
    2 80000002 1.116ms (+0.000ms): (5) ((2))
    2 80000002 1.116ms (+0.000ms): (98) ((49))
    2 80000002 1.116ms (+0.000ms): finish_task_switch (__schedule)
    2 80000001 1.116ms (+0.000ms): trace_stop_sched_switched (finish_task_switch)
    2 80000001 1.116ms (+0.003ms): (2) ((49))
    2 80000001 1.120ms (+0.000ms): trace_stop_sched_switched (finish_task_switch)

Ah, and one more thing: When i boot up the computer my init script sets irq
3 to prio 98. But it seems the irq handler's priority changes actually when
the soundcard is used the first time. So i need to re-set the irq prio
_after_ i have  used the soundcard for the first time..

flo

  reply	other threads:[~2004-11-16 21:32 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16 16:09 [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Mark_H_Johnson
2004-11-16 18:43 ` Ingo Molnar
2004-11-16 18:41   ` K.R. Foley
2004-11-16 19:51   ` K.R. Foley
2004-11-16 21:24     ` Ingo Molnar
2004-11-16 21:20       ` Florian Schmidt
2004-11-16 21:32         ` Florian Schmidt [this message]
2004-11-16 22:42           ` Ingo Molnar
2004-11-16 22:04             ` Florian Schmidt
2004-11-16 23:11               ` Ingo Molnar
2004-11-16 22:55                 ` Florian Schmidt
2004-11-16 23:29                   ` Florian Schmidt
2004-11-17  0:06                     ` john cooper
2004-11-17 11:23                       ` Florian Schmidt
2004-11-17 12:28                         ` Ingo Molnar
2004-11-17 13:02                         ` Ingo Molnar
2004-11-17 12:14                           ` Florian Schmidt
2004-11-17 13:41                             ` Ingo Molnar
2004-11-17 12:59                               ` Florian Schmidt
2004-11-17 13:35                                 ` Paul Ma
2004-11-17 13:45                             ` Ingo Molnar
2004-11-17 13:00                               ` Florian Schmidt
2004-11-17 15:01                                 ` Ingo Molnar
2004-11-17  6:19                   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-11 ???
2004-11-16 21:42         ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 K.R. Foley
2004-11-16 21:47           ` Florian Schmidt
2004-11-16 22:31         ` Ingo Molnar
2004-11-16 21:33           ` Florian Schmidt
2004-11-16 21:40             ` Florian Schmidt
2004-11-16 23:03               ` Ingo Molnar
2004-11-17  7:59       ` BUG with 0.7.27-11, with KGDB Amit Shah
2004-11-17  8:26         ` Bill Huey
2004-11-17  9:19           ` Bill Huey
2004-11-17 12:05             ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2004-11-17 14:01 [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Mark_H_Johnson
2004-11-16 16:15 Mark_H_Johnson
2004-11-16 17:39 ` K.R. Foley
2004-10-27  0:15 [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.3 Ingo Molnar
2004-11-03 10:58 ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.1 Ingo Molnar
2004-11-06 15:57   ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.18 Ingo Molnar
2004-11-08  9:16     ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.19 Ingo Molnar
2004-11-08 16:57       ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.21 Ingo Molnar
2004-11-09 16:05         ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.23 Ingo Molnar
2004-11-11 14:44           ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-0 Ingo Molnar
2004-11-11 21:51             ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-1 Ingo Molnar
2004-11-16 12:54               ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-0 Ingo Molnar
2004-11-16 13:09                 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-1 Ingo Molnar
2004-11-16 13:40                   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Ingo Molnar
2004-11-16 14:20                     ` Florian Schmidt
2004-11-16 15:08                       ` Florian Schmidt
2004-11-16 15:29                         ` Florian Schmidt
2004-11-16 15:52                           ` Stefan Schweizer
2004-11-16 18:43                     ` Marcos D. Marado Torres
2004-11-16 18:51                       ` Lee Revell
2004-11-16 19:53                       ` Ingo Molnar
2004-11-17  0:36                     ` Bill Huey

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=20041116223243.43feddf4@mango.fruits.de \
    --to=mista.tapas@gmx.net \
    --cc=Mark_H_Johnson@raytheon.com \
    --cc=amit.shah@codito.com \
    --cc=annabellesgarden@yahoo.de \
    --cc=bhuey@lnxw.com \
    --cc=doogie@debian.org \
    --cc=emann@mrv.com \
    --cc=gunther_persoons@spymac.com \
    --cc=kr@cybsft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nando@ccrma.Stanford.EDU \
    --cc=rlrevell@joe-job.com \
    --cc=rncbc@rncbc.org \
    --cc=shrybman@aei.ca \
    --cc=sschweizer@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=xschmi00@stud.feec.vutbr.cz \
    /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;
as well as URLs for NNTP newsgroup(s).