All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Russell Johnson <russell.johnson@kratosdefense.com>
Cc: "xenomai@lists.linux.dev" <xenomai@lists.linux.dev>,
	Bryan Butler <Bryan.Butler@kratosdefense.com>
Subject: Re: Conflicting EVL Processing Loops
Date: Thu, 05 Jan 2023 08:49:32 +0100	[thread overview]
Message-ID: <87k021s9gw.fsf@xenomai.org> (raw)
In-Reply-To: <PH1P110MB105032AE6426F4599E6A080CE2F59@PH1P110MB1050.NAMP110.PROD.OUTLOOK.COM>


Russell Johnson <russell.johnson@kratosdefense.com> writes:

> [[S/MIME Signed Part:Undecided]]
> Hello,
>
> We have two independent processing loops, each consisting of their own set
> of EVL threads and interrupts. Each loop completes its processing and then
> performs an evl_sleep_until to delay until the next processing deadline
> occurs. If we run either loop by itself, everything is fine, and our timing
> margins are met. However, if we try to run both simultaneously, the timing
> error is increased significantly, and the loops never meet their processing
> deadlines. If we compile the code for Linux (substituting all EVL primitives
> with Linux equivalents), then we are able to run both loops simultaneously
> without issue. Any clue what could be causing us troubles or where to start
> looking?
>

In absence of any code to review, the question is too broad to figure
out what might happen. Quick check though: make sure to disable all the
kernel debug options which may be turned on for your EVL kernel
(PROVE_LOCKING, DEBUG_LIST, KASAN and others). evl check may help with
this.

-- 
Philippe.

  reply	other threads:[~2023-01-05  7:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 22:28 Conflicting EVL Processing Loops Russell Johnson
2023-01-05  7:49 ` Philippe Gerum [this message]
2023-01-11 15:57 ` Russell Johnson
2023-01-11 16:44   ` Russell Johnson
2023-01-11 20:33     ` Russell Johnson
2023-01-12 17:23       ` Philippe Gerum
2023-02-02 17:58         ` [External] - " Bryan Butler
2023-02-02 21:08         ` Russell Johnson
2023-02-05 17:29           ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2023-01-04 20:08 Russell Johnson

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=87k021s9gw.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=Bryan.Butler@kratosdefense.com \
    --cc=russell.johnson@kratosdefense.com \
    --cc=xenomai@lists.linux.dev \
    /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.