search for: gpeeyush

Displaying 14 results from an estimated 14 matches for "gpeeyush".

Did you mean: peeyush
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 Sep 17
0
Re: libvirt-users Digest, Vol 45, Issue 28
...) > 2. Re: Finding out CPU topology. (Daniel P. Berrange) > 3. Re: Finding out CPU topology. (Peeyush Gupta) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Tue, 17 Sep 2013 17:41:12 +0800 (SGT) >From: Peeyush Gupta <gpeeyush@ymail.com> >To: "libvirt-users@redhat.com" <libvirt-users@redhat.com> >Subject: [libvirt-users] Finding out CPU topology. >Message-ID: > <1379410872.26498.YahooMailNeo@web194604.mail.sg3.yahoo.com> >Content-Type: text/plain; charset="iso-8859-1" &gt...
2013 Aug 01
3
Re: Installing libvirt
.../src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/peeyush/Downloads/libvirt-1.1.1' make: *** [all] Error 2 Any idea why am I getting this? Thanks. ~Peeyush Gupta ________________________________ From: Eric Blake <eblake@redhat.com> To: Peeyush Gupta <gpeeyush@ymail.com> Cc: "libvirt-users@redhat.com" <libvirt-users@redhat.com> Sent: Wednesday, 31 July 2013 6:19 PM Subject: Re: [libvirt-users] Installing libvirt On 07/30/2013 11:30 PM, Peeyush Gupta wrote: > Hi, [can you convince your mailer to wrap long lines?  Also, it look...
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 27
0
Re: pinVcpu not working
...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 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 > funct...
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 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 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 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 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 Jul 31
0
Re: Installing libvirt
Hi, I am not sure what exactly "libvirt-related packages" mean. But I didn't have anything else on my system. I mean, I launch a VM (with Ubuntu 12.04) and the first thing I installed is libvirt only. Thanks.   ~Peeyush Gupta
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 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