From: Dan Magenheimer Subject: RE: [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part) Date: Mon, 28 Sep 2009 16:36:03 -0700 (PDT) Message-ID: <5f6198f2-3f74-4bdb-ad9a-d9fd6151a97f@default> References: <4AC1424D.8070008@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4AC1424D.8070008@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "Xen-Devel (E-mail)" , Keir Fraser List-Id: xen-devel@lists.xenproject.org > On 09/28/09 15:43, Dan Magenheimer wrote: > > PV ones too. An app doesn't have any idea (and doesn't > > and shouldn't care) if it is running on a PV or HVM domain. =20 >=20 > Well, it shouldn't be enabled by default. That slows down all rdtsc > operations for the benefit of very niche applications. The Xen > clocksource assumes that rdtsc is fast, unemulated and in need of > correction. >=20 > If someone really needs an artificial tsc, then they can enable the > option for themselves. While I understand and sympathize (and the idealistic side of me even agrees with) your position, let me argue your point "they can enable the option for themselves" by mangling a famous movie quote: "In a cloud, no-one can hear rdtsc scream"