td-ifs@web.de
2008-Feb-14 15:09 UTC
[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@lists.xensource.com
http://lists.xensource.com/xen-users
td-ifs@web.de
2008-Feb-14 15:13 UTC
[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@lists.xensource.com
http://lists.xensource.com/xen-users
pierre.gentile@mpsa.com
2008-Feb-14 17:14 UTC
Réf. : [Xen-users] On an eight cpu system domU ''cap'' can only be set to 100
You should try to put : vcpus = 8 into your domu configuration file and
restart it
Regards
Pierre Gentile
td-ifs@web.de
Envoyé par :
xen-users-bounce Pour
s@lists.xensourc xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
John Madden
2008-Feb-14 20:15 UTC
Re: Réf. : [Xen-users] On an eight cpu system domU ''cap'' can only be set to 100
On Thu, 2008-02-14 at 21:21 +0100, td-ifs@web.de wrote:> Does not change anything. Regardless where I set vcpu I cannot increase it. > > I forgot the environment: Debian Etch, amd64, Xen 3.0.3-1Is the domU kernel SMP-capable? John -- John Madden Sr. UNIX Systems Engineer Ivy Tech Community College of Indiana jmadden@ivytech.edu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
td-ifs@web.de
2008-Feb-14 20:21 UTC
Re: Réf. : [Xen-users] On an eight cpu system domU 'cap' can only be set to 100
Does not change anything. Regardless where I set vcpu I cannot increase it. I forgot the environment: Debian Etch, amd64, Xen 3.0.3-1 Thanks Thomas D On Thursday 14 February 2008 18:14, pierre.gentile@mpsa.com wrote:> You should try to put : vcpus = 8 into your domu configuration file and > restart it > > Regards > > Pierre Gentile > > > > td-ifs@web.de > Envoyé par : > xen-users-bounce Pour > s@lists.xensourc xen-users@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
pierre.gentile@mpsa.com
2008-Feb-15 08:29 UTC
Réf. : Re: Réf. : [Xen-users] On an eight cpu system domU ''cap'' can only be set to 100
My config :
HP DL585-G2/SLES10-SP1/Xen 3.0.4_13138-0.60
Scheduling info :
# xm sched-credit -d yval1410
{''cap'': 120, ''weight'': 220}
Domu configuration :
# cat /etc/xen/auto/yval1410.cfg
----8<----
kernel = ''/users/eso69/xen/kernels/vmlinuz-xen''
ramdisk = ''/users/eso69/xen/kernels/initrd-xen''
localtime = 0
memory = 11264
maxmem = 22528
name = ''yval1410''
vif = [ ''mac=00:16:3e:2f:6f:eb,bridge=xenbr0'' ]
ip = ''10.82.173.133''
disk = [
''phy:/dev/evms/.nodes/lvm2/yval1410/system,xvda,w'',
''phy:/dev/evms/.nodes/lvm2/yval1410/altsystem,xvdb,w'',
''phy:/dev/evms/.nodes/lvm2/yval1410/users,xvdc,w'',
]
root = ''/dev/evms/lvm2/system/rootvol''
extra = ''xencons=tty''
vcpus = 8
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
----8<----
Hope it helps
Regards
Pierre Gentile
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users