[mythtv-users] using ionice on commflagging

Brad DerManouelian myth at dermanouelian.com
Wed Aug 13 17:53:37 UTC 2008


On Aug 13, 2008, at 10:46 AM, Jerome Yuzyk wrote:

> Is anyone using  ionice  for commflagging? I Googled and read some  
> discussion
> of it but nothing unequivocal enough to keep me from asking the  
> list. My TV
> box seems to struggle when I watch a recorded program while others are
> commflagging, especially during the watermark-finding phase at the  
> beginning
> of flagging, and when more than one commflag job is running. I only  
> hit about
> 50% CPU (already niced-d) during that, but I think it's disk  
> priority that's
> getting me - my machine has a single consumer-grade PATA IDE drive  
> that I
> have hdparm-ed for best performance. I get pauses in playback and  
> skip-ahead
> as the commflag seems to suck up disk attention, even though my CPU  
> still has
> headroom. Even with only 1 job running I can tell when it's in the  
> initial
> phase.


There's a setting in mythtv-setup for how much processor to use when  
running jobs. I believe they are named simply "low, medium, high" but  
they basically throttle back the user job processes. Try setting yours  
lower so you don't have to worry about it again.

-Brad



More information about the mythtv-users mailing list