Torgeir Veimo wrote: > Every two and a half minute, my syslog gets an entry like: > > Jan 3 06:04:40 htpc kernel: cx88[1]/2: cx8802_timeout > Jan 3 06:04:49 htpc vdr: [2369] frontend 1 timed out while tuning to > channel 9, tp 578 > > About 30 seconds before i get this entry, thee's a vdr thread that eats > about 25% system cpu time. I'm wondering what it's doing with all that > processor power? As I'm using budget cards with softdevice, this has an > effect on tv playback.. It only happens when I'm using two cards at the > same time. > > top - 06:10:04 up 21 min, 2 users, load average: 2.18, 2.63, 2.10 > Tasks: 96 total, 7 running, 89 sleeping, 0 stopped, 0 zombie > Cpu(s): 50.2% us, 24.3% sy, 0.3% ni, 24.6% id, 0.3% wa, 0.0% hi, > 0.3% si, 0.0% st > Mem: 515672k total, 160352k used, 355320k free, 22520k buffers > Swap: 1815304k total, 0k used, 1815304k free, 61232k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 2388 root 15 0 242m 29m 4140 R 46.9 5.8 13:28.16 vdr > 2369 root 15 0 242m 29m 4140 S 17.6 5.8 1:04.57 vdr > 2368 root 15 0 0 0 0 S 3.0 0.0 0:13.46 kdvb-fe-1 It would help if you could find out which particular thread is using that CPU percentage. You can do ps -T u -C vdr to get a display like USER PID SPID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND kls 27146 27146 3.7 5.8 124132 22568 pts/0 Sl+ 10:49 0:08 ./vdr kls 27146 27150 0.0 5.8 124132 22568 pts/0 Sl+ 10:49 0:00 ./vdr kls 27146 27151 0.0 5.8 124132 22568 pts/0 Sl+ 10:49 0:00 ./vdr kls 27146 27152 1.6 5.8 124132 22568 pts/0 RNl+ 10:49 0:03 ./vdr kls 27146 27154 0.0 5.8 124132 22568 pts/0 Sl+ 10:49 0:00 ./vdr where the SPID number corresponds to the thread's "tid" number in VDR's log entries, as in Jan 3 10:49:19 video vdr: [27152] section handler thread started (pid=27146, tid=27152) Klaus