public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: yodaiken@fsmlabs.com
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	yodaiken@fsmlabs.com, William Lee Irwin III <wli@holomorphy.com>,
	Andrew Morton <akpm@digeo.com>,
	lm@work.bitmover.com, mbligh@aracnet.com, davidsen@tmr.com,
	greearb@candelatech.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Minutes from Feb 21 LSE Call
Date: Tue, 25 Feb 2003 08:44:50 -0700	[thread overview]
Message-ID: <20030225084450.B8282@hq.fsmlabs.com> (raw)
In-Reply-To: <20030225145912.GA4162@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Tue, Feb 25, 2003 at 06:59:12AM -0800

On Tue, Feb 25, 2003 at 06:59:12AM -0800, Bill Huey wrote:
> latency characteristics by what seems like some mild changes to the Linux
> kernel. I recently start to investigate their stuff, took a clue from them
> and became convince that this approach was very neat and elegant. MontaVista
> apparently uses this approach over other groups that run Linux as a thread
> in another RT kernel. Whether this, static analysis tools doing rate{deadline}-monotonic
> analysis and scheduler "reservations" (born from that RT theory I believe)
> are unclear to me at this moment. I just find this particular track neat
> and reminiscent of some FreeBSD ideals that I'd like to see fully working in
> an open source kernel.

There are two easy tests:
	1) Run a millisecond period real-time task on a system under
	heave load (not just compute load) and ping flood
	 and find worst case jitter.
	In our experience tests run for less than 24 hours are worthless.
	(I've seen a lot of numbers based on 1million interrupts -
	do the math and laugh)
	It's not fair to throttle the network to make the numbers come
	out better. Please also make clear how much of the kernel you
	had to rewrite to get your numbers: e.g. specially configured
	network drivers are nice, but have an impact on usability.

	BTW: a version of this test is distributed with RTLinux . 
	2) Run the same real-time task and run a known compute/I/O load
	such as the standard kernel compile to see the overhead of 
	real-time. Remember:
		hard cli:
		run RT code only
		
	produces great numbers for  (1) at the expense of (2) so
	no reconfiguration allowed between these tests.

	Now try these on some embedded processors that run under 
	1GHz and 1G memory.

FWIW: RTLinux numbers are 18microseconds jitter and about 15 seconds 
slowdown of a 5 minute kernel compile on a kinda wimpy P3.  On a 2.4Ghz
we do slightly better. I got 12 microseconds on a K7, the drop for 
embedded processors is low. PowerPCs are generally excellent. The 
second test requires a little more work on things like StrongArms
because nobody has the patience to time a kernel compile on those.

As for RMA, it's a nice trick, but of limited use. Instead of 
test (and design for testability) you get a formula for calculating
schedulability from the computation times of the tasks. But since we 
have no good way to estimate compute times of code without test, it
has the result of moving ignorance instead of removing it. Also, the
idea that frequency and priority are lock-step is simply incorrect
for many applications. When you start dealing with really esoteric
concepts: like demand driven tasks and shared resources,
RMA wheezes mightily.

Pre-allocation of resources is good for RT, although not especially
revolutionary. Traditional RT systems were written using cyclic 
schedulers. Many of our simulation customers use a "slot" or 
"frame" scheduler. Fortunately, these are really old ideas so I 
know about them.

Probably because of the well advertised low level of my knowledge and 
abilities, I advocate that RT systems be designed with simplicity and
testability in mind. We have found that exceptionally complex RT 
control systems can be developed on such a basis. Making the tools more
complicated does not seem to improve reliability or performance: 
the application performance is more interesting than features of the
OS.

You can see a nice illustration of the differences
between RTLinux and the TimeSys approach in my paper on priority
inheritance http://www.fsmlabs.com/articles/inherit/inherit.html
(Orignally http://www.linuxdevices.com/articles/AT7168794919.html)
and Doug Locke's response 
	http://www.linuxdevices.com/articles/AT5698775833.html

	


> 
> Top level link to many papers:
> 	http://linuxdevices.com/articles/AT6476691775.html
> 
> A paper I've take interest in recently from the top-level link:
> 	http://www.linuxdevices.com/articles/AT6078481804.html
> 
> People I originally talked to that influence my view on this:
> 	http://www-2.cs.cmu.edu/~rajkumar/linux-rk.html
> 
> > Its called engineering. There are multiple ways to build most things, each
> > with different advantages, there are multiple ways to model it each with
> > more accuracy in some areas. Knowing how to use the right tool is a lot 
> > more important than having some religion about it.
> 
> Yes, I agree. I'm not trying to make a religious assertion and I don't
> function that way. I just want things to work smoother and explore some
> interesting ideas that I think eventually will be highly relevant to a
> very broad embedded arena.
> 
> bill
>  

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com  www.rtlinux.com
1+ 505 838 9109


  reply	other threads:[~2003-02-25 15:48 UTC|newest]

Thread overview: 289+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0302221417120.2686-100000@coffee.psychology.mcmaster.ca>
     [not found] ` <1510000.1045942974@[10.10.2.4]>
2003-02-22 19:56   ` Minutes from Feb 21 LSE Call Larry McVoy
2003-02-22 20:24     ` William Lee Irwin III
2003-02-22 21:02     ` Martin J. Bligh
2003-02-22 22:06       ` Mark Hahn
2003-02-22 22:17         ` William Lee Irwin III
2003-02-22 23:28           ` Larry McVoy
2003-02-22 23:47             ` Martin J. Bligh
2003-02-23  0:09             ` Gerrit Huizenga
2003-02-23  8:01               ` Larry McVoy
2003-02-23  8:05                 ` William Lee Irwin III
2003-02-24 18:36             ` Andy Pfiffer
2003-02-22 22:44         ` Ben Greear
2003-02-23 23:29           ` Bill Davidsen
2003-02-23 23:37             ` Martin J. Bligh
2003-02-24  4:57               ` Larry McVoy
2003-02-24  6:10                 ` Gerhard Mack
2003-02-24  6:52                   ` Larry McVoy
2003-02-24  7:46                     ` Bill Huey
2003-02-24  7:44                 ` Bill Huey
2003-02-24  7:54                   ` William Lee Irwin III
2003-02-24  8:00                     ` Bill Huey
2003-02-24  8:40                       ` Andrew Morton
2003-02-24  8:50                         ` William Lee Irwin III
2003-02-24 16:17                           ` yodaiken
2003-02-24 23:13                             ` William Lee Irwin III
2003-02-24 23:27                               ` yodaiken
2003-02-24 23:54                                 ` William Lee Irwin III
2003-02-24 23:54                                   ` yodaiken
2003-02-25  2:17                                 ` Bill Huey
2003-02-25  2:24                                   ` yodaiken
2003-02-25  2:35                                     ` Bill Huey
2003-02-25  2:43                                     ` Bill Huey
2003-02-25  2:32                                   ` Larry McVoy
2003-02-25  2:40                                     ` Bill Huey
2003-02-25  5:24                                   ` Rik van Riel
2003-02-25 15:30                                   ` Alan Cox
2003-02-25 14:59                                     ` Bill Huey
2003-02-25 15:44                                       ` yodaiken [this message]
2003-02-26 19:31                                   ` Bill Davidsen
2003-02-27  0:56                                     ` Bill Huey
2003-02-27 20:04                                       ` Bill Davidsen
2003-02-25  2:07                             ` Bill Huey
2003-02-25  2:14                               ` Larry McVoy
2003-02-25  2:24                                 ` Bill Huey
2003-02-25  2:46                                   ` Valdis.Kletnieks
2003-02-25 14:47                                     ` Mr. James W. Laferriere
2003-02-25 15:59                                       ` Jesse Pollard
2003-02-24  8:56                         ` Bill Huey
2003-02-24  9:09                           ` Andrew Morton
2003-02-24  9:24                             ` Bill Huey
2003-02-24  9:56                               ` Andrew Morton
2003-02-24 10:11                                 ` Bill Huey
2003-02-24 14:40                           ` Bill Davidsen
2003-02-24 21:10                           ` Andrea Arcangeli
2003-02-24  8:43                       ` William Lee Irwin III
2003-02-22 23:10         ` Martin J. Bligh
2003-02-22 23:20           ` Larry McVoy
2003-02-22 23:46             ` Martin J. Bligh
2003-02-25  2:19         ` Hans Reiser
2003-02-25  3:49           ` Martin J. Bligh
2003-02-25  5:12             ` Steven Cole
2003-02-25 20:37               ` Scott Robert Ladd
2003-02-25 21:36                 ` Hans Reiser
2003-02-25 23:28                   ` Scott Robert Ladd
2003-02-25 23:41                     ` Hans Reiser
2003-02-26  0:19                       ` Scott Robert Ladd
2003-02-26  0:35                         ` Hans Reiser
2003-02-26 16:31                           ` Horst von Brand
2003-02-26  0:47                       ` Steven Cole
2003-02-26 16:07                       ` Horst von Brand
2003-02-26 19:47                         ` Alan Cox
2003-02-26  6:04                     ` Aaron Lehmann
2003-02-26  0:44                 ` Alan Cox
2003-02-25 23:58                   ` Scott Robert Ladd
2003-02-22 23:15       ` Larry McVoy
2003-02-22 23:23         ` Christoph Hellwig
2003-02-22 23:54           ` Mark Hahn
2003-02-22 23:44         ` Martin J. Bligh
2003-02-24  4:56           ` Larry McVoy
2003-02-24  5:06             ` William Lee Irwin III
2003-02-24  6:00               ` Mark Hahn
2003-02-24  6:02                 ` William Lee Irwin III
2003-02-24 15:06               ` Alan Cox
2003-02-24 23:18                 ` William Lee Irwin III
2003-02-24  5:16             ` Martin J. Bligh
2003-02-24  6:58               ` Larry McVoy
2003-02-24  7:39                 ` Martin J. Bligh
2003-02-24 16:17                   ` Larry McVoy
2003-02-24 16:49                     ` Martin J. Bligh
2003-02-25  0:41                       ` Server shipments [was Re: Minutes from Feb 21 LSE Call] Larry McVoy
2003-02-25  0:41                         ` Martin J. Bligh
2003-02-25  0:54                           ` Larry McVoy
2003-02-25  2:00                             ` Tupshin Harper
2003-02-25  3:54                               ` Martin J. Bligh
2003-02-25  3:00                             ` Martin J. Bligh
2003-02-25  3:13                               ` Larry McVoy
2003-02-25  4:11                                 ` Martin J. Bligh
2003-02-25  4:17                                   ` Larry McVoy
2003-02-25  4:21                                     ` Martin J. Bligh
2003-02-25  4:37                                       ` Larry McVoy
2003-02-25 22:02                                     ` Gerrit Huizenga
2003-02-25 23:19                                       ` Larry McVoy
2003-02-25 23:46                                         ` Gerhard Mack
2003-02-26  4:23                                           ` Jesse Pollard
2003-02-26  5:05                                             ` William Lee Irwin III
2003-02-26  5:27                                             ` Bernd Eckenfels
2003-02-26  9:36                                               ` Eric W. Biederman
2003-02-26 12:09                                               ` Jesse Pollard
2003-02-26 16:42                                                 ` Geert Uytterhoeven
2003-02-25 17:37                               ` Andrea Arcangeli
2003-02-25  1:09                           ` David Lang
2003-02-24 18:22                     ` Minutes from Feb 21 LSE Call John W. M. Stevens
2003-02-24  7:51                 ` William Lee Irwin III
2003-02-24 15:47                   ` Larry McVoy
2003-02-24 16:00                     ` Martin J. Bligh
2003-02-24 16:23                     ` Benjamin LaHaise
2003-02-24 16:25                       ` yodaiken
2003-02-24 18:20                         ` Gerrit Huizenga
2003-02-25  1:51                           ` Minutes from Feb 21 LSE Call - publishing performance data Craig Thomas
2003-02-24 16:31                       ` Minutes from Feb 21 LSE Call Larry McVoy
2003-02-24 23:36                     ` William Lee Irwin III
2003-02-25  0:23                       ` Larry McVoy
2003-02-25  2:37                         ` Werner Almesberger
2003-02-25  4:42                         ` William Lee Irwin III
2003-02-25  4:54                           ` Larry McVoy
2003-02-25  6:00                             ` William Lee Irwin III
2003-02-25  7:00                               ` Val Henson
2003-02-24 13:28                 ` Alan Cox
2003-02-25  5:19                   ` Chris Wedgwood
2003-02-25  5:26                     ` William Lee Irwin III
2003-02-25 21:21                       ` Chris Wedgwood
2003-02-25 21:14                         ` Martin J. Bligh
2003-02-25 21:21                         ` William Lee Irwin III
2003-02-25 22:08                           ` Larry McVoy
2003-02-25 22:10                             ` William Lee Irwin III
2003-02-25 22:37                             ` Chris Wedgwood
2003-02-25 22:58                               ` Larry McVoy
2003-02-25  6:17                     ` Martin J. Bligh
2003-02-25 17:11                       ` Cliff White
2003-02-25 17:17                         ` William Lee Irwin III
2003-02-25 17:38                         ` Linus Torvalds
2003-02-25 19:54                           ` Dave Jones
2003-02-26  2:04                             ` Linus Torvalds
2003-02-25 19:48                         ` Martin J. Bligh
2003-02-25 21:28                       ` William Lee Irwin III
2003-02-25 19:20                     ` Alan Cox
2003-02-25 19:59                     ` Scott Robert Ladd
2003-02-25 20:18                       ` jlnance
2003-02-25 20:59                         ` Scott Robert Ladd
2003-02-25 21:19                       ` Chris Wedgwood
2003-02-25 21:38                         ` Scott Robert Ladd
2003-02-24 18:44                 ` Davide Libenzi
2003-02-22 23:57         ` Jeff Garzik
2003-02-23 23:57         ` Bill Davidsen
2003-02-24  6:22           ` Val Henson
2003-02-24  6:41             ` William Lee Irwin III
2003-02-22 21:29     ` Jeff Garzik
2003-02-24  2:04 linux
2003-02-24  2:39 ` Linus Torvalds
2003-02-24  3:28   ` David Lang
2003-02-26  5:30     ` Bernd Eckenfels
2003-02-26  5:42       ` William Lee Irwin III
2003-02-26  7:22         ` David Lang
2003-02-27 17:50       ` Daniel Egger
2003-02-27 18:25         ` David Lang
2003-02-28  8:58           ` Filip Van Raemdonck
2003-02-28 19:48           ` Arador
2003-03-01  0:51             ` Chris Wedgwood
2003-03-01  1:14               ` Davide Libenzi
2003-03-01  1:27               ` David Lang
2003-03-01 14:15                 ` Daniel Egger
2003-02-24  4:42   ` Martin J. Bligh
2003-02-24  4:58     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2003-02-21 23:48 Hanna Linder
2003-02-22  0:16 ` Larry McVoy
2003-02-22  0:25   ` William Lee Irwin III
2003-02-22  2:24     ` Steven Cole
2003-02-22  0:44   ` Martin J. Bligh
2003-02-22  2:47     ` Larry McVoy
2003-02-22  4:32       ` Martin J. Bligh
2003-02-22  5:05         ` Larry McVoy
2003-02-22  6:39           ` Martin J. Bligh
2003-02-22  8:38             ` Jeff Garzik
2003-02-22 22:18               ` William Lee Irwin III
2003-02-23  0:50                 ` Martin J. Bligh
2003-02-23 11:22                   ` Magnus Danielson
2003-02-23 19:54                   ` Eric W. Biederman
2003-02-23  1:17                 ` Benjamin LaHaise
2003-02-23  5:21                   ` Gerrit Huizenga
2003-02-23  8:07                     ` David Lang
2003-02-23  8:20                       ` William Lee Irwin III
2003-02-23 19:17                         ` Linus Torvalds
2003-02-23 19:29                           ` David Mosberger
2003-02-23 20:13                             ` Martin J. Bligh
2003-02-23 22:01                               ` David Mosberger
2003-02-23 22:12                                 ` Martin J. Bligh
2003-02-23 21:34                             ` Linus Torvalds
2003-02-23 22:40                               ` David Mosberger
2003-02-23 22:48                                 ` David Lang
2003-02-23 22:54                                   ` David Mosberger
2003-02-23 22:56                                     ` David Lang
2003-02-24  0:40                                     ` Linus Torvalds
2003-02-24  2:32                                       ` David Mosberger
2003-02-24  2:54                                         ` Linus Torvalds
2003-02-24  3:08                                           ` David Mosberger
2003-02-24 21:42                                           ` Andrea Arcangeli
2003-02-24  1:06                                     ` dean gaudet
2003-02-24  1:56                                       ` David Mosberger
2003-02-24  2:15                                         ` dean gaudet
2003-02-24  3:11                                           ` David Mosberger
2003-02-23 23:06                                 ` Martin J. Bligh
2003-02-23 23:59                                   ` David Mosberger
2003-02-24  3:49                                     ` Gerrit Huizenga
2003-02-24  4:07                                       ` David Mosberger
2003-02-24  4:34                                         ` Martin J. Bligh
2003-02-24  5:02                                         ` Gerrit Huizenga
2003-02-23 20:21                           ` Xavier Bestel
2003-02-23 20:50                             ` Martin J. Bligh
2003-02-23 23:57                               ` Alan Cox
2003-02-24  1:26                                 ` Kenneth Johansson
2003-02-24  1:53                                   ` dean gaudet
2003-02-23 21:35                             ` Alan Cox
2003-02-23 21:41                             ` Linus Torvalds
2003-02-24  0:01                             ` Bill Davidsen
2003-02-24  0:36                             ` yodaiken
2003-02-23 21:15                           ` John Bradford
2003-02-23 21:45                             ` Linus Torvalds
2003-02-24  1:25                               ` Benjamin LaHaise
2003-02-23 21:55                           ` William Lee Irwin III
2003-02-23 19:13                       ` David Mosberger
2003-02-23 23:28                         ` Benjamin LaHaise
2003-02-26  8:46                         ` Eric W. Biederman
2003-02-23 20:48                       ` Gerrit Huizenga
2003-02-23  9:37                   ` William Lee Irwin III
2003-02-22  8:38             ` David S. Miller
2003-02-22  8:38           ` David S. Miller
2003-02-22 14:34             ` Larry McVoy
2003-02-22 15:47               ` Martin J. Bligh
2003-02-22 16:13                 ` Larry McVoy
2003-02-22 16:29                   ` Martin J. Bligh
2003-02-22 16:33                     ` Larry McVoy
2003-02-22 16:39                       ` Martin J. Bligh
2003-02-22 16:59                         ` John Bradford
2003-02-24 18:00                   ` Timothy D. Witham
2003-02-22  8:32   ` David S. Miller
2003-02-22 18:20   ` Alan Cox
2003-02-22 20:05     ` William Lee Irwin III
2003-02-22 21:35       ` Alan Cox
2003-02-22 21:36     ` Gerrit Huizenga
2003-02-22 21:42       ` Christoph Hellwig
2003-02-23 23:23       ` Bill Davidsen
2003-02-24  3:31         ` Gerrit Huizenga
2003-02-24  4:02           ` Larry McVoy
2003-02-24  4:15             ` Russell Leighton
2003-02-24  5:11             ` William Lee Irwin III
2003-02-24  8:07             ` Christoph Hellwig
2003-02-23  0:37   ` Eric W. Biederman
2003-02-23  0:42 ` Eric W. Biederman
2003-02-23 14:29   ` Rik van Riel
2003-02-23 17:28     ` Eric W. Biederman
2003-02-24  1:42       ` Benjamin LaHaise
2003-02-23  3:24 ` Andrew Morton
2003-02-25 17:17   ` Andrea Arcangeli
2003-02-25 17:43     ` William Lee Irwin III
2003-02-25 17:59       ` Andrea Arcangeli
2003-02-25 18:04         ` William Lee Irwin III
2003-02-25 18:50         ` William Lee Irwin III
2003-02-25 19:18           ` Andrea Arcangeli
2003-02-25 19:27             ` Martin J. Bligh
2003-02-25 20:30               ` Andrea Arcangeli
2003-02-25 20:53                 ` Martin J. Bligh
2003-02-25 21:17                   ` Andrea Arcangeli
2003-02-25 21:12                     ` Martin J. Bligh
2003-02-25 22:16                       ` Andrea Arcangeli
2003-02-25 22:17                         ` Martin J. Bligh
2003-02-25 22:37                           ` Andrea Arcangeli
2003-02-25 21:26                     ` William Lee Irwin III
2003-02-25 22:18                       ` Andrea Arcangeli
2003-02-26  5:24                       ` Rik van Riel
2003-02-26  5:38                         ` William Lee Irwin III
2003-02-26  6:01                           ` Martin J. Bligh
2003-02-26  6:14                             ` William Lee Irwin III
2003-02-26  6:32                               ` William Lee Irwin III
2003-02-26 16:02                             ` Rik van Riel
2003-02-27  3:48                               ` Daniel Phillips
2003-02-25 20:10             ` William Lee Irwin III
2003-02-25 20:23               ` Andrea Arcangeli
2003-02-25 20:46                 ` William Lee Irwin III
2003-02-25 20:52                   ` Andrea Arcangeli

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=20030225084450.B8282@hq.fsmlabs.com \
    --to=yodaiken@fsmlabs.com \
    --cc=akpm@digeo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=billh@gnuppy.monkey.org \
    --cc=davidsen@tmr.com \
    --cc=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@work.bitmover.com \
    --cc=mbligh@aracnet.com \
    --cc=wli@holomorphy.com \
    /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