All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: ali hagigat <hagigatali@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] questions: real-time scheduler
Date: Sun, 08 Jul 2012 14:20:52 +0200	[thread overview]
Message-ID: <4FF97B24.80603@xenomai.org> (raw)
In-Reply-To: <CAKKWdteig4R7+RLTsSxQrjrb=+0GsUWxFoRXASWE2ZznJJCTyw@mail.gmail.com>

On 07/08/2012 02:13 PM, ali hagigat wrote:
> I have some questions as follows:
> 
> 1) If i have one real time task and that task is big and does not
> finish soon or it has an infinite loop at the end like:
> here:  goto here;
> 
> Will other non real-time tasks be scheduled? or a real time task will
> run to completion.
> 
> 2) If I have an infinite loop like the above at the end of a real time task:
> here:  goto here;
> 
> Does the scheduler recognizes this situation to not to schedule this
> task, because it does nothing virtually or it assigns a time slot to
> that task?
> 
> 3) What factors effect the length of the time slot assigned to each
> real time task? I mean how long CPU continues to stay inside the code
> of a real time task?
> 
> 4) I have a multi-core CPU, can i assign one CPU to a specific task?
> 
> 5) I want a specific code to be executed (and completed) like every 1
> ms (or n ms) on a x86 PC computer. Is it possible with Xenomai?
> 
> 6) is there any document to explain the architecture of the Xenomai
> real time scheduler?

What about reading xenomai documentation, see what services are
available, and writing a few test programs to understand how thet work?

xenomai scheduler is mainly a fixed priority pre-emptive scheduling:
http://en.wikipedia.org/wiki/Fixed_priority_pre-emptive_scheduling

-- 
                                                                Gilles.


      reply	other threads:[~2012-07-08 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08 12:13 [Xenomai] questions: real-time scheduler ali hagigat
2012-07-08 12:20 ` Gilles Chanteperdrix [this message]

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=4FF97B24.80603@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=hagigatali@gmail.com \
    --cc=xenomai@xenomai.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.