[mythtv-users] Realtime commflagging....was: How many simultaneous recordings on one drive?

Blammo blammo.doh at gmail.com
Tue Oct 11 21:57:35 UTC 2011


n Tue, Oct 11, 2011 at 12:08 AM, Simon Hobson <linux at thehobsons.co.uk> wrote:
> David Whyte wrote:
<snip>
>>Is this extra load being caused by slow access to the disk or the CPU
>>not being able to keep up?  I note that the commflag is running at a
>>nice value of 17.  Can you think of anything I can do to enable me to
>>record, reali-time commflag and watch an HD show and limit the
>>stuttering?
<snip>

You should consider using "ionice" as well, can help. I have a crontab
entry of the following:

1,16,31,46 * * * * ps aux | grep commflag | grep -v grep | awk '{print
$2}' | xargs -I {} -i ionice -c3 -n7 -p{}
1,16,31,46 * * * * ps aux | grep transcode | grep -v grep | awk
'{print $2}' | xargs -I {} -i ionice -c3 -n7 -p{}
1,16,31,46 * * * * ps aux | grep mencoder | grep -v grep | awk '{print
$2}' | xargs -I {} -i ionice -c3 -n7 -p{}

The other thing you might consider is changing to "elevator=deadline"
as an ioscheduler


More information about the mythtv-users mailing list