<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 6 June 2015 at 08:01, Michael Wisniewski <span dir="ltr"><<a href="mailto:mikewiz38@gmail.com" target="_blank">mikewiz38@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 3, 2015 at 8:01 AM, Anthony Giggins <span dir="ltr"><<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">is there any way to resure and transcode jobs are launched with ionice -c3 ? <div>or is there and equivelent of the slow delete option for transcoding jobs?</div><div><br></div><div>I'm finding if I have a heep of transcode jobs queued (Max 2 running jobs) that system load goes through the roof.</div><div><br></div><div>I'm just using the inbuilt lossless transcoding for my recordings from my DVB-T HDHR, I'd rather not have to resort to a script as I'm pretty much out of free userjobs :(</div><div><br></div><div>otherwise I guess I could cron a task to ionice any running transcode processes every minute....</div><div><br></div><div><br></div></div></blockquote><div><br></div></div></div><div>I ended up using cpulimit and found it works surprisingly well! I have HandBrake running through it, so I am assuming the mythtranscode job could run through it as well.  You tell it don't exceed 300% (3 cores) utilization and it's good to go.</div><div><br></div><div><br></div></div></div></div></blockquote><div>The mpeg2 lossless transcoding isn't very cpu intensive only IO, however I haven't had much luck getting this working</div><div><br></div><div>This works from the commandline</div><div>ionice -c3 /usr/bin/mythtranscode --chanid 4073 --starttime "2015-06-07 21:10:00" --mpeg2 --honorcutlist </div><div><br></div><div>but this fails via the jobqueue</div><div>ionice -c3 /usr/bin/mythtranscode --chanid "%CHANID%" --starttime "%STARTTIME%" --mpeg2 --honorcutlist<br></div><div><br></div><div>exit status 146, job status was "Starting"<br></div><div><br></div><div>I only run two concurrent jobs but I believe the deletes are causing some issues during the cross over between jobs where there are overlapping transcode jobs.</div><div><br></div><div>I guess I could try breaking this out to a script but I like to keep my jobs in the db as to make it portable.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div><br></div></div>