All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Kurijn Buys <Kurijn.Buys@open.ac.uk>
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] latency spikes under load
Date: Tue, 03 Dec 2013 14:23:36 +0100	[thread overview]
Message-ID: <529DDB58.3090709@xenomai.org> (raw)
In-Reply-To: <1507DF58-4A8D-42E0-92B8-4A9EAB4289E3@open.ac.uk>

On 12/03/2013 02:07 PM, Kurijn Buys wrote:
> Thanks for the quick response, ACPI is enabled, I only disabled
> "Processor" in there... -1 was a typo indeed, it is at 1... I see
> SCHED_SMT [=y] in my kernel config... shall I recompile the kernel
> with this disabled then... no other things to try first/at the same
> time?

To remove hyperthreading, either:
- disable it in the BIOS configuration;
- or disable CONFIG_SMP (not SCHED_SMPT) in the kernel configuration.

>
> I realized that the test with sched_rt_runtime_us on -1 I performed
> was with an earlier set-up. When I set it now to -1, I have better
> performance, but: 1) still spikes of up to 87us under load with
> ./latency 2) still some completely shifted occurrences with the other
> latency test, with a 1000µs period (but now only 2 out of 890814),
> and the rest of the distribution lies in [861-1139]µs, which is also
> rather large I suppose.

sched_rt_runtime_us should not make any difference.

Something else you should try is to disable root thread priority coupling.

>
> The ipipe trace after test (1) was similar to the one I posted, where
> this line seems to be the problem I suppose: :|   #end     0x80000001
> -179! 149.235  ipipe_check_context+0x87 (add_preempt_count+0x15)
>
> Merci! ]{urijn

You are welcome. Please avoid top-posting.

Regards.

-- 
					    Gilles.


  reply	other threads:[~2013-12-03 13:23 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03 11:38 [Xenomai] latency spikes under load Kurijn Buys
2013-12-03 11:54 ` Gilles Chanteperdrix
2013-12-03 12:31 ` Gilles Chanteperdrix
2013-12-03 13:07   ` Kurijn Buys
2013-12-03 13:23     ` Gilles Chanteperdrix [this message]
2013-12-03 15:31       ` Kurijn Buys
2013-12-03 15:54         ` Gilles Chanteperdrix
2013-12-03 16:49           ` Kurijn Buys
2013-12-03 18:50             ` Gilles Chanteperdrix
2013-12-04  8:44               ` Philippe Gerum
2013-12-04  8:51                 ` Gilles Chanteperdrix
2013-12-04  9:27                   ` Philippe Gerum
2013-12-04  9:31                     ` Gilles Chanteperdrix
2013-12-04  9:40                       ` Philippe Gerum
2013-12-04  9:51                         ` Gilles Chanteperdrix
2013-12-04 10:29                           ` Philippe Gerum
2013-12-04 10:33                             ` Philippe Gerum
2013-12-04 11:04                               ` Philippe Gerum
2013-12-04 11:10                                 ` Gilles Chanteperdrix
2013-12-04 11:36                                   ` Philippe Gerum
2013-12-04 11:59                                     ` Philippe Gerum
2013-12-04 12:00                                       ` Gilles Chanteperdrix
2013-12-04 13:19                                         ` Philippe Gerum
2013-12-04 16:03                                           ` Gilles Chanteperdrix
2013-12-04 17:43                                             ` Philippe Gerum
2013-12-05  0:44                                               ` Kurijn Buys
2013-12-05 10:28                                                 ` Kurijn Buys
2013-12-05 11:05                                                   ` Philippe Gerum
2013-12-05 11:09                                                 ` Gilles Chanteperdrix
2013-12-09 15:19                                                   ` Kurijn Buys
2013-12-09 15:27                                                     ` Gilles Chanteperdrix
2013-12-11 14:23                                                       ` Kurijn Buys
2013-12-11 14:51                                                         ` Lennart Sorensen
2013-12-11 16:04                                                           ` Tobias Luksch
2013-12-11 17:21                                                             ` Gilles Chanteperdrix
2013-12-11 16:44                                                       ` [Xenomai] Analogy NI 6052E Kurijn Buys
2014-03-21 14:33                                                         ` Erhart Robert (CC-DA/ESR3)
2014-03-22 16:58                                                           ` Gilles Chanteperdrix

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=529DDB58.3090709@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Kurijn.Buys@open.ac.uk \
    --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.