From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] xen: preserve native TSC speed during migration between identical hosts Date: Wed, 24 May 2017 17:25:03 +0200 Message-ID: <20170524152503.GB6930@aepfle.de> References: <20170524142505.11460-1-olaf@aepfle.de> <20170524150940.GI18530@char.us.oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7840901628885319925==" Return-path: In-Reply-To: <20170524150940.GI18530@char.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Konrad Rzeszutek Wilk Cc: Wei Liu , xen-devel@lists.xen.org, Ian Jackson , Jan Beulich , Andrew Cooper List-Id: xen-devel@lists.xenproject.org --===============7840901628885319925== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Wed, May 24, Konrad Rzeszutek Wilk wrote: > How can that be determined? As in how can the guest (domU) be within > the range? Is there some way to determine that? Is there some > matrix of the various OS-es that can tolerate this? Just cycle through all dom0s and look for the cpu_khz values: # xl dmesg | grep -w MHz (XEN) Detected 2494.018 MHz processor. What I have seen are ranges up to 200khz, even if /proc/cpuinfo says "2.50GHz" . Some dom0s calibrated themselves to exactly 2500.000 MHz, they do not need a tolerance. The expected frequency of a given domU can be seen in 'dump softtsc stats' (s). How various guest kernels deal with the slightly different frequency, no idea. Olaf --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCWSWlzAAKCRBdQqD6ppg2 fpaMAJ9oEklxWx7zxXKBBHXPap6+YFKrswCfd+WeoNtUXxvtOJIjlg4TXx499HQ= =V57L -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- --===============7840901628885319925== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============7840901628885319925==--