View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 10, 2004 1:48 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Quick question: how can I get KnoppMyth's automatically-running version of mythfrontend to always come up at a particular nice level? What do I need to edit?

Long version of the question: I'm trying to get my new setup running, which is a master backend and a remote frontend. I'm noticing lags in playing back recorded programs when I access a recording from the remote frontend. Playback will pause for a couple of seconds then start again. I don't see the lags when I play back the recording from the master backend computer, nor do I see it when I play the same recording from the same (wired 100Base-T) Ethernet connection with a MediaMVP. (Oddly enough, I don't see lags when playing back live TV, but then again I don't watch enough to know for sure there are no lags that way.)

Closest I came to seeing a solution was on the mythtv-user mailing list, and they suggested to adjust the nice level of mythfrontend. I guess I could renice it after Knoppmyth runs it, but I'd rather have it come up at the right nice level. Searched here for "mythfrontend AND nice" and came up with messages that talked about "nice" in the non-Unix meaning of the word.

Thanks for the assistance.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 3:19 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
~/.fvwm/.fvwm2rc
Look for the line that launchs the frontend. Edit it to include nice.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 8:28 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Thanks, cesman. Setting the nice level seems to have helped.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 9:47 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
You're welcome!

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 11, 2004 12:28 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
What nice level did you use? About -10? I'm curious since I'll want a separate FE/BE system someday.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 11, 2004 3:40 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
The post I found on the mailing list archives suggested a nice level of -15.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 9:04 am 
Offline
Joined: Sat Jun 18, 2005 7:47 am
Posts: 73
Location: Sweden
how do I include nice in a process? tried mythfrontend -nice 15 but it didn't like it.

been trying to find a way to make ffmpeg (with the myth2ipod script) run at nice 15, so the boinc client at nice 19 won't overtake it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 9:27 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
nice is a unix command, not a mythfrontend parameter

Code:
man nice

shows:

nice [OPTION] [COMMAND [ARG]...]

so
Code:
nice -15 mythfrontend

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 10:31 am 
Offline
Joined: Sat Jun 18, 2005 7:47 am
Posts: 73
Location: Sweden
thanks. so if I wanted to change the myth2ipod script so that ffmpeg would always run at nice 15, how would I do that?

or could I write a script that checks for whenever ffmpeg is running and automatically does a renice 15 on it?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu