Forum

Full Version: Keep XBMC playing and download without problems tweak
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use this tweak (kernel.sched_autogroup_enabled = 0) and now i dont have to shutdown or pause the downloads and nice work great no more hickups.

What to do:
First change the kernel scheduler

sudo sysctl kernel.sched_autogroup_enabled=0

sudo reboot

After that you can change the priority of the download process (NzbGet,Transmission)

sudo top -u xbian

Find the PID of Nzbget|Transmission and press r (renice) fill in the PID after that 5 (Higher is lower priority)

You can do this again for couch/sickbeard/headphones set it on level 6

If you want it every time it's boot up then look at this:
start-stop-daemon > look for this " -N, --nicelevel int"

Here is the reference where is got the idea.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=32138

And work from the usb hardisk the easy way and no need for the SD only for boot.

http://zeroset.wordpress.com/2012/10/03/move-an-existing-raspbian-installation-from-memory-sd-card-to-usb-flash-drive-stick/

I hope i give your good information it's work great for me.
Could you maybe explain a bit more how to achieve this. I can't work it out with the links you gave, how can I for instance set the level for a process?
You can do it realtime with the TOP command [sudo top] and press the r key give te process id number and after that give a number for the level.

Here some other info

At last if you want it with the boot process.

start-stop-daemon > look for this " -N, --nicelevel int"

I hope it's help you on the way.

I work this out with a little help from Google, linux is a very new OS for me.
Okay thanks, now where do I add the line
Code:
kernel.sched_autogroup_enabled = 0
?
I can't find a file local.conf, or should I create it?
(20th Apr, 2013 07:42 PM)Fred Wrote: [ -> ]Okay thanks, now where do I add the line
Code:
kernel.sched_autogroup_enabled = 0
?
I can't find a file local.conf, or should I create it?

To add the line enter :
sudo sysctl kernel.sched_autogroup_enabled=0

Thats all.
Thanks a lot! Works like a charm!
Reference URL's