All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Max Vasin <max.vasin@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Vortex86SX and TSC
Date: Fri, 22 Jan 2010 09:40:40 +0100	[thread overview]
Message-ID: <4B596488.40805@domain.hid> (raw)
In-Reply-To: <hjbkl0$5lb$1@domain.hid>

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.


      reply	other threads:[~2010-01-22  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22  7:38 [Xenomai-help] Vortex86SX and TSC Max Vasin
2010-01-22  8:40 ` 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=4B596488.40805@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=max.vasin@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.