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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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><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>