similar to: How to achieve higher priority of a process in a lxc on CentOS machine

Displaying 20 results from an estimated 10000 matches similar to: "How to achieve higher priority of a process in a lxc on CentOS machine"

2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
I'd also like to point out that, when setting up a linux container with _just_ the lxc tools available in ubuntu, all that was needed to be done was whitelist the appropriate cgroups for the Android devices. The lxc tools seem to create the appropriate character devices when you detach/attach the Android device via USB, and the Android `adb` tool recognized the devices. So, a tangential
2017 Feb 03
0
How to pin an libvirt lxc to a specific physical CPU core in openstack?
Dear all, In my applications, the real-time performance is very important, so I used 4 containers, with only one application running in each container and a physical CPU core is only dedicated to one lxc. and I must know which container is hosted by which CPU core. That is, I need to pin a specific lxc to a specific CPU core. I can achieve this in a native linux system by the following xml
2012 Nov 09
1
[LXC][Openstack] Clarifications needed on usage of libvirt-lxc for openstack
Hi everyone, I've some doubts regarding the usage/working of libvirt-lxc with openstack. I'm doing a project titled "Low density virtualization for Storage cloud" 1. Can i use libvirt for lxc with Openstack swift alone (excluding nova, glance and keystone)? If no what other openstack components should i use for virtualization? (Is it necessary to install openstack nova to do
2016 Dec 06
1
How can openstack retrieve the CPU usage of a lxc via libvirt?
Dear all, I want to have a view of lxc CPU usage in openstack Dashboard. According the Openstack official site , Openstack Ceilometer can poll libvirt daemon to obtain CPU usage of a virtual machine. I tried the command locally on the libvirtd host "virsh -c lxc:/// domjobinfo", I got an error "error: this function is not supported by the connection driver:
2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
Can you see the USB device in the lxc? My answering assumes you cannot see the USB device in the container. If you can see it, please ignore my answer. According to my understanding, “hostdev mode='subsystem' “ is used with KVM only. We use this if we want to passthrough a device to a KVM virtual machine. After doing that, the host machine will lose control of the device. If container is
2014 Apr 14
0
Re: LXC + USB passthrough = Operation not permitted
So, if I remove the hostdev element related to the USB device, running `lsusb` and `usb-devices` inside the container lists the proper device, but I do not see the appropriate character device bus for the Android device under /dev/bus/usb. We are not entirely sure that `lsusb` and `usb-devices` queries the appropriate location - it somehow gets information from the host, not the guest container,
2015 Apr 14
1
Re: oddity with lxc-enter-namespace
Hello The latest attempts that I made on fedora21 all gave me the same result I have tried . vanilla rpm from f21 (1.2.9 IIRC) . 1.2.14 . 1.2.13 . 1.2.12 these three ones I rebuilt from the source rpm published by libvirt eventually I reworked my own tools to enter the container via ssh, so this is not an immediate concern to me any longer but it is definitely odd I currently use 1.2.12
2014 Mar 17
0
Re: a question on vCPU setting for lxc
Hi, I'm not libvirt expect. My guess is that some vcpu settings only apply to KVM/qemu backend. LXC is quite different from them. If setting vcpu# is not effective for LXC container, you may need to use cgroups. -- Thanks, Yuanle On Mon, Mar 17, 2014 at 2:32 PM, WANG Cheng D < Cheng.d.Wang@alcatel-sbell.com.cn> wrote: > Dear all, > > I am not clear about the
2012 Nov 08
3
Failed to access console after launching LXC through libvirt
Hi, I'm trying to manage LXC instances through OpenStack, which use libvirt as a virtualization driver layer. After launching LXC instance, I simply could not attach to the console. virsh # list Id Name State ---------------------------------- 14366 instance-00000078 running virsh # console 14366 Connected to domain instance-00000078 Escape character is ^] And it keeps
2016 Apr 04
0
LXC don't support network type of ethernet
Hi All, Applied patch from below link in order to add ethernet network type support to LXC. https://www.redhat.com/archives/libvir-list/2016-January/msg00318.html Launching LXC based VM using openstack Icehouse release which uses libvirt in background fails with below error: LOG shows "*error : virNetDevVethCreate:196 : internal error: Failed to allocate free veth pair after 10
2016 Nov 02
1
latest documentation of OpenStack for CentOS7
Dear Gianluca, Thanks for sharing this information it will take my whole week again to read the architecture and to understand it. By the way is it recommended to run the OpenStack on top of ESXi6 for testing purpose? When I provision the CentOS VMs for this test I append this line 'vhv.enable=true' inside the .vmx file to support Nested-Environment inside my ESXi6 Its my first time to
2013 Jul 23
2
Is there any document about the feauture and usage of lxc supported by libvirt?
Hi Guys, Recently, I'm doing some tests on openstack with lxc virtualization supported by libvirt. I need some recently new documents about libvirt lxc. Anything related is just ok. Thanks! -------------- Best regards! GuanQiang 2013-07-23
2014 Mar 17
2
a question on vCPU setting for lxc
Dear all, I am not clear about the 'vcpu' element for CPU allocation. I allocated 1 vCPU to my container, after I started the container, I ran 4 computation-intensive tasks on the container. And I found all the 4 physical core are 100% used (my host has 4 physical cores and no other application ran on the host except the container). That is, all available cores were used by the container.
2012 Nov 07
1
libvirt with lxc: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted
Hi, I'm running OpenStack to manage LXC instance through libvirt. The same setting runs perfectly well on Ubuntu 12.04, while on CentOS 6u3, libvirt dumped following message when starting lxc instance. virsh -c lxc:/// start instance-00000032 error: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted Really appreciated if
2012 Nov 08
1
OpenStack+libvirt+lxc: lxcContainerGetSubtree:1199 : Failed to read /proc/mounts
Hi, I'm running OpenStack on CentOS 6.3 to manage lxc instances. And running into series of problem relating libvirt and lxc interaction. For example, libvirt_lxc segfault ( https://bugzilla.redhat.com/show_bug.cgi?id=874549) which has an upstream fix. And another bugs such as fail to start when SELinux disabled. Finally, I decides to adopt libvirt 0.10.2, self compiled from
2014 Apr 14
3
Re: LXC + USB passthrough = Operation not permitted
Dear Fil, I am not sure if my answer can help you. I had ever asked a similar question to Daniel and I was using a thirty-party card. As a container uses a shared kernel with the host, so hostdev mode='subsystem' doesn't make sense. Maybe you can try to use hostdev mode='capabilities'. Please see http://libvirt.org/formatdomain.html#elementsHostDevCaps Hope this helps Cheng
2012 May 04
1
Libvirt LXC and VCPU?
Hi, We are using Openstack and Libvirt/LXC as our virtualization endpoint. Here is an example of one of our libvirt domain: http://paste.debian.net/167276/ So we have <vcpu>4</vcpu>. But the command : root at PAR-SRV-02-MASTER:/etc/libvirt/lxc# virsh --connect lxc:/// dominfo instance-0000004a Id: 17495 Name: instance-0000004a UUID:
2013 Jul 23
0
Re: Is there any document about the feauture and usage of lxc supported by libvirt?
On Tue, Jul 23, 2013 at 05:26:44PM +0800, hzguanqiang wrote: > Hi Guys, > Recently, I'm doing some tests on openstack with lxc virtualization > supported by libvirt. I need some recently new documents about libvirt > lxc. > Anything related is just ok. Thanks! The best (only) formal documentation is here: http://libvirt.org/drvlxc.html I'll be expanding it over time to
2015 Apr 11
0
issue on fedora21 with libvirt-1.2.13 and 1.2.14 - containers won't start at all
Hi there I am using fedora21 for hosts and guests, using lxc containers, and was on vanilla 1.2.9 as exposed by the fedora yum repo The other day I was needing the ability to grant mknod capability to some guests, some chap on IRC kindly pointed me at the <capabilities> tag However I was told that needed 1.2.11 So I went and rebuilt from this download
2012 Jul 24
1
How can I make sVirt work with LXC (libvirt-0.9.13)?
?Hi, ?I've installed libvirt-0.9.13 on RHEL6.2 from the source code. I cannot make sVirt working with LXC. (sVirt works well with KVM, though.) I can start an LXC instance, but the label of the process is not right. Can someone help me? I tried to change /etc/libvirtd/lxc.conf file to explicitly enable security_driver = "selinux". But it ends up with error saying "error :