[mythtv-commits] Ticket #4160: Program Guide slows to a halt

MythTV mythtv at cvs.mythtv.org
Sat Nov 10 05:55:41 UTC 2007


#4160: Program Guide slows to a halt
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |     Mlocked:  0      
-----------------------+----------------------------------------------------
 I'm having problem with the Program Guide being *very* slow to navigate.
 It sometimes takes 10+ seconds just to move to the next program, making
 use of the program guide next to impossible.

 I don't think the problem is related to speed as both backend and frontend
 are Core 2 Duo's, and have plenty of RAM and HDD.

 I ran strace with mythfrontend and notice that it was pausing on a read
 request, but am unsure what this means


 {{{
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 1448
 read(16, "Kids\0013\4ITV1\4ITV1\0010\2-1\0\22www.itv.c"..., 16384) = 368
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 1398
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 1253
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "\r\0\0\0\3SELECT NULL;", 17) = 17
 read(16, "\1\0\0\1\1\32\0\0\2\3def\0\0\0\4NULL\0\f?\0\0\0\0\0\6\200"...,
 16384) = 58
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 860
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 750
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 831
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "\r\0\0\0\3SELECT NULL;", 17) = 17
 read(16, "\1\0\0\1\1\32\0\0\2\3def\0\0\0\4NULL\0\f?\0\0\0\0\0\6\200"...,
 16384) = 58
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16, "?\0\n\0\0\0\3 \0\0\0\0J\0\0\27\3def\vmythconverg"..., 16384) =
 1001
 poll([{fd=16, events=POLLIN|POLLPRI}], 1, 0) = 0
 write(16, "%\4\0\0\3SELECT DISTINCT program.cha"..., 1065) = 1065
 read(16, "\1\0\0\1\27;\0\0\2\3def\vmythconverg\7progra"..., 16384) = 1448
 read(16,
 }}}
 at this point mythfrontend will freeze for 10+ seconds, and happen
 everything I move the highlight.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4160>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list