similar to: Not able to create two cpusets with exclusive access

Displaying 20 results from an estimated 9000 matches similar to: "Not able to create two cpusets with exclusive access"

2013 Jul 24
2
API to set cpuset.cpu_exclusive flag
Hi all, I have been trying to set cpu_exclusive flag. Now I can do it using "echo". I want to know is there any other way (an API) to set this flag? Is it possible to set this flag using API? Thanks.   ~Peeyush Gupta
2013 Jul 24
0
Re: API to set cpuset.cpu_exclusive flag
On Wed, Jul 24, 2013 at 06:59:29PM +0800, Peeyush Gupta wrote: > Hi all, > > I have been trying to set cpu_exclusive flag. Now I can do it > using "echo". I want to know is there any other way (an API) > to set this flag? Is it possible to set this flag using API? There's no API in libvirt for setting this, and I don't really see the point in this cgroup setting
2013 Sep 17
0
Re: libvirt-users Digest, Vol 45, Issue 28
Test libvirt-users-request@redhat.com schrieb: >Send libvirt-users mailing list submissions to > libvirt-users@redhat.com > >To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/libvirt-users >or, via email, send a message with subject or body 'help' to > libvirt-users-request@redhat.com > >You can reach the
2013 Jul 02
0
cpuset attribute not working with virt-install
Hi all, I have been trying to use cpuset with virt-install. I am using the following command: $ virt-install --virt-type kvm --name Ubuntu13 --ram 1024 --cdrom=/home/peeyush/Downloads/ubuntu-13.04-desktop-i386.iso --cpuset=0,2 --disk path=/var/lib/libvirt/guest.qcow2,size=10,format=qcow2 Now, according to virt-install man page, my VM's cpu affinity should be set to pcpu 0 and 2 . But when
2013 Aug 01
3
Re: Installing libvirt
Hi, Sorry, I will keep the instructions in mind. I tried ./autogen.sh with --system but there was a version mismatch. I guess someone should write a patch for debian based system.  I tried to install libvirt 1.1.1 with Fedora and when I did make, I got the following error:  Making all in src make[2]: Entering directory `/home/peeyush/Downloads/libvirt-1.1.1/src'   GEN    
2013 Jul 03
0
How to set cpuset.cpus dynamically?
Hi all, I have been trying to run a VM on some particular cpu cores. Now the thing is I can set cpuset with virt-install and that will reflect in VM's XML and it will define the affinity. But what about cpuset.cpus? That is inherited directly from the parent. Is there any way to set it when launching the VM? Again, if I have given cpuset during virt-install, why doesn't cpuset.cpus
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
2013 Jul 31
3
Installing libvirt
Hi,  I am trying to install new libvirt version on Ubuntu 12.04 LTS. Now I downloaded libvirt 1.0.5 from libvirt.org/sources then I issued three commands: ./autogen.sh make make install This installs the libvirt on my system. But there are some issues, I have to run libvirtd explicitly everytime I reboot my system. And whenever I try to run virt-manager from terminal, it says "No D-Bus
2013 Sep 17
2
Finding out CPU topology.
Hi all, I have been trying to find out cpu topology using libvirt. When I do 'virsh capabilites', I find this inside <topology> tag: <topology>       <cells num='1'>         <cell id='0'>           <memory unit='KiB'>3908488</memory>           <cpus num='4'>             <cpu id='0' socket_id='0'
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
2013 Jun 14
0
can virsh set the cpuset attribute of <vcpu ..> (CPU Allocation) ?
Is it possible to use virsh to set the cpuset attribute of the CPU Allocation element in a domain ? <domain> ... <vcpu placement='static' cpuset="1-4,^3,6" current="1">2</vcpu> ... </domain> I have seen that virsh vcpupin and virsh emulatorpin can be used to query and set the cpusets of the <vcpupin> and <emulatorpin>
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
2013 Sep 09
0
Re: How to insert vcpupin in guest xml file
On 07/19/2013 04:51 PM, Peeyush Gupta wrote: > 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
2013 Aug 27
1
Finding out CPU topology
Hi, I have been trying to find out CPU topology using libvirt. I understand that I can find out the number of cores/sockets/ threads etc through getCapabilities() function. What I am wondering is that is there any function that can provide me the exact topology like how many sockets, how many sockets per core and number of threads per core, if applicable or may be info about numa cells.  Is there
2012 Oct 16
1
cpuset not affecting real pid placement
Hi, At least on 0.10.2 setting a cpuset doesn`t match a real process placement - VM still consumes all available cores. VM config: .snip. <vcpu placement='static' cpuset='0-5,12-17'>12</vcpu> .snip. for cpuset in $(find /cgroup/cpuset/libvirt/qemu/vmid/ -name cpuset.cpus) ; do grep 0-5 $cpuset ; done got: empty responce, e.g. 0-23 in my setup expected: at least
2006 Mar 17
1
Accessing the parallel port
hi list, I have a winXP program that uses the PC parallel port.I have created the links in .wine/dosdevices/ lrwxrwxrwx 1 peeyush peeyush 10 2006-03-03 22:48 com1 -> /dev/ttyS0 lrwxrwxrwx 1 peeyush peeyush 8 2006-03-03 22:48 lpt1 -> /dev/lp0 lrwxrwxrwx 1 peeyush peeyush 1 2006-03-03 22:52 d: -> / lrwxrwxrwx 1 peeyush peeyush 10 2006-03-03 22:52 c: -> ../drive_c Now the
2013 Jul 09
0
Unable to allocate multiple vcpus using virt-install
I am trying to run a VM on Ubuntu 12.04 which in turn is guest on Fedora 18 host. I am using qemu, kvm and libvirt. I tried to run the following command: virt-install --name dsl --ram 1024 --vcpus 2 --cdrom /home/peeyush/Downloads/some_iso_file.iso --disk path=/path_to_disk My machine here runs with only one vcpu. While when I tried the exact same thing on my Fedora 18 host, it shows two cpus.
2013 Aug 01
0
Re: Installing libvirt
On 07/31/2013 11:09 PM, Peeyush Gupta wrote: > Hi, > > Sorry, I will keep the instructions in mind. > > I tried ./autogen.sh with --system but there was a version mismatch. > I guess someone should write a patch for debian based system. > > I tried to install libvirt 1.1.1 with Fedora and when I did make, I got the > following error: > > Making all in src
2012 May 23
0
monitor socket did not show up.: No such file or directory
I am using a Nimbus Cloud Middleware which in turn use Python libvirt binding to start VM's. Hypervisor is KVM. # virsh -c qemu:///system version Compiled against library: libvir 0.8.7 Using library: libvir 0.8.7 Using API: QEMU 0.8.7 Running hypervisor: QEMU 0.12.1 Some time i get the error in the Nimbus Logs it says : UnexpectedError: Problem creating the VM: monitor socket did not show