From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [BUG] Linux process vruntime accounting in Xen Date: Wed, 18 May 2016 16:57:00 +0200 Message-ID: <1463583420.5851.2.camel@citrix.com> References: <1463398621.18789.55.camel@citrix.com> <573A4AA5.7030802@oracle.com> <573C5F09.20500@suse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4389040237564396550==" Return-path: In-Reply-To: <573C5F09.20500@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Juergen Gross , George Dunlap , Boris Ostrovsky Cc: Tony S , Matt Fleming , David Vrabel , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============4389040237564396550== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-pt0EXuRSCCMKLIetXhGQ" --=-pt0EXuRSCCMKLIetXhGQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2016-05-18 at 14:24 +0200, Juergen Gross wrote: > On 17/05/16 11:33, George Dunlap wrote: > > > Looks like CONFIG_PARAVIRT_TIME_ACCOUNTING is used for adjusting > > > process > > > times. KVM uses it but Xen doesn't. > > Is someone on the Linux side going to put this on their to-do list > > then? :-) > > Patch sent. >=20 Yep, seen it, thanks. > Support was already existing for arm.=20 > Yes!! I remember Stefano talking about introducing it, and that was also why I thought we had it already since long time on x86. Well, anyway... :-) > What is missing is support for > paravirt_steal_rq_enabled which requires to be able to read the > stolen > time of another cpu. This can't work today as accessing another cpu's > vcpu_runstate_info isn't possible without risking inconsistent data. > I plan to add support for this, too, but this will require adding > another hypercall to map a modified vcpu_runstate_info containing an > indicator for an ongoing update of the data. >=20 Understood. So, Tony, up for trying again your workload with this patch applied to Linux? Most likely, it _won't_ fix all the problems you're seeing, but I'm curious to see if it helps. Thanks again and Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-pt0EXuRSCCMKLIetXhGQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXPIK8AAoJEBZCeImluHPuBB4QAKfybQTnbO6tjB/08NF+fAhg 8sxxzBC3RQt0vJfyJjZ6CKwmkQcjtPsHSjsM/EtLf4lO30sgaO1LIT78rfqh2Nni wSgfWdR1N99XaoxHhN3kPRHbjs/zBgg7doBVoHCKXE9QSurdXWQ823l2vsfyTNgB iEWYoSQSlWvBIhZIzwOOD2j3w3orG/ved9+C6fIP/t0qImyizuK3nrFZvsRJQrJF ksAcaGOXszPEXyaddS1JoU1Qdh+nWhyThrY5YQtOJL74hz7t+ToMRLjCYh01yCjL Q4CqkO9/8VmQdQtZHnh36CzWxOR/AmP9bSJHoosrZHFG4T065MoPZRWkIvnhp6Lx 104tSHPz2FgcxlQJAVkP5/GNt65Bw9Z1n8YZw7+A4DUTNqh7clnzV/yv4NZ77Ex1 YA0r4ENBVka26JFm4Fz/Cge3XaJioc6YEFGjHS7pLkvusM0c22DHoNgISFczAV3u ZE9RCG9G+T5PTTe9aqnTnHvcbeqbd7hbOeKV2wrzatpJt/hQfI9WRv4OE0BPh8km 647FNVMjCd+23IHt9jB3sWExzMfUlFIeKRbBgEyqMH4JOoEfUWeneKQOvYVdtgxf QkxFpBu2yjspz7OGf82tchE0BGaACic1erWYnBllfPFNJUWs4BIzQ1dipXu7x04o 0/+8z6W/PUWCe135jx41 =FsuP -----END PGP SIGNATURE----- --=-pt0EXuRSCCMKLIetXhGQ-- --===============4389040237564396550== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============4389040237564396550==--