similar to: API to set cpuset.cpu_exclusive flag

Displaying 20 results from an estimated 8000 matches similar to: "API to set cpuset.cpu_exclusive flag"

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 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 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 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 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 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 Jul 02
0
Not able to create two cpusets with exclusive access
Hi all, I am trying to set up exclusive cpu access for two different VMs. Now, in the hierarchy, the directories of both the VM's are inside /libvirt/qemu/$VM. I have 3 cpus on my machine. I have done echo 0 > cpuset.cpus and echo 1 > cpuset.cpu_exclusive for one VM. Now, I am launching another VM using virt-install and I have given the option --cpuset 1. There is no overlapping of cpus
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
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 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 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
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 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
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
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
2017 Oct 18
2
Can we disable write to /sys/fs/cgroup tree inside container ?
Hi all Each lxc container on node have mounted tmpfs for cgroups tree: [root-inside-lxc@tst1 ~]# mount | grep cgroups cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on
2013 Aug 21
2
Information needed regarding the libvirt version libvirt-1.0.6-1
Hi, We have upgraded the libvirt version from libvirt-1.0.5 to libvirt-1.0.6-1 on our linux machine. After this upgrade "virsh cpu-stats <domain>" command is not working on our HardWare. *virsh # cpu-stats test error: Failed to retrieve CPU statistics for domain 'test' error: internal error error accessing cgroup cpuacct for vcpu* ** *# cat /proc/cgroups #subsys_name
2013 Jun 07
2
Re: cgroup error starting domains
On Thu, Jun 06, 2013 at 06:26:23PM +0200, Matteo Bernardini wrote: > On 05/22/2013 11:01 AM, Matteo Bernardini wrote: > > Hi, > > > > I've got a small problem using libvirt-1.0.5.1 (with the latest patch in > > the v1.0.5-maint branch on git added). > > I'm using slackware64-14.0 but the situation is exactly the same described > > on a debian bug
2013 Sep 03
2
No valid cgroup for machine...
Hello! How do i get pass this error? offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml create: file(optdata): o1.xml error: Failed to create domain from o1.xml error: internal error: No valid cgroup for machine c1 My cgroups seem to be mounted: cgroup on /sys/fs/cgroup/systemd type cgroup
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.