public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.19-rc6-rt5
Date: Wed, 22 Nov 2006 12:37:49 +0100	[thread overview]
Message-ID: <20061122113749.GY18636@pengutronix.de> (raw)
In-Reply-To: <20061120220230.GA30835@elte.hu>

On Mon, Nov 20, 2006 at 11:02:30PM +0100, Ingo Molnar wrote:
> i've released the 2.6.19-rc6-rt5 tree, which can be downloaded from the 
> usual place:

[...]

> as usual, bugreports, fixes and suggestions are welcome,

I have problems runinng cyclictest on the more recent -rt kernels. A
similar problem I reported recently on a Pentium M / ICH6 Dell box is
solved by using the acpi_pm timer. 

The problematic box is a 700 MHz Celeron (Coppermine) which doesn't have
ACPI.

The last kernel that run with sane cyclictest results was 2.6.18-rt6:

- root@krachkiste:~/cyclictest-v0.11 ./cyclictest -n -t 4 -p 90 -l 10000
  0.13 0.10 0.13 1/52 2721          
  
  T: 0 ( 2718) P:90 I:    1000 C:   10000 Min:      14 Act:      47 Avg:      52 Max:     170
  T: 1 ( 2719) P:89 I:    1500 C:    6667 Min:      16 Act:      22 Avg:      45 Max:     138
  T: 2 ( 2720) P:88 I:    2000 C:    5001 Min:      16 Act:      35 Avg:      44 Max:     101
  T: 3 ( 2721) P:87 I:    2500 C:    4001 Min:      14 Act:      28 Avg:      38 Max:     114

The following numbers have been taken on 2.6.19-rc6-rt5, the effect is there
since 2.6.18-rt7.

- "cyclictest -n -p 90 -t 4" is just "running upwards". 

  root@krachkiste:~/cyclictest-v0.11 ./cyclictest -n -p 90 -t 4 -l 1000
  0.00 0.00 0.00 1/54 2843          
  
  T: 0 ( 2840) P:90 I:    1000 C:    1000 Min:    7294 Act: 3008486 Avg: 1508852 Max: 3008486
  T: 1 ( 2841) P:89 I:    1500 C:    1000 Min:    7195 Act: 2508885 Avg: 1258994 Max: 2508885
  T: 2 ( 2842) P:88 I:    2000 C:    1000 Min:    7188 Act: 2009375 Avg: 1009235 Max: 2009375
  T: 3 ( 2843) P:87 I:    2500 C:    1000 Min:    7184 Act: 1509868 Avg:  759479 Max: 1509868

- Using a relative timer (-r), I get huge latencies:

  root@krachkiste:~/cyclictest-v0.11 ./cyclictest -n -p 90 -t 4 -r -l 1000
  0.00 0.00 0.00 1/56 2838          
  
  T: 0 ( 2835) P:90 I:    1000 C:    1000 Min:     742 Act:    6937 Avg:    6952 Max:    9214
  T: 1 ( 2836) P:89 I:    1500 C:    1000 Min:     244 Act:    6424 Avg:    6454 Max:    8718
  T: 2 ( 2837) P:88 I:    2000 C:     999 Min:    1288 Act:    5910 Avg:    5962 Max:    8216
  T: 3 ( 2838) P:87 I:    2500 C:     999 Min:     778 Act:    5409 Avg:    5462 Max:    7713

This is with "lapic lapictimer" on the kernel commandline. 

The system has chosen "pit" as it's clocksource, switching to tsc or jiffies
doesn't change anything. 

With 2.6.18-rt6 I've seen these lines in the dmesg output:

Nov 22 12:05:24 krachkiste kernel: Time: tsc clocksource has been installed.
Nov 22 12:05:24 krachkiste kernel: Event source pit disabled
Nov 22 12:05:24 krachkiste kernel: Event source lapic configured with caps set: 08
Nov 22 12:05:24 krachkiste kernel: hrtimers: Switched to high resolution mode CPU 0

Especially the "Switched to high resolution mode" isn't there with the later
kernels (high resolution timers is on in the config, dyntick is off).

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


  parent reply	other threads:[~2006-11-22 11:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 22:02 2.6.19-rc6-rt5 Ingo Molnar
2006-11-20 22:39 ` 2.6.19-rc6-rt5 Alistair John Strachan
2006-11-21  7:17   ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-20 23:18 ` 2.6.19-rc6-rt5 Alistair John Strachan
2006-11-21  7:20   ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-21  1:35 ` 2.6.19-rc6-rt5 Sergio Monteiro Basto
2006-11-21  8:04   ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-21  3:07 ` compile problems 2.6.19-rc6-rt5 Sergio Monteiro Basto
2006-11-21  7:43   ` Ingo Molnar
2006-11-21  7:54   ` Ingo Molnar
2006-11-22 11:37 ` Robert Schwebel [this message]
2006-11-23 20:43   ` 2.6.19-rc6-rt5 Eduardo Valentin
2006-11-23 21:11     ` 2.6.19-rc6-rt5 Robert Schwebel
2006-11-22 14:06 ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-28 17:33   ` 2.6.19-rc6-rt5 Lee Revell
2006-11-28 19:53     ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-28 20:16       ` 2.6.19-rc6-rt5 Lee Revell
2006-11-28 20:15     ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-28 22:52       ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-29  6:54         ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-26 14:39 ` 2.6.19-rc6-rt5 Karsten Wiese
2006-11-27  7:48   ` 2.6.19-rc6-rt5 Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21 12:01 2.6.19-rc6-rt5 Marcus Hartig
2006-11-21 12:45 ` 2.6.19-rc6-rt5 Karsten Wiese
2006-11-25 22:01 2.6.19-rc6-rt5 Thomas

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=20061122113749.GY18636@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox