You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried following the recipe in the README file, and was unable to get it to work. First, I discovered that root needed to give write access to the user (ie add "chmod u+w /sys/fs/cgroup/cpu/"). Next, I try to run "echo 10000 > /sys/fs/cgroup/cpu/fapped/cpu.cfs_quota_us" as myself, but this is rejected with "Permission denied", even though my user have write access to the fapped directory.
Did this file change name since 2013? I got these files in fapped after creation:
-rw-r--r-- 1 pere pere 0 april 14 10:53 cgroup.clone_children
-rw-r--r-- 1 pere pere 0 april 14 10:53 cgroup.procs
-r--r--r-- 1 pere pere 0 april 14 10:53 cpuacct.stat
-rw-r--r-- 1 pere pere 0 april 14 10:53 cpuacct.usage
-r--r--r-- 1 pere pere 0 april 14 10:53 cpuacct.usage_percpu
-rw-r--r-- 1 pere pere 0 april 14 10:53 cpu.shares
-rw-r--r-- 1 pere pere 0 april 14 10:53 notify_on_release
-rw-r--r-- 1 pere pere 0 april 14 10:53 tasks
I'm using kernel 3.16.0.
The text was updated successfully, but these errors were encountered:
Hi
I tried following the recipe in the README file, and was unable to get it to work. First, I discovered that root needed to give write access to the user (ie add "chmod u+w /sys/fs/cgroup/cpu/"). Next, I try to run "echo 10000 > /sys/fs/cgroup/cpu/fapped/cpu.cfs_quota_us" as myself, but this is rejected with "Permission denied", even though my user have write access to the fapped directory.
Did this file change name since 2013? I got these files in fapped after creation:
-rw-r--r-- 1 pere pere 0 april 14 10:53 cgroup.clone_children
-rw-r--r-- 1 pere pere 0 april 14 10:53 cgroup.procs
-r--r--r-- 1 pere pere 0 april 14 10:53 cpuacct.stat
-rw-r--r-- 1 pere pere 0 april 14 10:53 cpuacct.usage
-r--r--r-- 1 pere pere 0 april 14 10:53 cpuacct.usage_percpu
-rw-r--r-- 1 pere pere 0 april 14 10:53 cpu.shares
-rw-r--r-- 1 pere pere 0 april 14 10:53 notify_on_release
-rw-r--r-- 1 pere pere 0 april 14 10:53 tasks
I'm using kernel 3.16.0.
The text was updated successfully, but these errors were encountered: