similar to: Question on CPU pinning in Python

Displaying 20 results from an estimated 1000 matches similar to: "Question on CPU pinning in Python"

2013 Jul 19
2
pinVcpu not working
Hi all, I am working with libvirt and I am trying to set cpu affinity. Now I can always use      virsh vcpupin <domain_name> <vcpu> <pcpu> to pin vcpus to pcpus. I want to do it using Python API. Now, there is function pinVcpu which is supposed to do that. But this is not working. For example I gave      dom.pinVcpu(0,1) but still my vcpu affinity is for all the pcpus. The
2013 Jul 27
0
Re: pinVcpu not working
Hi Peeyush, If we want to pin vcpu1 of a domain to CPUs 3 and 4, we need to pass: dom.pinVcpu(1, (False, False, False, True, True, False....[and so on, til number of logical CPUs of host])) Can you please check this? Regards, Saurabh Deochake [NTT DATA] On Fri, Jul 19, 2013 at 11:45 AM, Peeyush Gupta <gpeeyush@ymail.com> wrote: > Hi all, > > I am working with libvirt and I
2006 Sep 29
1
[Xen-ia64-devel] RE: IPF/Xen VTI domain testing report for Xen 3.0.3 RC1
>5. LTP testing might run very slow in SMP VTI Domain with credit scheduler. If binding VTI >and Xen0 vcpu, this bug won''t be there. Hi keir, In credit scheduler, two vcpus in the same domain may be scheduled on the same CPU. For instance, vcpu0 and vcpu1 are running on the same CPU, vcpu0 is doing spin_lock in guest, then time slice is due, vcpu0 is scheduled out before doing
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi, As told in "Control Groups Resource Management" libvirt page : Legacy cgroups layout Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2013 Dec 03
0
cputune shares with multiple cpu and pinning
Hi, I have found the cpu time partitioning based on cpu shares weights not very intuitive. On RHEL64, I deployed two qemu/kvm VMs VM1 with 1 vcpu and 512 cpu shares VM2 with 2 vcpus and 1024 cpu shares I pinned their vcpus to specific host pcpus: VM1 vcpu 0 to host pcpu1 VM2 vcpu 0 to host pcpu1, VM2 vcpu 1 to host pcpu2 I executed inside the VMs a simple process that consume all
2005 Aug 08
1
[PATCH] Fix domain CPU time calculation to count all VCPU times correctly
Currently, the getdomaininfo function (used to fill in a dom0_getdomaininfo_t for a domain) calculates a domain''s total CPU time from its VCPU times using the code: if ( v->cpu_time > cpu_time ) cpu_time += v->cpu_time; This causes a VCPU''s time to only be counted if it is greater than the current total; so if VCPU0 has 10 seconds and VCPU1 has 5, the
2005 Sep 20
1
timer interrupts, virqs, irq balance questions
I''ve been looking into bug [1]#195 and I have a couple of questions on how timer interrupts and virqs are handled. Is it possible for dom0 linux to irq balance timer interrupts to different cpus? That is, if xen sends a VIRQ_TIMER to vcpu0, backed by cpu0, is it possible for that interrupt to be handled by vcpu1, backed by cpu1 ? After putting in some debug code in to timer_interrupt
2019 Aug 29
0
[libvirtd] qemu_process: reset CPU affinity to all enabled CPUs, when runs in custom cpuset
Hello All, Since 4.5.0-23.el7 version (Red Hat 7.7), when I launch pinned VM, libvirtd reset CPU affinity to all enabled in host CPUs, if it runs in custom cpuset. I can't reproduce this behavior with 4.5.0-10.el7_6.12 with the same kernel version (Red Hat 7.7). Libvirt runs in a custom cpuset 'libvirt', where the number of available cpus is restricted to 0,2,4,6,8. And this
2012 Oct 22
4
xen_evtchn_do_upcall
Hi, Is anybody know the purpose of this method (xen_evtchn_do_upcall)? When I run a user level application involved in TCP receiving and the SoftIRQ for eth0 on the same CPU core, everything is OK. But if I run them on 2 different cores, there will be xen_evtchn_do_upcall() existing (maybe when the local_bh_disable<http://www.cs.fsu.edu/~baker/devices/lxr/http/ident?i=local_bh_disable>() or
2013 Jul 19
2
How to insert vcpupin in guest xml file
Hi all, I am trying to add vcpupin in the guest xml file. I am working with openstack and the code I have is python bound. I investigated through the code and found that the elemets in xml file are set in get_guest_config function. Now the thing is I am not able to set vcpupin element. I mean I tried guest.cputune_vcpupin but it's not working. Help me out, please! Thanks.   ~Peeyush Gupta
2015 Oct 29
0
Re: How to retrieve legacy cgroups location ?
On Thu, Oct 29, 2015 at 10:40:44AM +0000, Jean-Pierre Ribeauville wrote: >Hi, > >As told in "Control Groups Resource Management" libvirt page : >Legacy cgroups layout >Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy
2015 Jan 06
4
Xen4CentOS python-virtinst version issue, blktap2 problem
Hello, It seems currently when you "yum update" CentOS 6.6 Xen host you end up getting python-virtinst from c6 base repo: python-virtinst-0.600.0-24.el6.noarch and not from Xen4CentOS repo, because the version there is "older": 0.600.0-19. .. which means the centos/xen-specific patch in python-virtinst is "lost". (default to tap2 instead of tap1, to make blktap2
2008 Nov 08
7
Paravirtualized Solaris Update 6 (10/08)?
Gurus; I''ve been running Solaris 10 on a HVM domain on my machine (running SXCE snv_93 x86) for some time now. Now that Solaris 10 Update 6 (10/08) has been released, I tried creating a Paravirtualized Guest domain but got the same error message I got previously... # virt-install -n sol10 -p -r 1560 --nographics -f /dev/zvol/dsk/rpool/sol10 -l /stage/sol-10-u6-> Starting
2009 May 27
3
Installing Debian as guest VM
hi all, When i tried to install debian as a new guest VM in paravirtualized mode on Xen the following error occurs. please help me to resolve the problem.. Unable to complete install ''<type ''exceptions.ValueError''> Invalid install location: Opening URL http://172.16.0.31:8088/debian1 failed.. Traceback (most recent call last):   File
2011 Oct 22
1
virt-install with set vnc password
Hi Guy, Anyone know how we can set up the vnc password during using virt-install command ? # virt-install \ --connect qemu:///system \ --name demo \ --ram 500 \ --disk path=/var/lib/libvirt/images/demo.img,size=5 \ --network network=default,model=virtio \ --vnc \ --cdrom /dev/cdrom
2012 Jan 30
3
Problem with Centos 6.2 KVM
Greetings, Launching the virt-manager yeilds following error Error polling connection 'qemu:///system': internal error Cannot find suitable emulator for x86_64 Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 440, in _tick conn.tick() File "/usr/share/virt-manager/virtManager/connection.py", line 1414, in tick
2010 Dec 29
1
I can''t install PV ubuntu in my CentOS5.5 based xen
Hi, I''m using the build-in xen with centOS5.5. The xen version here is 3.1.2-194.26.1.el5. I have succeeded install Debian Lenny on-line with the address " http://ftp.us.debian.org/debian/dists/lenny/main/installer-i386/ " And my full command to setup Xen is "/virt-install -n aaronXEN -r 256 --vcpus=2 --check-cpu --disk path=/dev/mapper/crhGroup-aaronXEN --location
2008 Mar 30
2
install suse sles10 as para Dom-U on RHEL5
Hi,All, how can I install suse sles10 as para Dom-U on RHEL5, I have update xen to 3.2. In python-virtinst readme,there is only support Fedora/Red Hat Enterprise Linux. README of python-virtinst: virtinst is a module to help in starting installations of Fedora/Red Hat Enterprise Linux related distributions inside of virtual machines. It supports both paravirt guests (for which only FC and
2012 Feb 14
3
[libvirt] Fail to import available VM image
On 02/14/2012 11:01 AM, Jun Koi wrote: > On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia <ajia at redhat.com> wrote: >> Hi Jun, >> I assume you haven't changed libvirt default URI, it may be a issue, >> I want to know whether it works for you if you explicitly specify >> --connect qemu:///system with virt-install? I think a root reason >> probably is your disk
2009 Sep 23
1
hello, how to install ubuntu for iso CD.
hello all, I have a question of how to install the DomU, I used virt-install, typed VM ''s name. After asked the following question, What is the install location? I typed /media/ubuntu/-9.04-desktop-i386.iso it didn''t work, show the following messages Could not find an installable distribution at