Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Keep XBMC playing and download without problems tweak
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Keep XBMC playing and download without problems tweak
19th Apr, 2013, 08:24 AM
Post: #1
wilcoo Offline
Registered
Posts: 6
Joined: Apr 2013
Reputation: 4
Keep XBMC playing and download without problems tweak
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.
Find all posts by this user
Quote this message in a reply
20th Apr, 2013, 06:03 PM
Post: #2
Fred Offline
Registered
Posts: 321
Joined: Apr 2013
Reputation: 36
RE: Keep XBMC playing and download without problems tweak
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?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
20th Apr, 2013, 06:53 PM
Post: #3
wilcoo Offline
Registered
Posts: 6
Joined: Apr 2013
Reputation: 4
RE: Keep XBMC playing and download without problems tweak
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.
Find all posts by this user
Quote this message in a reply
20th Apr, 2013, 07:42 PM
Post: #4
Fred Offline
Registered
Posts: 321
Joined: Apr 2013
Reputation: 36
RE: Keep XBMC playing and download without problems tweak
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?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
20th Apr, 2013, 10:22 PM
Post: #5
wilcoo Offline
Registered
Posts: 6
Joined: Apr 2013
Reputation: 4
RE: Keep XBMC playing and download without problems tweak
(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.
Find all posts by this user
Quote this message in a reply
20th Apr, 2013, 10:26 PM
Post: #6
Fred Offline
Registered
Posts: 321
Joined: Apr 2013
Reputation: 36
RE: Keep XBMC playing and download without problems tweak
Thanks a lot! Works like a charm!

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 12:02 AM Powered By MyBB, © 2002-2025 MyBB Group.