<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
mythtv-users-bounces@mythtv.org [mailto:mythtv-users-bounces@mythtv.org] <B>On
Behalf Of </B>Craig Huff<BR><B>Sent:</B> Friday, September 21, 2007 10:38
AM<BR><B>To:</B> Discussion about mythtv<BR><B>Subject:</B> Re: [mythtv-users]
kind of job groups?<BR><BR></FONT></DIV>On 9/21/07, <B
class=gmail_sendername>Michael Kurtz</B> <<A
href="mailto:myth@friendz.de">myth@friendz.de</A>> wrote:
<DIV><SPAN class=gmail_quote></SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi...<BR><BR><BR>What
I want to achieve is to distinguish between different kinds of jobs in
a<BR>way that I can assign a maximum number of simultaneous tasks per
job-type.<BR>My problem is: When I allow 3 jobs to run at a time there often
run just 3 <BR>transcoding processes and commercial flagging had not started
when I wanted<BR>to watch the recording. How can I seperately limit the
number of allowed jobs<BR>for transcoding and flagging to allow for example
3 flagging tasks at a time <BR>+ 1 transcoding task? Is there a way to
achieve this? I use mythtv from the<BR>current fixes branch.<BR><BR>Thanks
in advance.<BR></BLOCKQUOTE></DIV>
<DIV><BR>Michael,<BR><BR>You could use nice and/or ionice to push the
transcoding tasks to the bottom of the priority ladder and the commflag
processes to be in-between that and normal processes so watching programs
doesn't get bogged down. If you do this, you could increase the number
of transcode/commflag tasks allowed (not *too* much) and commflag jobs will
finish before transcoding jobs without excluding them from getting anything
done. Search the archives, howto, and manpages for more. I'd give
you more myself, but I'm at work on lunchbreak, not at home.
<BR><BR>Craig.<BR><SPAN class=790324417-21092007><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=790324417-21092007></SPAN> </DIV>
<DIV><SPAN class=790324417-21092007></SPAN> </DIV>
<DIV><SPAN class=790324417-21092007></SPAN> </DIV>
<DIV><SPAN class=790324417-21092007></SPAN> </DIV>
<DIV><SPAN class=790324417-21092007><FONT face=Arial color=#0000ff size=2>I
have the same issue. The only problem i see here is that if you set it to
say 3 jobs, and there are three recordings that start at the same time,
the comm flag jobs will take a long time cause they'll be done in real time.
Is there a way to tell the system to only do flag jobs when the recording is
completely done so that it doesn't take it so long?</FONT></SPAN></DIV>
<DIV><SPAN class=790324417-21092007><FONT face=Arial color=#0000ff
size=2>-Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=790324417-21092007><FONT face=Arial color=#0000ff
size=2>-Steve</FONT> </SPAN></DIV></BLOCKQUOTE></BODY></HTML>