[mythtv-users] Long delays with remote occasionally - lirc priority?
Andrew Allison
andrew.allison at gmail.com
Mon Sep 8 15:25:49 UTC 2008
On Mon, 2008-09-08 at 10:32 -0400, Johnny Russ wrote:
> I have been following this thread because every day or two the
> machine will delay response to the commands for a minute or
> two. It will not respond to keyboard or remote and then
> suddenly does a bunch of things. Hard to say if it did
> everything that was keyed as by that time I have hit so many
> keys I can't remember them all. Sometimes the remote misses
> keys outright (probably a pointing issue) so I often have to
> hit a key again. It takes a while to figure out which issue
> is active so lots of keys get hit.
>
>
> I bring this up now because my machine is different than the
> ones being discussed. I have mythbunty 8.04 running on a AMD
> 5400+ CPU. If this sounds like the same probably you are
> chasing I think knowing my setup would be helpful.
>
>
>
> I am also experiencing the exact same behavior. I am running on a
> lower powered machine with a PIII 1 GHz and 384 MB of RAM. I have
> always just attributed it to my machine being underpowered, but maybe
> something else is going on. When I am watching a recording and
> mythtv-status runs it causes the show to be choppy for 20 or 30
> seconds until mythtv-status is done. I haven't been able to check what
> was going on when the remote was slow to respond, but I assumed it was
> mythtv-status or something similar running in the background that was
> causing my remote to be delayed.
>
I got a pretty fast machine and it's occurring
One interesting stat is the lirc_dev process priority running as a 15
while the rest are at 20
I reniced the lirc process to 0
Could this have something to do with it?
I'll have to wait and see
Fedora 9
AMD 64 2 gig cpu
Standard Definition
1 gig ram
Iulius Theme
OpenGL paint engine
QTStyle Default
Font Default
Menu Default
top output while remote key presses are queuing
Tasks: 133 total, 2 running, 131 sleeping, 0 stopped, 0 zombie
Cpu(s): 30.0%us, 68.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.7%hi, 1.3%si,
0.0%st
Mem: 1027388k total, 1016876k used, 10512k free, 26456k buffers
Swap: 514072k total, 4200k used, 509872k free, 380064k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30180 root 20 0 184m 91m 22m R 74.5 9.1 236:07.18 X
30679 mythtv 20 0 781m 140m 46m S 23.6 14.0 146:43.78
mythfrontend
1553 root 15 -5 0 0 0 S 1.0 0.0 50:46.89 lirc_dev
30475 mythtv 20 0 221m 4276 3232 S 0.3 0.4 0:14.50 pulseaudio
30515 mythtv 20 0 453m 20m 11m S 0.3 2.0 3:09.67 knotify4
1 root 20 0 4048 836 588 S 0.0 0.1 0:01.54 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
top while working normal
Tasks: 135 total, 1 running, 134 sleeping, 0 stopped, 0 zombie
Cpu(s): 31.0%us, 62.0%sy, 0.0%ni, 4.0%id, 1.3%wa, 0.7%hi, 1.0%si,
0.0%st
Mem: 1027388k total, 1017808k used, 9580k free, 1656k buffers
Swap: 514072k total, 4176k used, 509896k free, 490684k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30180 root 20 0 184m 91m 22m S 67.9 9.1 245:06.67 X
30679 mythtv 20 0 782m 141m 46m S 24.9 14.1 150:38.36
mythfrontend
1553 root 20 0 0 0 0 S 1.0 0.0 50:54.59 lirc_dev
17552 root 20 0 14844 1128 852 R 0.3 0.1 0:00.25 top
1 root 20 0 4048 836 588 S 0.0 0.1 0:01.54 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
More information about the mythtv-users
mailing list