[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Auto CPU pinning for domUs


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jan Hejl <jh@xxxxxxxxxx>
  • Date: Tue, 25 Sep 2012 15:42:09 +0200
  • Delivery-date: Tue, 25 Sep 2012 13:43:28 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=excello.cz; h=message-id :date:from:mime-version:to:subject:content-type; q=dns; s= default; b=RE0cELJUGzSCP0yi5HR5NZWRIkfvBRIFXzxHDqRVrCg7Q/SDssP8v 7GUf61olR14naEBlskHx0SeYip2V3ecCEpyaWfpEV8knS7snOgJkLig9Ixfo0NX+ bduQ0UbUAN2
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello Xen users,

i'm using Xen 4.1.2 on Gentoo Hardened and i'm stucked with one thing. After starting my domUs, i would like to have them pinned to specified CPU cores. I'm using this config file:

kernel = "hvmloader"
builder='hvm'
memory = 2048
name = "VirusfreeDB"
vcpus=4
cpus="16-19"
acpi=1
apic=0
vif = [ 'bridge=xenbr0, script=vif-bridge, type=ioemu, model=e1000, 
mac=00:16:3e:63:90:aa' ]
disk = [
        'phy:/dev/vg/VirusfreeDB,hda,w',
        ',hdc:cdrom,r'
]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
device_model = 'qemu-dm'
boot="dc"
sdl=0
opengl=0
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''
stdvga=0
serial='pty'
tsc_mode=0
xen_platform_pci=0

so I suppose that it should be pinned to CPUs 16 to 19. But in 'xl vcpu-list' is 'Any CPU', thus i have to do this manually with 'xl vcpu-pin' command. Is there any way to do this automaticaly? Or am I doing something wrong?

Let me know if you need any other information, I'm new here.

Thank you
Jan Hejl

Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.