* [Xenomai-help] Vortex86SX and TSC
@ 2010-01-22 7:38 Max Vasin
2010-01-22 8:40 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Max Vasin @ 2010-01-22 7:38 UTC (permalink / raw)
To: xenomai
Hello,
I'm trying to port my application from the DiamonSystems Hercules II SBC
(with VIA C3 CPU) to the DiamonSystems Helios SBC (with Vortex86SX CPU).
The application contains one RT task running at 50 kHz and three RT
tasks running at 2kHz. One iteration of the first task takes 15 us to
complete. Measured latencies on the Vortex86 CPU are about 40us with max
56us, on the VIA C3 CPU are about 7us. Vortex86SX is 486 compatible, so
Xenomai is built without TSC support, but CPUID claims the the it
supports TSC. Is there a way to get kernel part of Xenomai to use TSC?
Thanks in adavance.
--
WBR,
Max Vasin.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Vortex86SX and TSC
2010-01-22 7:38 [Xenomai-help] Vortex86SX and TSC Max Vasin
@ 2010-01-22 8:40 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2010-01-22 8:40 UTC (permalink / raw)
To: Max Vasin; +Cc: xenomai
Max Vasin wrote:
> Hello,
>
> I'm trying to port my application from the DiamonSystems Hercules II SBC
> (with VIA C3 CPU) to the DiamonSystems Helios SBC (with Vortex86SX CPU).
> The application contains one RT task running at 50 kHz and three RT
> tasks running at 2kHz. One iteration of the first task takes 15 us to
> complete. Measured latencies on the Vortex86 CPU are about 40us with max
> 56us, on the VIA C3 CPU are about 7us. Vortex86SX is 486 compatible, so
> Xenomai is built without TSC support, but CPUID claims the the it
> supports TSC. Is there a way to get kernel part of Xenomai to use TSC?
Xenomai uses TSC if Linux configuration option is enabled. So, to enable
the use of TSC, you will have to modify arch/x86/Kconfig.cpu.
The quick and dirty way would be to add M486 to the long "depends on"
list of the X86_TSC option.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-22 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 7:38 [Xenomai-help] Vortex86SX and TSC Max Vasin
2010-01-22 8:40 ` 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.