[mythtv-users] Slow recorded programs viewing but fast on other menu's

David Won daveshome at gmail.com
Thu Jun 21 01:07:41 UTC 2007


I did the tail the verbose log from a laptop over ssh thingy and found the
following.

It takes a second or so for the mysql SELECT to come up on the screen. Then
it takes between a second or so for the screen to change. If I move down
channels each second or so with the remote I can get ahead of the display by
5 or so channels.

SELECT data FROM settings WHERE value = 'ChannelFormat' AND hostname =
'mythfrontend' ;
2007-06-20 20:53:36.299 MSqlQuery: SELECT data FROM settings WHERE value =
'LongChannelFormat' AND hostname = 'mythfrontend' ;
2007-06-20 20:53:36.305 MSqlQuery: SELECT icon FROM channel WHERE chanid =
'1020' ;
2007-06-20 20:54:24.246 MSqlQuery: SELECT icon FROM channel WHERE chanid =
'1013' ;
2007-06-20 20:54:27.040 MSqlQuery: SELECT icon FROM channel WHERE chanid =
'1077' ;
2007-06-20 20:54:28.745 MSqlQuery: SELECT icon FROM channel WHERE chanid =
'1056' ;

Top shows me using up pretty much all of cpu while changing through
channels.
My memory is all gone but I'm not into the swap yet.

top - 21:02:17 up 1 day, 11:00,  1 user,  load average: 0.44, 0.34, 0.19
Tasks:  62 total,   2 running,  58 sleeping,   0 stopped,   2 zombie
Cpu(s): 99.3% us,  0.7% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    223104k total,   215100k used,     8004k free,        4k buffers
Swap:   506036k total,      144k used,   505892k free,   106556k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND
 6457 root      24  -1  142m  10m 3128 R 98.7  5.0   1:34.30 X


Now look at my cpu and X when I'm moving through the menu's outside of
"Watch Recordings" And this is smoothly going through the menu's at a couple
a second.

top - 21:03:35 up 1 day, 11:01,  1 user,  load average: 0.25, 0.29, 0.18
Tasks:  62 total,   2 running,  58 sleeping,   0 stopped,   2 zombie
Cpu(s):  1.0% us,  0.3% sy,  0.0% ni, 98.7% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    223104k total,   212680k used,    10424k free,        4k buffers
Swap:   506036k total,      144k used,   505892k free,   106628k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND
 5148 root      15   0  1576  464  388 S  0.7  0.2   0:07.13lircd
 6457 root      14  -1  140m 8432 3128 S  0.3  3.8   1:35.18X
 6471 root      15   0  163m  34m  15m R  0.3 16.0   0:12.21mythfrontend


Now I'm thinking some sort of GL thing? I see the GL fades and whatnot on
the main menu's so I know it's working. Hrmmmmm.???




On 6/19/07, Nick Morrott <knowledgejunkie at gmail.com> wrote:
>
> On 19/06/07, David Won <daveshome at gmail.com> wrote:
> > None of these changes made any difference. :(
> > Still slow as molasses when browsing my recordings.
> > Fast as heck when I do the same from my laptop or from one of the
> computers
> > or from the backend. Something about this itx. I'm thinking vid power.
>
> Might I recommend running the 'bad' mythfrontend in a terminal window
> with '-v all' logging, just to see if you can see which steps are
> taking so long to complete. With a timestamped logfile it might be
> more apparent which steps (file or DB read) are taking so long.
>
> --
> Nick
>
> MythTV Official wiki:
> http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
>
> "An investment in knowledge always pays the best interest." - Benjamin
> Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070620/281bb7bf/attachment.htm 


More information about the mythtv-users mailing list