<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 29, 2016 at 8:08 AM, pavi1729 <span dir="ltr"><<a href="mailto:pavitra1729@gmail.com" target="_blank">pavitra1729@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
I have an issue with libpam-systemd which is interfering with<br>
scheduler settings on my machine. Details as below<br>
<br>
--------------------------------------------------------------------------<br>
File: linux/kernel/sched/core.c<br>
<br>
WITHOUT libpam-systemd<br>
<br>
[ 36.278241] rt_bandwidth_enabled(): 1<br>
[ 36.281977] rt_policy(policy) : 1<br>
[ 36.285367] task_group_is_autogroup(task_group(p)) : 0<br>
[ 36.289883] task_group(p)->rt_bandwidth.rt_runtime : 950000000<br>
<br>
<br>
WITH libpam-systemd INSTALLED<br>
<br>
[ 2096.713855] rt_bandwidth_enabled(): 1<br>
[ 2096.717871] rt_policy(policy) : 1<br>
[ 2096.721408] task_group_is_autogroup(task_group(p)) : 0<br>
[ 2096.726180] task_group(p)->rt_bandwidth.rt_runtime: 0 <-- (gets set to 0)<br>
<br>
<br>
QUESTION: Why is libpam-systemd setting<br>
task_group(p)->rt_bandwidth.rt_runtime to 0 ?<br></blockquote><div><br></div><div>Probably due to moving the process to a separate (per-user) cgroup; check /proc/self/cgroup.</div><div><br></div><div>There are known kernel problems with RT scheduling; see also: <a href="https://github.com/systemd/systemd/blob/master/README#L99-L106">https://github.com/systemd/systemd/blob/master/README#L99-L106</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
SYSTEM DETAILS<br>
<br>
root at pavi:/home/pavi# uname -a<br>
Linux pavi 3.18.21-pavi-g4c8a53e-dirty #43 SMP PREEMPT Fri Dec 18<br>
14:56:40 IST 2015 aarch64 aarch64 aarch64 GNU/Linux<br>
<br>
<br>
root at pavi:/home/pavi# cat /etc/os-release<br>
NAME="Ubuntu"<br>
VERSION="15.04 (Vivid Vervet)"<br>
ID=ubuntu<br>
ID_LIKE=debian<br>
PRETTY_NAME="Ubuntu 15.04"<br>
VERSION_ID="15.04"<br>
HOME_URL="<a href="http://www.ubuntu.com/" rel="noreferrer" target="_blank">http://www.ubuntu.com/</a>"<br>
SUPPORT_URL="<a href="http://help.ubuntu.com/" rel="noreferrer" target="_blank">http://help.ubuntu.com/</a>"<br>
BUG_REPORT_URL="<a href="http://bugs.launchpad.net/ubuntu/" rel="noreferrer" target="_blank">http://bugs.launchpad.net/ubuntu/</a>"<br></blockquote><div><br></div><div>But which systemd version?</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>