<br><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 2:39 PM, Jan Ceuleers <span dir="ltr"><<a href="mailto:jan.ceuleers@computer.org">jan.ceuleers@computer.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">David Brodbeck wrote:<br>
> Jan Ceuleers wrote:<br>
>> Do you know whether running mythfilldatabase with a high nice value<br>
>> alleviates at least that side of the problem? In other words: if the<br>
>> application that invokes the database has low priority, do the database<br>
>> threads somehow also get executed with low priority?<br>
><br>
> No. They run with the priority of the mysql process.<br>
<br>
</div>That's what I thought: threads don't get created on demand. But I was<br>
wondering whether the database API somehow includes a priority<br>
parameter, or indeed whether the database has a priority policy<br>
framework. I guess not.<br>
<div class="Ih2E3d"><br>
> ...you need to figure out where the actual problem is before you try to<br>
> solve it. Is it that mysql is consuming a lot of CPU? Is it that<br>
> mythfilldatabase is consuming a lot of CPU? Or is it because all of the<br>
> database writes saturate the I/O bandwidth?<br>
<br>
</div>In my case it's mythfilldatabase that consumes a lot of CPU, so I run it<br>
at nice -19. The amount of CPU used by mythfilldatabase is about twice<br>
the amount consumed by mysql.<br>
<br>
But the problem I'm trying to solve is not the execution speed of<br>
mythfilldatabase, but rather that a mythfilldatabase run has minimal<br>
impact on any foreground processes. My current solution is to simply run<br>
mythfilldatabase in the middle of the night but I'd like to understand<br>
what my options are for when I do have to run it during showtime.<br>
<br>
</blockquote><div><br>If it's sluggish in the guide I'd blame the rendering of the video in
the small square in the upper right corner - Does VDPAU only work
fullscreen like the old-school 3DFX cards? If that's the case then
maybe the square is being rendered via CPU instead of GPU.<br>
<br>
Just a hunch while on a con call, I could be way off. <br></div></div><br>