All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Fernando Herrero Carrón" <elferdo@domain.hid>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] rt_task_wait_period returns an undocumented value
Date: Fri, 21 Oct 2011 21:07:39 +0200	[thread overview]
Message-ID: <4EA1C2FB.1050009@domain.hid> (raw)
In-Reply-To: <CAMwkeZzPDN5TFKiU05tuZdW4=yHT1XoWe2=xwceiimRw-rF4_w@domain.hid>

On 10/21/2011 09:01 PM, Fernando Herrero Carrón wrote:
> El 21 de octubre de 2011 16:47, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> escribió:
> 
>> On 10/21/2011 08:08 PM, Fernando Herrero Carrón wrote:
>>> Alright, excuse me, I missed that explanation.
>>>
>>> Then let me move to the actual figures at hand:
>>>
>>>  $ cat /proc/xenomai/latency
>>> 3349
>>>
>>> and, as I explained above, all values below 11450 are being rejected in
>> my
>>> case.
>>
>> I guess you have to check the code to understand what happens. But
>> really, running tasks with a 11500 period is already preposterous.
> 
> 
> It's the very minimal example that I could come up with, I can attach the
> code if you will. But there is not much more than mlockall(),
> rt_task_shadow(), rt_task_set_periodic() and
> while(){rt_tast_wait_period()}...

I mean check xenomai code.

> 
> Why do you mean it is preposterous? Because it is not a round figure or
> because it is too low? If you mean it is too low, well, I have a DAQ board
> that can make acquisitions at up to 120kHz, which means a period of 8000 ns.
> I want to achieve the fastest acquistion rate possible, and was pushing the
> limits to see where xenomai could go.

Because it is way too low, you will get a complete lockup of your system
as soon as you starting putting load on it.

-- 
                                                                Gilles.



  reply	other threads:[~2011-10-21 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 16:04 [Xenomai-help] rt_task_wait_period returns an undocumented value Fernando Herrero Carrón
2011-10-21 16:15 ` Gilles Chanteperdrix
2011-10-21 17:37   ` Fernando Herrero Carrón
2011-10-21 17:47     ` Gilles Chanteperdrix
2011-10-21 18:08       ` Fernando Herrero Carrón
2011-10-21 18:47         ` Gilles Chanteperdrix
2011-10-21 19:01           ` Fernando Herrero Carrón
2011-10-21 19:07             ` Gilles Chanteperdrix [this message]
2011-10-21 19:15               ` Fernando Herrero Carrón
2011-10-21 20:11                 ` Daniele Nicolodi
2011-10-21 20:27                   ` Fernando Herrero Carrón

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=4EA1C2FB.1050009@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai-help@domain.hid \
    --cc=elferdo@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.