View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#750
Originally Posted by freemangordon View Post
Well, stopping tracker was a quick workaround for its stupidity (trying to index files while camera is recording) until i figure out the correct dbus commands for pause and continue... exactly what you've done. And playing with priorities and other stuff is one of the reason why I made a script instead of hard-coding it in camera-ui. next step will be to move camera-ui in another cgroup while recording,pulling it out from standby tasks cgroup where Nokians in their etheral wisdom had put.

Thanks, will test that, but my expectations are that it will work like charm.

BTW some cheating for time to time won't hurt .
Instead of lowering priority it would be easier and better just to create a cgroup for it with low enough cpu.shares (editing /usr/share/policy/etc/current/syspart.conf). No need to move it among cgroups, as long as other process in a better cgroup doesn't need the cpu, it'll get all available cpu resources.
 

The Following 6 Users Say Thank You to maacruz For This Useful Post: