FAQ  •  Register  •  Login

Change priority of serviio in ubuntu server headless 11.10

<<

johnsr11

Streaming enthusiast

Posts: 27

Joined: Thu Mar 01, 2012 11:18 pm

Post Mon Mar 26, 2012 8:07 pm

Change priority of serviio in ubuntu server headless 11.10

I am running ubuntu server headless 11.10 with serviio 0.6.2 and I was wondering if there is a way to change the priority of serviio so that it gets more of my cpu than other processes. Is this possible?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 27, 2012 12:09 pm

Re: Change priority of serviio in ubuntu server headless 11.

the OS decides and allocates when needed.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Mar 27, 2012 12:59 pm

Re: Change priority of serviio in ubuntu server headless 11.

It is up to the OS, which will usually do a very good job of it.

You can however change it using nice, by changing your start up script to something like this
  Code:
nice -n -5 /path/to/serviio/bin/serviio.sh


Alternatively, if you just want ffmpeg which deals with transcoding to have a high priority, then write a short ffmpeg wrapper script that calls the real ffmpeg using nice to adjust its priority.

However, my approach is the oposite, I run anything that may take CPU time, but I don't care about, with a lower than normal priority.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 42 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.