All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steven Seeger <steven.seeger@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] rtdm timers
Date: Tue, 10 Mar 2009 21:11:00 +0100	[thread overview]
Message-ID: <49B6C954.4050301@domain.hid> (raw)
In-Reply-To: <9C50C711-0F23-4D77-BE25-DC160A0B474C@comcast.net>

Steven Seeger wrote:
> Gilles believes he's on the track of our FPU issue when using kernel  
> threads. Would using an RTDM timer to accomplish our need have the  
> same issue? We would not use the FPU in the timer of course, because  
> it is not allowed.
> 
> I just don't want to spend the time converting things if it won't  
> help. Does the list think it would be a worthwhile effort?

We can not say for sure as long as we know what the bug is. But if it
is, as I suspect, a bug in the FPU switching logic for non-fxsr x86_32
cpus, you will not have it with a timer: when the timer fires, there is
no context switch and because of that you should have a lower latency
and a lower overhead of the driver using the timer (the downside, of
course, is that you can not call a function which sleeps). I do not know
however if it makes much difference on x86, to have an idea, compare the
output of klatency -t 1 and klatency -t 2.

-- 
					    Gilles.


      reply	other threads:[~2009-03-10 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 10:51 [Xenomai-core] rtdm timers Steven Seeger
2009-03-10 20:11 ` 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=49B6C954.4050301@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=steven.seeger@domain.hid \
    --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.