All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Massimo Canonico <mex@di.unipmn.it>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	Juergen Gross <juergen.gross@ts.fujitsu.com>,
	xen-devel@lists.xen.org
Subject: Re: CAP and performance problem
Date: Thu, 6 Jun 2013 16:12:57 +0200	[thread overview]
Message-ID: <1370527977.18519.275.camel@Solace> (raw)
In-Reply-To: <51B094D1.9010806@di.unipmn.it>


[-- Attachment #1.1: Type: text/plain, Size: 3168 bytes --]

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? 
> Fedora, after few seconds, asks you which kernel do you want to use. You 
> can add some parameter in the command line who launches the kernel. So, 
> I add "cpufreq=none" 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. 

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=none" 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:
> 
> [root@csitest ~]# xl vcpu-list; sleep 10; xl vcpu-list
> Name                                ID  VCPU   CPU State   Time(s) CPU 
> 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 
> 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
> 
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 
> knowledge, in the BIOS I have to be sure that the "hw virtualization" is 
> enabled.
> 
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

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-06-06 14:12 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21  9:02 CAP and performance problem Massimo Canonico
2013-05-21 10:41 ` George Dunlap
2013-05-21 10:48   ` George Dunlap
2013-05-21 11:54     ` Massimo Canonico
2013-05-21 13:06       ` Dario Faggioli
2013-05-21 14:28         ` Massimo Canonico
2013-05-21 14:47           ` Dario Faggioli
2013-05-21 15:26             ` Massimo Canonico
2013-05-22 14:42             ` Massimo Canonico
2013-05-22 15:39               ` Dario Faggioli
2013-05-24  7:48                 ` Massimo Canonico
2013-06-04 14:03                   ` Massimo Canonico
2013-06-04 14:25                     ` Dario Faggioli
2013-06-05 16:50 ` Dario Faggioli
2013-06-05 17:11   ` Dario Faggioli
2013-06-05 17:05     ` Massimo Canonico
2013-06-06  8:37       ` Dario Faggioli
2013-06-06  8:57         ` Massimo Canonico
2013-06-06  9:52           ` Dario Faggioli
2013-06-06 10:39           ` Juergen Gross
2013-06-06 10:44             ` George Dunlap
2013-06-06 12:52               ` Massimo Canonico
2013-06-06 12:58                 ` George Dunlap
2013-06-06 13:02                 ` Juergen Gross
2013-06-06 13:55                   ` Massimo Canonico
2013-06-06 14:12                     ` George Dunlap
2013-06-06 14:12                     ` Dario Faggioli [this message]
2013-06-06 15:27                       ` Massimo Canonico
2013-06-06 15:42                         ` Dario Faggioli
2013-06-06 15:54                           ` Dario Faggioli
2013-06-06 16:27                             ` George Dunlap
2013-06-07  7:40                               ` Massimo Canonico
2013-06-07  4:45                       ` Juergen Gross
2013-06-06 13:03                 ` Dario Faggioli
2013-06-06 13:09                   ` Massimo Canonico
2013-06-06  9:02   ` George Dunlap
2013-06-06  9:48     ` Dario Faggioli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370527977.18519.275.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=juergen.gross@ts.fujitsu.com \
    --cc=mex@di.unipmn.it \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.