All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] using cpu cycle counter on smp
Date: Tue, 28 Nov 2006 23:16:07 +0000	[thread overview]
Message-ID: <20061129001607.42f5bece@localhost> (raw)

Hi there,

I was wondering if it's possible to use PSCHED_CPU (cpu cycle counter
as clock source for QoS). Normally kernel menuconfig forbids it due
to lack of synchronization of counters on different cpu, but:

 http://uwsg.iu.edu/hypermail/linux/kernel/9902.0/0053.html

and quoting interesting part...
-------------
checking TSC synchronization across CPUs:
BIOS BUG: CPU#0 improperly initialized, has -25 usecs TSC skew! FIXED.
BIOS BUG: CPU#1 improperly initialized, has 25 usecs TSC skew! FIXED.
-------------

... we can see TSC is synchronized during boot process. So, is it or is
it not possible/prudent to use PSCHED_CPU on x86/x86_64, where TSCs
are used?

pozdrawiam,
Marek Kierdelewicz
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2006-11-28 23:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20061129001607.42f5bece@localhost \
    --to=marek@piasta.pl \
    --cc=lartc@vger.kernel.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.