All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Carsten Emde <C.Emde@osadl.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Clark Williams <williams@redhat.com>,
	Stefan Roese <stefan.roese@gmail.com>,
	linux-rt-users@vger.kernel.org
Subject: Re: cyclictest better values with system load than without (OMAP3530 target)
Date: Fri, 29 Nov 2013 20:34:40 +0100	[thread overview]
Message-ID: <5298EC50.2010802@xenomai.org> (raw)
In-Reply-To: <5298D090.7090000@osadl.org>

On 11/29/2013 06:36 PM, Carsten Emde wrote:
> Hi Gilles,
> 
>> On 11/29/2013 05:36 PM, Gilles Chanteperdrix wrote:
>>> On 11/29/2013 04:10 PM, Carsten Emde wrote:
>>>> BTW: Power saving and real-time do not necessarily exclude each other.
>>>> If a - still deterministic - but a little longer latency is acceptable,
>>>> some light sleep states and a somewhat lower clock frequency may be
>>>> allowed which still may result in considerable energy saving. If,
>>>> however, the fastest possible real-time response is required, C states
>>>> and P states must be disabled (or set to polling and maximum speed,
>>>> respectively) and the power bill must be payed.
>>> Well, I do not fully agree. To be sure that you can clock down the
>>> processor for executing a task which has sufficient time to meet its
>>> deadline, your system must be "time triggered", all the timer events
>>> must be known in advance. Because on a fully dynamic system, you may
>>> make that decision, but a new timer may be scheduled which causes the
>>> system to miss its deadline whereas it would not have missed it if it
>>> had run at full speed.
>> And a second problem is that you must know the task WCET, which on a
>> modern system:
>> - depends on the task frequency;
>> - depends on the IRQ load.
>> Again, only a time triggered system seems to make this possible.
> Hmm, I'm not sure whether I correctly got your point.
> 
> Let me try an example: A 1-GHz CPU of a given systems runs at full speed 
> with frequency governor set to performance and provides the required 
> real-time capabilities. When a second system with the same capabilities 
> was needed, the 1-GHz CPU unfortunately was out of stock, and the 
> decision was made to buy the 2-GHz variant of the processor. To save 
> energy, however, the clock frequency of the second system was set to 1 
> GHz using the cpufreq interface. Are you arguing that the 2-GHz 
> processor that is throttled down to 1 GHz has a slower response time 
> than the 1-GHz processor that always runs at full speed?

I probably misread what you were saying and thought you were talking
about dynamically changing the processor frequency when knowing that the
WCET of a task allows running it with a smaller frequency and still meet
its deadline. The thing implemented here for instance:
https://code.google.com/p/xenomaiote/

So called OTE algorithm (but I do not find what this acronym means exactly).

-- 
                                                                Gilles.

  reply	other threads:[~2013-11-29 19:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26  9:21 cyclictest better values with system load than without (OMAP3530 target) Stefan Roese
2013-11-26 14:21 ` Dmitry Lysenko
2013-11-26 19:14   ` Stefan Roese
2013-11-26 20:14     ` Tim Sander
2013-11-26 16:12 ` Clark Williams
2013-11-29 12:56   ` Sebastian Andrzej Siewior
2013-11-29 15:10     ` Carsten Emde
2013-11-29 16:36       ` Gilles Chanteperdrix
2013-11-29 16:58         ` Gilles Chanteperdrix
2013-11-29 17:36           ` Carsten Emde
2013-11-29 19:34             ` Gilles Chanteperdrix [this message]
2013-11-29 21:10               ` Carsten Emde

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=5298EC50.2010802@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=C.Emde@osadl.org \
    --cc=bigeasy@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=stefan.roese@gmail.com \
    --cc=williams@redhat.com \
    /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.