All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: adeos-main@gna.org, Xenomai-core@domain.hid
Subject: Re: [Xenomai-core] [PATCH] Fix __ipipe_pin_range_globally
Date: Sun, 07 Oct 2007 19:41:41 +0200	[thread overview]
Message-ID: <1191778901.22917.22.camel@domain.hid> (raw)
In-Reply-To: <1191775890.22917.16.camel@domain.hid>

On Sun, 2007-10-07 at 18:51 +0200, Philippe Gerum wrote:
> On Sun, 2007-10-07 at 18:40 +0200, Jan Kiszka wrote:
> > > 
> > > I still have a problem with UP here, but this one is due to a
> Xenomai
> > > bug -- host timer is no more forwarded when the nucleus timer
> starts.
> > > Does disabling NOHZ & HIRES get things working on your setup?
> > > 
> > 
> > Yes, I have HIRES on, and I guess that's the point: My current
> > impression is that there are some bits in Xenomai missing to migrate
> > running hires timers from Linux's lapic clockevent device over
> xntimers. 
> > The effect here is that CPU0 continues (probably due to higher timer
> > load) while CPU1 stops scheduling timers:
> > 
> > CPU  SCHEDULED   FIRED       TIMEOUT    INTERVAL   HANDLER      NAME
> > 0    2729        2727        31168      -          NULL
> [host-timer/0]
> > 0    11          10          305103844  1000000000  xnpod_watch
> [watchdog]
> > 1    11          10          309365472  1000000000  xnpod_watch
> [watchdog]
> > 
> 
> The issue I see would be different it seems. I can reproduce the
> problem
> in UP + PIT mode, LAPIC off.

Ok, there is very likely a basic flaw in the logic for sharing the
oneshot mode between the clock event manager and Xenomai, when it comes
to relaying the host tick from the latter; something like a silly catch
22 issue. I'll send more on this later, but this probably impacts all
setups, LAPIC enabled or not. More on this later, I need to sort out a
few things more.
 
-- 
Philippe.




      reply	other threads:[~2007-10-07 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07 15:27 [Xenomai-core] [PATCH] Fix __ipipe_pin_range_globally Jan Kiszka
2007-10-07 15:55 ` Philippe Gerum
2007-10-07 16:40   ` Jan Kiszka
2007-10-07 16:51     ` Philippe Gerum
2007-10-07 17:41       ` Philippe Gerum [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=1191778901.22917.22.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=Xenomai-core@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=jan.kiszka@domain.hid \
    /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.