<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Top is running with -d 1.&nbsp; (1 second delays)<br>
<br>
Here's a sample of the "top 10" (see below) while my wife is watching
something recorded the other night in 1080i _and_ the BE is recording
something else in HD (not sure what format)&nbsp; Notice that thread 13136
is running with a priority of -2.&nbsp; That's a realtime priority.&nbsp; Thread
13133 is doing something I have no clue about.&nbsp; Here's the fun one:&nbsp;
thread 6097 belongs to X and is eating 70% of a single CPU.&nbsp; The _only_
thing running under X on this machine is:<br>
<br>
1)&nbsp; fvwm<br>
2) mythfrontend<br>
<br>
That implies that mythfrontend is dumping a ton of load on X, but I
have no idea why.&nbsp; The FE is running at 720p resolution, BOB deint is
turned on, along with XvMC, and RTPRIO is working.&nbsp; Audio is being sent
to ALSA:spdif.&nbsp; I'm getting tons of prebuffering pauses.<br>
<tt><br>
Tasks: 203 total,&nbsp;&nbsp; 4 running, 199 sleeping,&nbsp;&nbsp; 0 stopped,&nbsp;&nbsp; 0 zombie<br>
Cpu0&nbsp; : 24.5% us,&nbsp; 1.0% sy,&nbsp; 0.0% ni, 68.6% id,&nbsp; 5.9% wa,&nbsp; 0.0% hi,&nbsp;
0.0% si<br>
Cpu1&nbsp; :&nbsp; 7.8% us, 64.7% sy,&nbsp; 0.0% ni, 25.5% id,&nbsp; 0.0% wa,&nbsp; 2.0% hi,&nbsp;
0.0% si<br>
Mem:&nbsp;&nbsp; 1027816k total,&nbsp; 1017800k used,&nbsp;&nbsp;&nbsp; 10016k free,&nbsp;&nbsp;&nbsp; 10132k buffers<br>
Swap:&nbsp;&nbsp; 977248k total,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192k used,&nbsp;&nbsp; 977056k free,&nbsp;&nbsp; 630156k cached<br>
<br>
&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S %CPU %MEM&nbsp;&nbsp;&nbsp; TIME+&nbsp; COMMAND<br>
&nbsp;6097 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14&nbsp; -1 76868&nbsp; 46m 4080 R&nbsp;&nbsp; 70&nbsp; 4.6&nbsp;&nbsp; 2:23.38 X<br>
13133 mythtv&nbsp;&nbsp;&nbsp; 17&nbsp;&nbsp; 0&nbsp; 270m&nbsp; 67m&nbsp; 31m S&nbsp;&nbsp; 26&nbsp; 6.7&nbsp;&nbsp; 0:52.64
mythfrontend<br>
13136 mythtv&nbsp;&nbsp;&nbsp; -2 -19&nbsp; 270m&nbsp; 67m&nbsp; 31m S&nbsp;&nbsp;&nbsp; 2&nbsp; 6.7&nbsp;&nbsp; 0:03.21
mythfrontend<br>
13350 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp; 0&nbsp; 9588 1392&nbsp; 964 R&nbsp;&nbsp;&nbsp; 2&nbsp; 0.1&nbsp;&nbsp; 0:01.05 top<br>
&nbsp;4984 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp; -5&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 1&nbsp; 0.0&nbsp;&nbsp; 0:24.66 saa7133[0]
dvb<br>
&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp; 0&nbsp; 2572&nbsp; 576&nbsp; 488 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.1&nbsp;&nbsp; 0:01.08 init<br>
&nbsp;&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RT&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:00.40 migration/0<br>
&nbsp;&nbsp;&nbsp; 3 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34&nbsp; 19&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:00.01 ksoftirqd/0<br>
&nbsp;&nbsp;&nbsp; 4 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RT&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:00.60 migration/1<br>
</tt><br>
<br>
<br>
glen martin wrote:<br>
<blockquote cite="mid445B8093.5000609@locutory.org" type="cite">
  <pre wrap=""><!---->What is your top delay (press D while top running, or start top with -d
flag). Default is 3 seconds, so the load is averaged over a 3 second
period. I noticed this when I was testing an Athlon XP 3200, with a high
bitrate HD stream the load was only around 40-50%, peaking to 60% when
popups were being inserted. No problem, right? However, setting the
delay shorter to 1 second showed a different picture, in which the cpu
load was spiking to 100% when a popup was displayed. No doubt shortening
the period further would show more of the impact.
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">XvMC is being used, storage is local on a dedicated XFS
formatted SATA drive.
    
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->&lt;snip&gt;
  </pre>
  <blockquote type="cite">
    <pre wrap="">Please. And, let's keep this thread going. I too have plenty of CPU
power, XvMC, blah blah... and I get lots of NVP pauses. Seems media
dependent.
    </pre>
  </blockquote>
  <pre wrap=""><!---->This is what I've noticed ... some streams I'm playing are high bit rate
(~17000 kb/s for some HD channels) and some much lower (SD or recorded
from analog are 3,000 - 5,000), and the high bitrate are somewhat of a
problem.

glen

_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>

  </pre>
</blockquote>
<br>
</body>
</html>