All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] rtdm timers
@ 2009-03-10 10:51 Steven Seeger
  2009-03-10 20:11 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Seeger @ 2009-03-10 10:51 UTC (permalink / raw)
  To: xenomai

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?

Thanks,
Steven



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] rtdm timers
  2009-03-10 10:51 [Xenomai-core] rtdm timers Steven Seeger
@ 2009-03-10 20:11 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-03-10 20:11 UTC (permalink / raw)
  To: Steven Seeger; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-10 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 10:51 [Xenomai-core] rtdm timers Steven Seeger
2009-03-10 20:11 ` Gilles Chanteperdrix

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.