similar to: pinVcpu not working

Displaying 20 results from an estimated 1000 matches similar to: "pinVcpu not working"

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 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
2010 Sep 22
1
Question on CPU pinning in Python
Looking at the python API, once I have a domain object I can call domain.pinVcpu to pin a specific vcpu to a physical CPU. I found http://www.mail-archive.com/libvir-list at redhat.com/msg04562.html which mentioned some changes to the C API in the Python implementation, and was wondering if my understanding is correct. Say that I have a host system with 16 logical CPU's, 0-15. If I wanted to
2013 Mar 19
2
Errors while using blkiotune command
Hi all, I want to limit the I/O bandwidth inside the container, so I used virsh command blkiotune. But when I enter a command: virsh # blkiotune lxcguest --weight 250 I get following errors: error: Unable to change blkio parameters error: Requested operation is not valid: blkio cgroup isn't mounted I also have blkio cgroup mounted. What can be the problem? Thanks in advance. Regards,
2013 Nov 11
2
User Namespace in LXC
Hi all, I'm trying to restrict privileges of root user inside the container. I searched about it and got to know about "idmap" element in domain XML. I added "idmap" element in my container's XML file: <idmap> <uid start='0' target='1000' count='10'/> <gid start='0' target='1000' count='10'/>
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 06
21
[PATCH v2 0/5] xl: allow for node-wise specification of vcpu pinning
Hi all, This is the second take of a patch that I submitted some time ago for allowing specifying vcpu pinning taking NUMA nodes into account. IOW, something like this: * "nodes:0-3": all pCPUs of nodes 0,1,2,3;  * "nodes:0-3,^node:2": all pCPUS of nodes 0,1,3;  * "1,nodes:1-2,^6": pCPU 1 plus all pCPUs of nodes 1,2    but not pCPU 6; v1 was a single patch, this is
2013 Nov 13
2
Re: User Namespace in LXC
Hi Gao, I checked the output of "lxc-checkconfig" command and it showed --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled *User namespace: missing* Network namespace: enabled Multiple /dev/pts instances: enabled Here it shows that User namespace support is missing. I tried to check for Namespaces Support in kernel
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 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 Nov 11
2
Re: User Namespace in LXC
Hi Gao, I appreciate your quick reply. >you can try create a file in container, and on host, the owner of this file is uid=1000. >and on the other side, if a file's owner is uid 1000 on host. in this container, you will >see the owner of this file is uid 0. I tried creating a file inside the container with root user. When I checked uid of the file on the host, it still gives me uid
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 25
4
The error for creating a new vm for kvm
I checked the capabilities. I do not know why the guest is only for vbox. <guest> <os_type>hvm</os_type> <arch name='i686'> <wordsize>32</wordsize> <domain type='vbox'> </domain> </arch> </guest> I want it run qemu-kvm. and when i run virsh define /etc/libvirt/qemu/demo.xml. It shows error:
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 Mar 12
1
Check memory inside a container
Hi all, I'm new to LXC and libvirt. I have created a LXC container using libvirt. In domain XML file I have mentioned "memory" and "current memory" as 256 MB. Now I want to check the memory inside the container, but whenever I run top command or try to cat /proc/meminfo, it shows host machine's memory which is 3GB. So is there any command by which I can check
2013 May 12
1
Check Swap Usage on Guest VM from Host
I was wondering if swap usage of Guest VM can be checked from Host machine via command line.Is it possible? -- Nehal J. Wani UG2, BTech CS+MS(CL) IIIT-Hyderabad http://commanlinewani.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130512/bee20a7e/attachment.htm>
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 Mar 15
2
strange phenomenon on CPU affinity
Hello, My testing machine has 2 quad-core CPU (It supports hyperthreading, but i disable it in BIOS). I uses Xen 4.0.1 as the hypervisor. When I use 8 VMs to conduct a test, CPU affinity of the VMs is very strange. Like this: vm_name vcpu_num cpu_affinity Domain-0 8 any VM1 4 1,3,5,7 VM2 4 1,3,5,7 VM3 4 1,3,5,7 VM4 4
2018 Sep 17
2
Re: NUMA issues on virtualized hosts
On 09/14/2018 03:36 PM, Lukas Hejtmanek wrote: > Hello, > > ok, I found that cpu pinning was wrong, so I corrected it to be 1:1. The issue > with iozone remains the same. > > The spec is running, however, it runs slower than 1-NUMA case. > > The corrected XML looks like follows: [Reformated XML for better reading] <cpu mode="host-passthrough">
2018 Sep 14
3
NUMA issues on virtualized hosts
Hello, I have cluster with AMD EPYC 7351 cpu. Two CPUs per node. I have performance 8-NUMA configuration: This is from hypervizor: [root@hde10 ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 NUMA