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

[Xen-users] On an eight cpu system domU 'cap' can only be set to 100

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] On an eight cpu system domU 'cap' can only be set to 100
From: td-ifs@xxxxxx
Date: Thu, 14 Feb 2008 16:09:21 +0100
Delivery-date: Mon, 18 Feb 2008 09:42:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: http://freemail.web.de/
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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