From: Dou Liyang <douly.fnst@cn.fujitsu.com>
To: Pasha Tatashin <pasha.tatashin@oracle.com>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>
Cc: <linux@armlinux.org.uk>, <schwidefsky@de.ibm.com>,
<heiko.carstens@de.ibm.com>, <john.stultz@linaro.org>,
<sboyd@codeaurora.org>, <x86@kernel.org>,
<linux-kernel@vger.kernel.org>, <mingo@redhat.com>,
<hpa@zytor.com>
Subject: Re: [PATCH v6 1/4] sched/clock: interface to allow timestamps early in boot
Date: Wed, 18 Oct 2017 18:01:16 +0800 [thread overview]
Message-ID: <a7139910-680f-68e4-e131-3beba99e2761@cn.fujitsu.com> (raw)
In-Reply-To: <71796664-a804-4bdd-ecd6-9eba9ef8a968@cn.fujitsu.com>
Hi Pasha,
Sorry to reply you so late.
I have test the TSC sync in our machine with DR(Dynamic Reconfiguration)
Linux kernel: Linux-4.14.0-rc5
NUMA nodes: 4 node.
Use clock_gettime() to reach nano-second accuracy.
It is OK that we setup our reconfigurable with "tsc=unstable".
Thanks,
dou.
At 09/29/2017 11:00 PM, Dou Liyang wrote:
> Hi, Pasha
>
> At 09/28/2017 09:11 PM, Pasha Tatashin wrote:
>>>>> It will be best if we can support TSC sync capability in x86, but
>>>>> seems
>>>>> is not easy.
>>>>
>>>> Sure, your hardware achieving sync would be best, but even if it does
>>>> not, we can still use TSC. Using notsc simple because you fail to sync
>>>> TSCs is quite crazy.
>>>>
>>>> The thing is, we need to support unsync'ed TSC in any case, because
>>>> older chips (pre Nehalem) didn't have synchronized TSC in any case, and
>>>> it still happens on recent chips if the BIOS mucks it up, which happens
>>>> surprisingly often :-(
>>>>
>>>> I would suggest you try your reconfigurable setup with "tsc=unstable"
>>>> and see if that works for you. That marks the TSC unconditionally
>>>> unstable at boot and avoids any further wobbles once the TSC watchdog
>>>> notices (although that too _should_ more or less work).
>>>
>>> That should do the trick nicely and we might just end up converting
>>> notsc
>>> to tsc=unstable silently so we can avoid the bike shed discussions about
>>> removing it.
>>>
>>
>> Ok, I will start working on converting notsc to unstable, and modify my
>> patches to do what Peter suggested earlier. In the mean time, I'd like
>> to hear from Dou if this setup works with dynamic reconfig.
>>
>
> OK, I will do it, But, October 1 is our national holiday, I will in
> holiday, and I just returned the test machine. :-(
>
> May reply you in middle of the October.
>
> Thanks,
>
> dou.
>
>> Thank you,
>> Pasha
>>
>>
>>
next prev parent reply other threads:[~2017-10-18 10:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 18:03 [PATCH v6 0/4] Early boot time stamps for x86 Pavel Tatashin
2017-08-30 18:03 ` [PATCH v6 1/4] sched/clock: interface to allow timestamps early in boot Pavel Tatashin
2017-09-27 12:58 ` Peter Zijlstra
2017-09-27 13:10 ` Peter Zijlstra
2017-09-27 13:16 ` Pasha Tatashin
2017-09-27 13:52 ` Dou Liyang
2017-09-27 17:13 ` Pasha Tatashin
2017-09-27 18:05 ` Peter Zijlstra
2017-09-27 18:09 ` Peter Zijlstra
2017-09-28 10:03 ` Dou Liyang
2017-09-28 11:58 ` Peter Zijlstra
2017-09-28 12:12 ` Thomas Gleixner
2017-09-28 13:11 ` Pasha Tatashin
2017-09-29 15:00 ` Dou Liyang
2017-10-18 10:01 ` Dou Liyang [this message]
2017-10-18 13:38 ` Pavel Tatashin
2017-10-09 16:34 ` Pavel Tatashin
2017-10-18 21:01 ` Thomas Gleixner
2017-09-27 14:45 ` Russell King - ARM Linux
2017-09-27 17:10 ` Pasha Tatashin
2017-09-27 18:11 ` Peter Zijlstra
2017-08-30 18:03 ` [PATCH v6 2/4] time: sync read_boot_clock64() with persistent clock Pavel Tatashin
2017-08-30 18:03 ` [PATCH v6 3/4] x86/time: read_boot_clock64() implementation Pavel Tatashin
2017-08-30 18:03 ` [PATCH v6 4/4] x86/tsc: use tsc early Pavel Tatashin
[not found] ` <CALBSrqBKsojGGpe85GOg7jda-SJHLrR=pS-Pg-xa0SUg7j3OQA@mail.gmail.com>
2017-08-30 21:21 ` Fenghua Yu
2017-08-30 21:32 ` Pasha Tatashin
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=a7139910-680f-68e4-e131-3beba99e2761@cn.fujitsu.com \
--to=douly.fnst@cn.fujitsu.com \
--cc=heiko.carstens@de.ibm.com \
--cc=hpa@zytor.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mingo@redhat.com \
--cc=pasha.tatashin@oracle.com \
--cc=peterz@infradead.org \
--cc=sboyd@codeaurora.org \
--cc=schwidefsky@de.ibm.com \
--cc=tglx@linutronix.de \
--cc=x86@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®