Linux Newbie help
 help / color / mirror / Atom feed
From: "Raseel Bhagat" <raseelbhagat@gmail.com>
To: kernelnewbies <kernelnewbies@nl.linux.org>
Cc: linux newbie <linux-newbie@vger.kernel.org>
Subject: Re: Why is Linux not RTOS?
Date: Thu, 5 Apr 2007 14:31:00 +0530	[thread overview]
Message-ID: <f68850780704050201k2fc85b9erb29e715d848cea48@mail.gmail.com> (raw)
In-Reply-To: <024901c77752$06e6a170$59c8a8c0@SAGGITARIUS>

Hi

On 4/5/07, Pradeep <pradeep.annavarapu@moschip.com> wrote:
>
> > Hi,
> >
> > Why is Linux kernel considered a (hard) realtime OS? I already
>
> Linux kernel is never considered a real time OS.
> A real time OS should be predictable.The general linux kernel is not
> predictable because of many reasons.

To ellaborate more, any RTOS HAS TO be deterministic , i.e, it should
have a deterministic latecy, a predictable jitter which will never
cross its threshold even during heavy loads.


> > What stops us from classifying kernel as hard RTOS? Is it because at
>
> An RTOS is just a facilitator to build Real time systems. A Real time system
> developer should analyse a RTOS wether is will be useful for his system.
> If some body is holding spin lock and making it non-preemptive its a bad
> design. So even a RTOS linux has spin locks. Its the designer who should
> take care.

Basically , a GPOS (General Purpose OS) is build to optimize the
average-response time. Whereas, an RTOS is designed to optimize the
worst-case response time. Hence non-RT tasks, in case of an RTOS , are
given the least prioirity where as the deadlines for RT tasks are not
to be crossed under ANY circumstances.

Thanks,
Raseel.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2007-04-05  9:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 12:21 Why is Linux not RTOS? Rick Brown
2007-04-04 13:00 ` John Anthony Kazos Jr.
2007-04-04 13:05   ` Rick Brown
2007-04-04 15:21     ` Daniel Cheng
2007-04-05  9:36       ` Tzahi Fadida
2007-04-05 10:05         ` sandeep lahane
2007-04-05 10:11           ` Raseel Bhagat
2007-04-05 10:23             ` sandeep lahane
2007-04-05 13:28               ` Mark Hounschell
2007-04-05 10:07         ` Raseel Bhagat
2007-05-30  0:47           ` Rodrigo Rubira Branco
2007-05-31  1:16             ` K.R. Foley
2007-04-05  7:14 ` Pradeep
2007-04-05  9:01   ` Raseel Bhagat [this message]
2007-04-05  9:05     ` Pharaoh .
2007-04-05 11:52 ` Not Initialize the shrinker->list after kmalloc() in mm/vmscan.c(V2.6.12)? qingxiaoming
2007-04-09  5:57   ` Rajat Jain

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=f68850780704050201k2fc85b9erb29e715d848cea48@mail.gmail.com \
    --to=raseelbhagat@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-newbie@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox