All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Andy Pugh <andy@bodgesoc.org>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Fwd: Kernel Compilation Problems
Date: Fri, 31 Jan 2014 10:24:12 +0100	[thread overview]
Message-ID: <52EB6BBC.8040600@xenomai.org> (raw)
In-Reply-To: <CAN1+YZWCMh4mR0ccw2v7FeuLKpYDUoPoB-FGHZmutj623DW7hw@mail.gmail.com>

On 01/31/2014 01:05 AM, Andy Pugh wrote:
> On 19 January 2014 13:42, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
> 
>>> Could you try the following patch to see if it improves anything?
>>
>> Sorry, wrong patch version. Please try this one instead:
> 
> The patch appears to reduce the latency to about 60uS.
> 
> I thought that setenv isolcpus=0 had had an effect, as I opened
> Firefox and didn't see max latency increase over the 45uS it was at,
> but then opening Chromium too pushed it up to 60uS.
> 
> Does Xenomai automatically choose the isolated CPU, or is some config needed?
> 
> In fact, how do I tell that I have an isolated CPU?

Use the xeno_hal.supported_cpus parameter, it is a bitfield, so 1 is for
cpu 0.

There is more we can do to improve performances on imx6:
- enable more features in the L2 cache auxiliary control register (the
value of this register is passed to the l2x0_init function, and
currently imx6 passes all 0)
- use the L2 cache "lockdown by master" feature, to reserve several
cache ways to the core where xenomai runs.

l2x0_init prints the value of the auxiliary control register at boot,
could you show me the boot logs you get to see which bits exactly are
already enabled?

Regards.

-- 
                                                                Gilles.


  reply	other threads:[~2014-01-31  9:24 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAN1+YZVvgPNNHFub5QAkw6SeSUPuf1dv_94kYGqhbjMpNt70Sg@mail.gmail.com>
2014-01-16 15:41 ` [Xenomai] Fwd: Kernel Compilation Problems Andy Pugh
2014-01-16 22:43   ` Gilles Chanteperdrix
2014-01-16 23:17     ` Andy Pugh
2014-01-17 20:44       ` Andy Pugh
2014-01-17 20:53         ` Gilles Chanteperdrix
2014-01-18 19:49           ` Andy Pugh
2014-01-18 20:43             ` Gilles Chanteperdrix
2014-01-18 22:31               ` Andy Pugh
2014-01-18 23:24                 ` Gilles Chanteperdrix
2014-01-18 23:48                   ` Andy Pugh
2014-01-19  0:27                     ` Paul
2014-01-19 12:33                 ` Gilles Chanteperdrix
2014-01-19 13:42                   ` Gilles Chanteperdrix
2014-01-31  0:05                     ` Andy Pugh
2014-01-31  9:24                       ` Gilles Chanteperdrix [this message]
2014-01-31 17:48                         ` Andy Pugh
2014-01-31 18:00                           ` Gilles Chanteperdrix
2014-01-31 20:15                             ` Andy Pugh
2014-01-31 20:19                               ` Gilles Chanteperdrix
2014-01-31 21:03                                 ` Andy Pugh
2014-01-31 21:07                                   ` Gilles Chanteperdrix
2014-01-31 22:58                                     ` Andy Pugh
2014-02-01 12:17                                       ` Gilles Chanteperdrix
2014-02-01 13:39                                       ` Gilles Chanteperdrix
2014-02-01 13:49                                         ` Gilles Chanteperdrix
2014-02-02 21:53                                           ` Andy Pugh
2014-02-02 21:59                                             ` Gilles Chanteperdrix
2014-02-02 22:44                                               ` Gilles Chanteperdrix
2014-02-03  0:25                                                 ` Andy Pugh
2014-02-03 11:25                                                   ` Gilles Chanteperdrix
2014-02-04 21:38                                                   ` Gilles Chanteperdrix
2014-02-04 23:24                                                     ` Andy Pugh
2014-01-31 20:21                               ` Gilles Chanteperdrix
2014-01-31 20:46                                 ` Lennart Sorensen
2014-01-31 20:49                                   ` Gilles Chanteperdrix
2014-01-20 17:45                   ` Andy Pugh

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=52EB6BBC.8040600@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=andy@bodgesoc.org \
    --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.