All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Gene Heskett <gene.heskett@verizon.net>
Cc: linux-kernel@vger.kernel.org, Eran Mann <emann@mrv.com>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.32-2
Date: Tue, 7 Dec 2004 22:47:15 +0100	[thread overview]
Message-ID: <20041207214715.GB12879@elte.hu> (raw)
In-Reply-To: <200412071340.42731.gene.heskett@verizon.net>


* Gene Heskett <gene.heskett@verizon.net> wrote:

> I'd like to report a slight improvement in the reports from tvtime
> while running 32-6 with full preemtion turned on, cfq scheduler:
> 
> ------
> Dec  7 13:29:39 coyote kernel: wow!  That was a 15 millisec bump
> Dec  7 13:29:39 coyote kernel: `IRQ 8'[838] is being piggy.
> need_resched=0, cpu=0
> Dec  7 13:29:39 coyote kernel: Read missed before next interrupt
> -----
> Each second of the log contains about 27 of these, so its pretty
> steady.  Picture looks pretty good though.
>
> Although, that particular snip was taken from the log while I was
> *not* on the same screen as tvtime.  Switching back it its screen
> returned the slip times to the 22 millisecond area. [...]

could enable WAKEUP_TIMING and LATENCY_TRACING, boot into the new kernel
and do:

	echo 0 > /proc/sys/kernel/preempt_max_latency

then you'll get the worst-case trace in /proc/latency_trace. Does it
show any millisecs-range latencies?

also, do this:

  chrt -f 90 -p `pidof 'IRQ 8'`
  chrt -f 91 -p `pidof 'IRQ 0'`

to make sure IRQ8 doesnt get preempted by other stuff. How often do you
get the rtc histogram in the syslog? Does tvtime use /dev/rtc for normal
operations perhaps? If yes then you might want to disable RTC_HISTOGRAM.

	Ingo

  reply	other threads:[~2004-12-07 21:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OFD07DEEA4.7C243C76-ON86256F5F.007976EC@raytheon.com>
     [not found] ` <20041204175636.GA3115@elte.hu>
2004-12-07 14:37   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.32-2 Eran Mann
2004-12-07 15:37     ` Ingo Molnar
2004-12-07 17:51       ` Eran Mann
2004-12-07 18:40       ` Gene Heskett
2004-12-07 21:47         ` Ingo Molnar [this message]
2004-12-08  1:05           ` Gene Heskett
2004-12-08 19:48             ` john cooper
2004-12-08 20:38               ` Gene Heskett

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=20041207214715.GB12879@elte.hu \
    --to=mingo@elte.hu \
    --cc=emann@mrv.com \
    --cc=gene.heskett@verizon.net \
    --cc=linux-kernel@vger.kernel.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 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.