similar to: changing the priority of a process in the container is not permitted

Displaying 20 results from an estimated 11000 matches similar to: "changing the priority of a process in the container is not permitted"

2014 Jul 02
0
How can I setup a privileged container
Dear all, I want to setup a privileged container, which means I can set the priority of a process to SCHED_RR (real-time) dynamically by calling sched_setscheduler() in a C program running on a container. In my system (host: fedora19, container: fedora19, libvirt 1.2.5), my C code reports "operation not permitted" when sched_setscheduler() is called. I found a link
2018 Jan 24
0
libasan bug: pthread_create never returns
Hi all, We observed that under certain circumstances pthread_create() (libasan implemention) does not return. The conditions are the following: - address sanitizer enabled - main and child thread run on the same CPU (affinity) - real-time scheduling policy for both threads - different scheduling priority values (this includes the case of setting a real-time policy for one of the threads and
2003 Nov 11
0
Help with include files & current CVS
Hello, I'm trying to compile a brand new CVS Asterisk and running into trouble with include files. I have an older version of Asterisk that I can compile (2-3 months old) that I can compile fine, but the new one gives me this: make[1]: Leaving directory `/home/matt/asterisk_update/stdtime' if [ -d CVS ] && ! [ -f .version ]; then echo CVS-10/01/03-13:06:31 > .version; fi
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
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,
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
2014 Apr 14
0
Re: LXC + USB passthrough = Operation not permitted
Hi Chang Weng, Thanks for answering! Could you explain why subsystem=USB does not make sense? I was simply following the documentation for USB devices (right above the section you linked to). For what it's worth, I've also tried mounting the specific character device related to the appropriate android device into the container in the way you suggest, with no luck; `adb` still does not
2008 Nov 24
2
Getting lowest latency sound?
I have been trying to get lowest-latency sound (with highest fidelity) to use with Dragon NaturallySpeaking. I have Jaunty and the latest RT kernel, which I know has problems for many applications but works fine to run DNS. (It will not, however, install the program nor train it.) I set up real-time audio access as follows: sudo su -c 'echo @audio - rtprio 99 >>
2023 Aug 10
1
RT/Linux SCHED_RR/_FIXED to combat latency?
On Thu, 10 Aug 2023, Cedric Blancher wrote: >We're experiencing rather very bad latency spikes on busy Linux >systems, for example if one machine is the jumphost (ssh -J) for a few >hundred connections, while at the same time handles CPU intensive >tasks. > >Would RT/Linux SCHED_FIXED or SCHED_RR be of help in such a case, e.g. Did you already check the old and tried method
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.
2023 Aug 10
4
RT/Linux SCHED_RR/_FIXED to combat latency?
Good morning! We're experiencing rather very bad latency spikes on busy Linux systems, for example if one machine is the jumphost (ssh -J) for a few hundred connections, while at the same time handles CPU intensive tasks. Would RT/Linux SCHED_FIXED or SCHED_RR be of help in such a case, e.g. put all ssh processes into the SCHED_FIXED scheduling class, with a priority higher than the
2011 Feb 15
2
monitiring cpu usage via cgroup
Hi I was asking about the fedora 14 kernel if it is good enough for cgroup usage because I am trying to set a cgroup under cpu subsytem ( /dev/cgroup/cpu/group1/ ) that have /cpu.rt_runtime_us of 100000 while cpu.rt_period_us has a value of 1000000 i.e a ratio of 1/10 . still when I run a task (endless loop) in that group (cgexec -g cpu,cpuset:group1 ./test) it gets all the cpu core time
2010 Nov 08
3
No Jack Realtime w/ Wine, Kontakt 4
Ubuntu 10.04. Wine 1.2 I'm running Native Instruments Kontakt 4 under Wine. It runs fine except for occasional stutters, so I wanted to try enabling Realtime in Jack, but I have no luck with this. (I have made recommended edits to the limits.conf file, though I've read that this is no longer necessary(?): @audio - rtprio 100, @audio - memlock 250000) When I start up Kontakt, I see
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
2015 Mar 27
0
Re: Installation of libvirt on Ubuntu
Libvirt is in the standard repositories... Why don't you just install it with ex tasksel? Van: WANG Cheng D [mailto:Cheng.d.Wang@alcatel-sbell.com.cn] Verzonden: donderdag 26 maart 2015 16:06 Aan: libvirt-users@redhat.com Onderwerp: [libvirt-users] Installation of libvirt on Ubuntu Dear all, I wonder if libvirt can work on Ubuntu. As you know, it is very convenient to install libvirt on
2015 Mar 26
2
Installation of libvirt on Ubuntu
Dear all, I wonder if libvirt can work on Ubuntu. As you know, it is very convenient to install libvirt on Fedora. I can download the libvirt packet from libvirt.org and install it using command ./configure, make and make install. As I am going to install an open source simulation system named openairinterface, Ubuntu is the recommended OS, and I want to install the simulation system in libvirt
2014 Oct 24
1
Re: How can a user process be automatically started after the container is started?
Dear Daniel, You said "use a real init system like systemd to spawn off the things", do you mean a full OS distro container? I installed the container using "yum --installroot=/root/fedora19lxc --releasever=19 install -y openssh, bridge-utils" which is described at https://www.redhat.com/archives/libvirt-users/2013-August/msg00007.html. I don't know how to make systemd
2005 Jan 24
1
who used ser and asterisk?
I install ser and found my ser don't support mysql. my ser version : ser-0.8.14_src.tar.gz and ser-0.8.14_linux_i386.tar.gz who can help me? thanks. Best Regards Zhao Zigang ??? Alcatel Shanghai Bell Co., LTD *:388,NingQiao Rd.,Shanghai 201206 *:086-21-50554550-7762 *:Zigang.Zhao@alcatel-sbell.com.cn
2017 Feb 09
0
How to achieve higher priority of a process in a lxc on CentOS machine
Dear all, I use libvirt lxc to host a real-time application with priority of -50. The native OS is fedora21 and lxc is also fedora21. Everything works fine. Linux "top" command shows the priority is -50). Then I use Openstack to manage lxc. The native compute node OS is CentOS7.2. and the lxc is fedora. After the real-time application is started in the lxc. top command on the native