All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Guerri <gmarco.dev@gmail.com>
To: xenomai@xenomai.org
Subject: [Xenomai] Kernel space task VS User space task latency
Date: Wed, 10 Apr 2013 21:45:28 +0200	[thread overview]
Message-ID: <5165C158.7060005@gmail.com> (raw)

Hi everyone,

I was wondering if there is anyone who can help me clarify some very 
basic doubts I have regarding Xenomai internals.
I am working with Xenomai 2.6.2.1 on a 2.6.31 kernel on an i.MX35 
processor (thus, ARM arch).

Using the latency test program, I get the following results for User 
space and Kernel space tasks.

*** IDLE ***
User space --> Mean: ~7us
Kernel space --> Mean: ~4us

*** HEAVY LOAD (dohell) ***
User space --> Mean: ~34us
Kernel space --> Mean: ~18us

Could you give me some hints on how to explain this great difference, 
expecially with the system under load?
What are the factors that could worsen the latency in IDLE conditions?
What are the factors that can explain a value of latency doubled in case 
of a system under load?

Thank you a lot for any suggestion.
Regards,

Marco



             reply	other threads:[~2013-04-10 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 19:45 Marco Guerri [this message]
2013-04-10 19:58 ` [Xenomai] Kernel space task VS User space task latency 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=5165C158.7060005@gmail.com \
    --to=gmarco.dev@gmail.com \
    --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.