All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Roderik_Wildenburg@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: AW: [Xenomai-help] vxworks- and posix-skin simultaneously
Date: Tue, 05 Dec 2006 12:36:14 +0100	[thread overview]
Message-ID: <457559AE.5090804@domain.hid> (raw)
In-Reply-To: <5D63919D95F87E4D9D34FF7748CE2C2A6C63C4@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]

Roderik_Wildenburg@domain.hid wrote:
>>> Can anybody tell me about the actual state of using 
>> vxworks-skin and posix-skin simultaneously ? Is it possible, 
>> compiling one application with vxWorks-skin and an other one 
>> with the posix-skin and to use/execute these two applications 
>> simultaneously on one system ?
>>
>> Yes, feasible. There are example applications available for 
>> both skins, so setting up your own quick test will not take 
>> you much time.
>>
>>> In an earlier posting I have read, that all skins (or at 
>> least the native and the posix one) should be compiled as 
>> modules, so they do not overide the timer mode. Is this still 
>> true ? And if yes, dosn?t need the posix skin an aperiodic 
>> timer, but the timer is set to periodic mode by the vxworks 
>> skin ? So, can an vxworks application and an posix 
>> applications run together ??
>>
>> It's true that the vxworks skin still forces the nucleus into 
>> periodic timer mode. This is a known shortcoming of the 
>> current timer subsystem.
>> As announced earlier, we are aiming at a redesign to overcome 
>> this during the 2.4 development cycle. Ideas exist, remaining 
>> issues are also identified. But our resources are still 
>> limited, so there is no promise on a time-frame.
>>
> 
> 
>> Anyway, if you do not rely on having sub-tick timer precision 
>> for the posix applications you are planning, the available 
>> support should already be fine for you.
>>
> 
> Sorry, but what does "sub-tick timer precision" mean (isn?t the timer counting ticks) ?

I mean that you can only rely on tick resolution for both skins with the
currently available timer subsystem. In the future the vxworks skin tick
will be mapped on a periodic timer in an exclusively one-shot (high
resolution) timer implementation.

> Do I have to use the posix timers in a different way, when using periodic mode, or is just the timer resolution changing (incremnting by 1000000 when the period is  1ms e.g.) ?

The time unit of posix services remain nanoseconds, just the resolution
changes.

> What is a reasonable value for the timer period in the kenrel settings (1ms=1000000 ns ?)

Depends on available CPU resources on the target (check the load under
2.3-rc2 via /proc/xenomai/stat) and the required minimal resolution
(often defined by the fastest periodic job).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2006-12-05 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 11:12 AW: [Xenomai-help] vxworks- and posix-skin simultaneously Roderik_Wildenburg
2006-12-05 11:36 ` Jan Kiszka [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=457559AE.5090804@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Roderik_Wildenburg@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.