You are not logged in.
Pages: 1
Hi guys, today i try to improve my arch performance and find ulatencyd, but some troubles ocurred me:
I install from AUR / ulatencyd-git
enable and start via systemctl
but when i try test, this happens
$ulatency tree
Traceback (most recent call last):
File "/usr/bin/ulatency", line 1200, in <module>
main()
File "/usr/bin/ulatency", line 1148, in main
tree = Tree(**kwargs)
File "/usr/bin/ulatency", line 445, in __init__
path = self.get_path()
File "/usr/bin/ulatency", line 498, in get_path
path = CGROUP_MOUNTS.get(self.tree, None)[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
What I do wrong?
I running Kernel 3.8.3-2-ck (Con Kolivas for Sandybridge)
Also wiki says i need this Kernel options:
PROC_EVENTS=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_BLK_CGROUP=y
CONFIG_CFQ_GROUP_IOSCHED=y
but don't describe were a put there. So i put in kernel line on grub.
Offline
That's most likely because -ck kernel uses BFS as a CPU scheduler, and it does not support all of cgroup as stated in BFS FAQ. See if it works on stock kernel.
Last edited by kaszak696 (2013-03-19 21:28:48)
'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard
Offline
OK, I start stock Kernel with
PROC_EVENTS=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_BLK_CGROUP=y
CONFIG_CFQ_GROUP_IOSCHED=y
on the grub kernel line, and run:
$ulatency tree
same result
Traceback (most recent call last):
File "/usr/bin/ulatency", line 1200, in <module>
main()
File "/usr/bin/ulatency", line 1148, in main
tree = Tree(**kwargs)
File "/usr/bin/ulatency", line 445, in __init__
path = self.get_path()
File "/usr/bin/ulatency", line 498, in get_path
path = CGROUP_MOUNTS.get(self.tree, None)[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
Offline
on the grub kernel line, and run:
Wait, what? Kernel has to be compiled with these options, and kernel from core is already compiled with them. They are not meant for grub.
If it doesn't work on default kernel, it might be a bug.
'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard
Offline
I remove the options on grub's kernel line and run again stock and -ck kernels, with same results.
I dont think this was a bug. I do everything just like says the arch wiki https://wiki.archlinux.org/index.php/Ulatencyd
thanks for your help.
Offline
Pages: 1