From: Philippe Gerum <rpm@xenomai.org>
To: johann.obermayr@sigmatek.at, xenomai@xenomai.org
Subject: Re: [Xenomai] Fwd: Re: Problem that the Linux scheduler is not called for some ms
Date: Tue, 29 Sep 2015 17:56:55 +0200 [thread overview]
Message-ID: <560AB4C7.3050508@xenomai.org> (raw)
In-Reply-To: <560A8632.3020107@sigmatek.at>
On 09/29/2015 02:38 PM, Johann Obermayr wrote:
> Am 25.09.2015 um 10:44 schrieb Harald Feßl:
>> Hi
>>
>> I have done a ipipe trace for some working and one non working cycle.
>> The trace is stopped after the non working cycle.
>> I have marked the working cycles with green and the non working cycle
>> with red in my graphical trace.
>> The ipipe trace and graphical trace are stopped at the same time.
>>
>> After the non working cycle the system is working correct again for
>> some seconds or minutes.
>>
>> I think the problem is, that the migration of the task "cyclic" from
>> xenomai to linux, needs sometimes some ms.
>>
>> Harald
>>
>> Harald Fessl
>> Betriebssystem
>> ________________________________
>>
>> SIGMATEK GmbH & Co KG
>> Sigmatekstraße 1
>> 5112 Lamprechtshausen
>> Österreich / Austria
>>
>> Tel.: +43/6274/4321-0
>> Fax: +43/6274/4321-18
>> E-Mail: harald.fessl@sigmatek.at
>> http://www.sigmatek-automation.com
>>
>> ***********************Please note:************************************
>> This email and all attachments are confidential and intended solely for
>> the person or entity to whom it is addressed. If you are not the named
>> addressee you must not make this email and all attachments accessible
>> to any other person. If you have received this email in error please
>> delete it together with all attachments.
>> ***********************************************************************
>>
>> Am 23.09.2015 um 12:36 schrieb Jan Kiszka:
>>> On 2015-09-23 10:51, Harald Feßl wrote:
>>>> Hi
>>>>
>>>> The linux tasks are not blocked (not all).
>>>> I think the problem is , that the linux scheduler function in the
>>>> kernel
>>>> is not called for some ms.
>>>> I have also traced the calls to the scheduler function
>>>> "static int __sched __schedule(void)"
>>>> and sometimes when the decribed problem occur this function is not
>>>> called while no linux task are running.
>>> If no task is runnable, there is also no reason to invoke schedule.
>>>
>>> Please post a ftrace log of your system, covering both a working and a
>>> non-working cycle, including cobalt* and at least sched and irq events.
>>>
>>> Jan
>>>
>>
>
>
> Hello Philippe and Xenomai forum,
>
> we have some trouble with a xenomai task (cyclic with prio 30) after
> switching to secondary domain.
> Linux ARM 3.0, Xenomai 2.6.2.1, and CONFIG_XENO_OPT_PRIOCPL=y.
PRIOCPL should be disabled, and all tests redone in this context.
--
Philippe.
next prev parent reply other threads:[~2015-09-29 15:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5601617F.3080800@sigmatek.at>
2015-09-22 14:13 ` [Xenomai] Problem that the Linux scheduler is not called for some ms Wolfgang Netbal
2015-09-22 18:44 ` Jan Kiszka
[not found] ` <560263A0.4080208@sigmatek.at>
2015-09-23 8:51 ` [Xenomai] Fwd: " Harald Feßl
2015-09-23 10:36 ` Jan Kiszka
2015-09-24 14:46 ` Harald Feßl
2015-09-25 8:44 ` Harald Feßl
2015-09-29 12:38 ` Johann Obermayr
2015-09-29 15:56 ` Philippe Gerum [this message]
[not found] ` <561256C6.4070508@sigmatek.at>
[not found] ` <561264DD.2020803@xenomai.org>
2015-10-07 9:01 ` Johann Obermayr
2015-10-07 9:07 ` Philippe Gerum
2015-10-07 14:23 ` Harald Feßl
2015-10-07 15:27 ` Philippe Gerum
2015-10-08 7:29 ` Harald Feßl
2015-10-14 7:29 ` Harald Feßl
2015-10-14 8:15 ` Philippe Gerum
2015-10-19 9:37 ` Harald Feßl
2015-10-22 13:26 ` Harald Feßl
2015-10-23 8:02 ` Philippe Gerum
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=560AB4C7.3050508@xenomai.org \
--to=rpm@xenomai.org \
--cc=johann.obermayr@sigmatek.at \
--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.