All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Yogi A. Patel" <yapatel@gatech.edu>, xenomai@xenomai.org
Subject: Re: [Xenomai] Overrun error
Date: Wed, 27 Aug 2014 09:32:45 +0200	[thread overview]
Message-ID: <53FD899D.4080609@xenomai.org> (raw)
In-Reply-To: <443DA8ED-FBAA-4DE6-814A-317E04D56407@gatech.edu>

On 08/27/2014 05:22 AM, Yogi A. Patel wrote:
> Hi -
> 
> I have ubuntu 14.04 running kernel 3.8 patched with xenomai 2.6.3.
> 
> I have the kernel configured with:
> 
> Processor type -> core 2/newer xenon Preemption model -> low-latency
> desktop ACPI -> Processor (disabled)
> 
> When I run the latency test, things are great (for hours at a time).
> Average latencies are 1-1.3us and no overruns.
> 
> These latency results remain even when I run my own real time
> software.
> 
> However, the moment I open Firefox or chrome, I start seeing
> overruns.
> 
> This is confusing - I would think applications like web browsers
> would not have any reason to cause overruns.

What graphic driver do you use? What version of the I-pipe patch? If
Intel, ipipe-core-3.8.13-x86-4.patch contains a fix for latency issues
observed on this hardware.

> 
> It's very likely I don't understand how the overruns occur in such a
> situation and what causes an overrun.
> 
> Has anyone else seen similar issues?

Yes, this happens from time to time, and a "generic" workaround is even
in our troubleshooting guide:
http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#the_latency_test_shows_high_latencies

> 
> Also, when reading the output of the latency test, why do the overrun
> values never go back to zero between printouts of the latency test?

Because the count of overruns is cumulative, as are all the counters 
after the count of overruns (msw, lat best, lat worst). When you have 
observed overruns, you usually want the information to stick, so that 
you see it when you stop the test.

-- 
                                                                Gilles.


      reply	other threads:[~2014-08-27  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  3:22 [Xenomai] Overrun error Yogi A. Patel
2014-08-27  7:32 ` Gilles Chanteperdrix [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=53FD899D.4080609@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    --cc=yapatel@gatech.edu \
    /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.