From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: CAP and performance problem Date: Thu, 6 Jun 2013 16:12:57 +0200 Message-ID: <1370527977.18519.275.camel@Solace> References: <519B3832.30608@di.unipmn.it> <1370451024.18519.190.camel@Solace> <1370452319.18519.197.camel@Solace> <51AF6FBD.9090007@di.unipmn.it> <1370507870.18519.224.camel@Solace> <51B04F0E.5040506@di.unipmn.it> <51B066CC.4060900@ts.fujitsu.com> <51B067F1.1010008@eu.citrix.com> <51B08606.9090105@di.unipmn.it> <51B08883.50003@ts.fujitsu.com> <51B094D1.9010806@di.unipmn.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2501402687915628804==" Return-path: In-Reply-To: <51B094D1.9010806@di.unipmn.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Massimo Canonico Cc: George Dunlap , Juergen Gross , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============2501402687915628804== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3zJz4JdGjrwOEsdh+KNG" --=-3zJz4JdGjrwOEsdh+KNG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On gio, 2013-06-06 at 15:55 +0200, Massimo Canonico wrote: > On 06/06/2013 03:02 PM, Juergen Gross wrote: > > You added the boot parameter for the hypervisor, not dom0?=20 > Fedora, after few seconds, asks you which kernel do you want to use. You= =20 > can add some parameter in the command line who launches the kernel. So,= =20 > I add "cpufreq=3Dnone" in the command line. > IIRC, that won't do, as you're most likely modifying Dom0 command line, you need to be sure you're adding that bit to the Xen boot command line.=20 I think you can do that dynamically, by editing the grub2 parameters on-line, as you're saying you did, but you have to make sure you affect Xen and not Linux. IIRC Otherwise, you should go to /etc/default/grub (I think), look for something like GRUB_CMDLINE_XEN (I think) add the "cpufreq=3Dnone" string there and regenerate grub.cfg by running: # grub2-mkconfig -o /boot/grub2/grub.cfg After that, I recommend double checking that /boot/grub2/grub.cfg has it, and has it in the right place. Feel free to post it here, if you're not sure about that... > > Could you try: > > > > xl vcpu-list; sleep 10; xl vcpu-list > > > > when the test is running and post the output? > > > > > > Juergen > > > here we go: >=20 > [root@csitest ~]# xl vcpu-list; sleep 10; xl vcpu-list > Name ID VCPU CPU State Time(s) CPU= =20 > Affinity > Domain-0 0 0 0 --- 23.0 0 > Domain-0 0 1 0 --- 10.5 0 > Domain-0 0 2 0 --- 8.5 0 > Domain-0 0 3 0 r-- 6.8 0 > rubis-web 1 0 2 r-- 2968.5 2 > Name ID VCPU CPU State Time(s) CPU= =20 > Affinity > Domain-0 0 0 0 --- 23.0 0 > Domain-0 0 1 0 r-- 10.6 0 > Domain-0 0 2 0 --- 8.5 0 > Domain-0 0 3 0 --- 6.8 0 > rubis-web 1 0 2 r-- 2973.5 2 >=20 So, rubis-web's vcpu ran for 5 secs, which sounds right. I see why Jurgen asked you to do that, but not how he plans to squeeze anything more than that from these numbers... Waiting for him to enlighten us again! ;-P > Concerning the George's question: > > Have you checked your BIOS for performance settings? > I'm not sure what you mean for "BIOS perfomance settings". To my best=20 > knowledge, in the BIOS I have to be sure that the "hw virtualization" is= =20 > enabled. >=20 I think he was referring to something related to poerformance vs. power management, i.e., cpufreq/speedstep tweaks, and stuff like that, if ou have any in the BIOS... Do you? Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-3zJz4JdGjrwOEsdh+KNG 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 v1.4.13 (GNU/Linux) iEYEABECAAYFAlGwmOkACgkQk4XaBE3IOsSRowCgpoAQVA3iXL/FR2pzUKiyfTK9 Q+QAniF9xEPGWBuy+X+Eb6lLzmiSbXHJ =tnrj -----END PGP SIGNATURE----- --=-3zJz4JdGjrwOEsdh+KNG-- --===============2501402687915628804== 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 --===============2501402687915628804==--