From: Stefano Stabellini Subject: Re: Could you please answer some questions regarding Solaris PVHVM pvclock support. Date: Fri, 28 Feb 2014 15:04:20 +0000 Message-ID: References: <52D6566C.5050302@oracle.com> <530DD57A.8010709@oracle.com> <53100204.1050801@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-585040928-1393599860=:31489" Return-path: In-Reply-To: <53100204.1050801@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Qin Li Cc: Roger Pau Monne , xen-devel@lists.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --1342847746-585040928-1393599860=:31489 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 28 Feb 2014, Qin Li wrote: > =E4=BA=8E 2014/2/27 21:03, Stefano Stabellini =E5=86=99=E9=81=93: > > > >I guest linux guest will do the same thing, rdtsc() fetch current > > > timestamp from current running vCPU, TSC out-of-sync issue is still t= here. > > > >It seems to me pvclock finally fix the time drift issue just because= the > > > workaround enforced as above, right? > > First you should know that TSC is not always guaranteed to be > > synchronized across multiple processors, especially on older systems. > > On "TSC-safe" systems, Xen would export a consistent TSC to guests, by > > setting the vtsc offset and scale appropriately. > Stefano, >=20 > Is there a easy way to check whether the system is "TSC-safe"? Do you mea= n > "X86_FEATURE_TSC_RELIABLE" bit in "boot_cpu_data.x86_capability"? Yes, I think that's it. Maybe you want to read docs/misc/tscmode.txt. --1342847746-585040928-1393599860=:31489 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1342847746-585040928-1393599860=:31489--