All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Julien Delange <julien.delange@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Kernel configuration suggestions/hints
Date: Tue, 04 Oct 2011 13:16:45 +0200	[thread overview]
Message-ID: <4E8AEB1D.2060706@domain.hid> (raw)
In-Reply-To: <CAGc_wL0GYwEPJVMOBR_niJCd9bz2VWoTA7-q-MLOAR_WW2vm2g@domain.hid>

On 10/04/2011 10:42 AM, Julien Delange wrote:
> Dear all,
> 
> I am currently building a customized kernel to build a real-time
> application. At this time, the requirement is very basic : I have one
> periodic task in userland that acquires data from an analogy card
> (ni6071e) with a 1ms period/deadline. At that time, the task miss one
> deadline at each period, meaning that the code is executed in 2ms
> instead of 1ms (and so, the deadline expires). So, I configured my
> kernel without power management and with a timer at 1000Hz and a
> tickless system (see variables below). However I would like to know if
> there are other relevant configuration parameters that may influence
> the scheduling of xenomai tasks so that I can make sure that my
> application meets its requirements. If anyone has a feedback about
> kernel configuration in that scope, it might be really useful ! In
> addition, depending on your answer, it may be also good to report good
> practices about the kernel configuration on the wiki, what do you
> think about it ?
> 
> Thanks for any suggestion,
> 
> Kernel configuration variables:
> CONFIG_NO_HZ=y
> CONFIG_HIGH_RES_TIMERS=y
> CONFIG_PREEMPT=y
> CONFIG_HZ_1000=y
> CONFIG_HZ=1000
> CONFIG_PM is not set
> CONFIG_SFI is not set
> CONFIG_CPU_FREQ is not set
> CONFIG_CPU_IDLE is not set

I am sorry, I do not really understand what you are doing, what has
CONFIG_HZ to do with your issue?

Could you post a self-contained example allowing to reproduce the issue
you observe?

-- 
                                                                Gilles.


  reply	other threads:[~2011-10-04 11:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04  8:42 [Xenomai-help] Kernel configuration suggestions/hints Julien Delange
2011-10-04 11:16 ` Gilles Chanteperdrix [this message]
2011-10-04 13:06   ` Julien Delange
2011-10-04 13:40     ` Fernando Herrero Carrón
2011-10-04 13:45     ` Gilles Chanteperdrix
2011-10-04 13:51       ` Julien Delange
2011-10-04 16:41         ` Gilles Chanteperdrix
2011-10-05  7:48           ` Julien Delange
2011-10-05 11:09             ` Gilles Chanteperdrix
2011-10-05 14:39               ` Fernando Herrero Carrón
2011-10-05 21:28                 ` Alexis Berlemont
2011-10-05 22:55                   ` Fernando Herrero Carrón
2011-10-06  7:25                     ` Julien Delange

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=4E8AEB1D.2060706@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=julien.delange@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.