From: Alex <xor@xor.bz>
To: <linux-kernel@vger.kernel.org>
Subject: Re: TSC Problems (warp between CPUs)
Date: Wed, 01 Jan 2014 08:24:08 +1100 [thread overview]
Message-ID: <5d63695a1ad08aea5673a833e5055c6b@xor.bz> (raw)
In-Reply-To: <e44ff95b0f7962a11cfcdb83da6c5595@xor.bz>
A Happy new year to all :)
Just wondering whether anyone has any ideas on how I could force the
TSC to resync?
Starting to get a bit desperate. The motherboard manufacturers support
is useless.... They keep telling me to install Windows *groan*. I dont
think there is any easy way to expose what clock source the OS is using
even in windows.
I even tried firing an email at the AmiBios guys. I think I have
exhausted every avenue of help as far as the hardware goes.
Any suggestions?
Kind regards,
Alex
On 2013-12-29 11:21, Alex wrote:
> On 2013-12-29 01:35, One Thousand Gnomes wrote:
>>> not guaranteed to be precise. For example a SMI (System Management
>>> Interrupt) could interrupt the software flow that is attempting to
>>> write
>>> the time-stamp counter immediately prior to the WRMSR. This could
>>> mean
>>> the value written to the TSC could vary by thousands to millions of
>>> clocks.
>>
>> Yes SMI is a disaster area for any real time activity (and many
>> other
>> things ;) ), but many systems actually make little use of it,
>> especially
>> once the USB is owned by the OS.
>>
>> For synchronization you can retry the sync if it isn't within an
>> acceptable range. The odds of getting an SMI mid sync setup should
>> be
>> very very low, so the odds of repeating the failure several times
>> should
>> be negligible and after a few tries you could give up and assume the
>> hardware is buggered then fall back to HPET.
>
> Hi Alan,
>
> The sync retry sounds like an interesting strategy but is outside my
> knowledge
> scope as a regular end user (I do have a reasonable understanding of
> C and can patch+
> recompile) but I lack the architecture knowledge to implement a patch
> to do this.
>
> Any suggestions?
--
Kind Regards,
Alex.
next prev parent reply other threads:[~2013-12-31 21:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-28 2:24 Alex
2013-12-28 4:02 ` Mike Galbraith
2013-12-28 9:51 ` Alex
2013-12-28 13:38 ` el_es
2013-12-28 14:35 ` One Thousand Gnomes
2013-12-29 0:21 ` Alex
2013-12-31 21:24 ` Alex [this message]
2014-10-07 10:19 ` Adrian Vasile
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=5d63695a1ad08aea5673a833e5055c6b@xor.bz \
--to=xor@xor.bz \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®