<br><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 2:39 PM, Jan Ceuleers <span dir="ltr">&lt;<a href="mailto:jan.ceuleers@computer.org">jan.ceuleers@computer.org</a>&gt;</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>
&gt; Jan Ceuleers wrote:<br>
&gt;&gt; Do you know whether running mythfilldatabase with a high nice value<br>
&gt;&gt; alleviates at least that side of the problem? In other words: if the<br>
&gt;&gt; application that invokes the database has low priority, do the database<br>
&gt;&gt; threads somehow also get executed with low priority?<br>
&gt;<br>
&gt; No. &nbsp;They run with the priority of the mysql process.<br>
<br>
</div>That&#39;s what I thought: threads don&#39;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>
&gt; ...you need to figure out where the actual problem is before you try to<br>
&gt; solve it. &nbsp;Is it that mysql is consuming a lot of CPU? &nbsp;Is it that<br>
&gt; mythfilldatabase is consuming a lot of CPU? &nbsp;Or is it because all of the<br>
&gt; database writes saturate the I/O bandwidth?<br>
<br>
</div>In my case it&#39;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&#39;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&#39;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&#39;s sluggish in the guide I&#39;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&#39;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>