From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] O(1) scheduler broken
Date: Sat, 18 Mar 2006 10:51:09 +0100 [thread overview]
Message-ID: <441BD80D.4030700@domain.hid> (raw)
In-Reply-To: <441B2204.1070406@domain.hid>
Jan Kiszka wrote:
> Hi,
>
> I just wanted to test how much the worst-cast jitters improve when
> running multiple timed threads over the O(1) scheduler instead of the
> default one.
It really depends whether your threads actually wake up simultaneously or not.
The scalable scheduler solves the pathological case where your application has
an insane number of threads _actually_ competing for the current CPU, i.e. all
being in a runnable state at the same time or within a short window of time. IOW,
it implements O(1) for the ready queue. We don't use any sequential access for the
suspended thread queue, and beyond that, I'm even going to kill the latter since
it's actually useless.
Unfortunately, it already crashes my box with the standard
> latency test. All debug stuff on and serial console attached still does
> not give any output. Looks like a really fatal scheduler crash. :(
>
> Anyone any ideas?
It breaks with the development trunk/ because we are extending the ability of
the core pod to provide a larger priority scale, so that we can provide
VxWorks et al. with a native syscall interface. The new scale likely messes up
with the priority bitmaps used in the scalable sched. Will fix.
> Jan
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
next prev parent reply other threads:[~2006-03-18 9:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 20:54 [Xenomai-core] O(1) scheduler broken Jan Kiszka
2006-03-18 9:51 ` Philippe Gerum [this message]
2006-03-18 14:39 ` Philippe Gerum
2006-03-18 15:23 ` Jan Kiszka
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=441BD80D.4030700@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@domain.hid \
--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.