Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Giving mythfrontend a higher priority

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


bobbygill at rogers

Oct 2, 2008, 8:34 PM

Post #1 of 5 (958 views)
Permalink
Giving mythfrontend a higher priority

I use mythfrontend on one monitor in a dual monitor setup and am wondering
how to give it a higher priority/lower nice level as I usually am working on
a doc/surfing/whatever on the other monitor and sometimes the task causes
playback in mythfrontend to stutter/pause briefly (definitely not common but
happens).

Thanks
Bob


RobertCL at iname

Oct 2, 2008, 11:58 PM

Post #2 of 5 (908 views)
Permalink
Re: Giving mythfrontend a higher priority [In reply to]

On Fri, October 3, 2008 4:34 am, Bobby Gill wrote:
> I use mythfrontend on one monitor in a dual monitor setup and am wondering
> how to give it a higher priority/lower nice level as I usually am working
> on
> a doc/surfing/whatever on the other monitor and sometimes the task causes
> playback in mythfrontend to stutter/pause briefly (definitely not common
> but
> happens).
>
> Thanks
> Bob

You could just "renice" it - something like:

sudo renice -20 `pidof mythfrontend`

but you'd have to do it each time you started mythfrontend.

I'm sure there is also an option in the setup screens like "enable real
time priority" - but you have to do some additional config to get this to
work. I think it's fairly simple and you just have to set mythfrontend to
run with elevated privilidges (setuid??). I've never tried it, but thats
probably your best option.

Robert.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


owen.townend at gmail

Oct 3, 2008, 12:37 AM

Post #3 of 5 (898 views)
Permalink
Re: Giving mythfrontend a higher priority [In reply to]

2008/10/3 Robert <RobertCL [at] iname>:
> On Fri, October 3, 2008 4:34 am, Bobby Gill wrote:
>> I use mythfrontend on one monitor in a dual monitor setup and am wondering
>> how to give it a higher priority/lower nice level as I usually am working
>> on
>> a doc/surfing/whatever on the other monitor and sometimes the task causes
>> playback in mythfrontend to stutter/pause briefly (definitely not common
>> but
>> happens).
>
> You could just "renice" it - something like:
>
> sudo renice -20 `pidof mythfrontend`
[snip]

You could also create a launcher/shortcut for 'gksudo nice -n -10
mythfrontend' which should do the trick.

cheers,
Owen.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fred at derf

Oct 3, 2008, 1:30 AM

Post #4 of 5 (904 views)
Permalink
Re: Giving mythfrontend a higher priority [In reply to]

Hello,

On Fri, Oct 3, 2008 at 9:37 AM, Owen Townend <owen.townend [at] gmail> wrote:
> 2008/10/3 Robert <RobertCL [at] iname>:
>> On Fri, October 3, 2008 4:34 am, Bobby Gill wrote:
>>> I use mythfrontend on one monitor in a dual monitor setup and am wondering
>>> how to give it a higher priority/lower nice level as I usually am working
>>> on
>>> a doc/surfing/whatever on the other monitor and sometimes the task causes
>>> playback in mythfrontend to stutter/pause briefly (definitely not common
>>> but
>>> happens).
>>
>> You could just "renice" it - something like:
>>
>> sudo renice -20 `pidof mythfrontend`
> [snip]
>
> You could also create a launcher/shortcut for 'gksudo nice -n -10
> mythfrontend' which should do the trick.

You can also give MythTV realtime priority - see

http://www.mythtv.org/wiki/index.php/Optimizing_Performance#Realtime_Threads

Cheers,

Fred.

>
> cheers,
> Owen.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bobbygill at rogers

Oct 3, 2008, 11:19 AM

Post #5 of 5 (876 views)
Permalink
Re: Giving mythfrontend a higher priority [In reply to]

On Fri, Oct 3, 2008 at 4:30 AM, Friedrich Clausen <fred [at] derf> wrote:

> Hello,
>
> On Fri, Oct 3, 2008 at 9:37 AM, Owen Townend <owen.townend [at] gmail>
> wrote:
> > 2008/10/3 Robert <RobertCL [at] iname>:
> >> On Fri, October 3, 2008 4:34 am, Bobby Gill wrote:
> >>> I use mythfrontend on one monitor in a dual monitor setup and am
> wondering
> >>> how to give it a higher priority/lower nice level as I usually am
> working
> >>> on
> >>> a doc/surfing/whatever on the other monitor and sometimes the task
> causes
> >>> playback in mythfrontend to stutter/pause briefly (definitely not
> common
> >>> but
> >>> happens).
> >>
> >> You could just "renice" it - something like:
> >>
> >> sudo renice -20 `pidof mythfrontend`
> > [snip]
> >
> > You could also create a launcher/shortcut for 'gksudo nice -n -10
> > mythfrontend' which should do the trick.
>
> You can also give MythTV realtime priority - see
>
>
> http://www.mythtv.org/wiki/index.php/Optimizing_Performance#Realtime_Threads
>
> Cheers,
>
> Fred.
>
>
Ahh, I missed that option. Just set it and can see an improvement. Will also
edit my shortcuts to mess with nice levels.

Thanks everyone
Bob

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.