WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Réf. : [Xen-users] On an eight cpu system domU 'cap' can only be set to

To: td-ifs@xxxxxx
Subject: Réf. : [Xen-users] On an eight cpu system domU 'cap' can only be set to 100
From: pierre.gentile@xxxxxxxx
Date: Thu, 14 Feb 2008 18:14:15 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Feb 2008 09:14:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1475592338@xxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1475592338@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You should try to put : vcpus = 8 into your domu configuration file and
restart it

Regards

Pierre Gentile


                                                                       
             td-ifs@xxxxxx                                             
             Envoyé par :                                            
             xen-users-bounce                                         Pour
             s@xxxxxxxxxxxxxx          xen-users@xxxxxxxxxxxxxxxxxxx   
             e.com                                                      cc
                                                                       
                                                                     Objet
             14/02/2008 16:13          [Xen-users] On an eight cpu system
                                       domU 'cap' can only be set to 100
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




On a 8 Core system only dom0 can set cap > 100 and vcpus > 1. On a domU

'xm sched-credit -d <domU> -c 200'

says "Error: cap is out of range". Vcpu cannot be set higher than 1 -
regardless of boot/config/command line. Low performance is equivalent to
the
cap setting.


See 'xm list --long':

(domain
    (domid 0)
    (uuid 00000000-0000-0000-0000-000000000000)
    (vcpus 8)
    (cpu_weight 1.0)
    (memory 256)
    (shadow_memory 0)
    (maxmem 256)
    (features )
    (name Domain-0)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (state r-----)
    (shutdown_reason poweroff)
    (cpu_time 458.198750944)
    (online_vcpus 8)
)
(domain
    (domid 5)
    (uuid f9070996-4ae2-bbc6-ad88-80e0da1a13f1)
    (vcpus 1)
    (cpu_weight 1.0)
    (memory 1024)
    (shadow_memory 0)
    (maxmem 2048)
    (features )
    (name dev-services)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (image
        (linux
            (kernel /boot/vmlinuz-2.6.18-5-xen-amd64)
            (ramdisk /boot/initrd.img-2.6.18-5-xen-amd64)
            (ip 10.10.10.56:1.2.3.4:10.10.10.254:255.255.255.0::eth0:off)
            (root '/dev/sda1 ro')
            (args 'mem=2048M')
        )
    )
    (device
        (vif
            (backend 0)
            (script vif-bridge)
            (bridge xenbr1)
            (mac 00:16:3e:00:00:01)
        )
    )
    (device
        (vbd
            (backend 0)
            (dev sda1:disk)
            (uname phy:server/dev-services-root)
            (mode w)
        )
    )
    (state -b----)
    (shutdown_reason poweroff)
    (cpu_time 5.184650252)
    (online_vcpus 1)
    (up_time 1186.54874301)
    (start_time 1202999946.85)
    (store_mfn 628537)
    (console_mfn 628536)
)
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users