Re: [vdr] VDR consumes about 60% CPU load

2012-07-09 Thread Paul Menzel
Dear Martin,


Am Montag, den 09.07.2012, 01:14 +0200 schrieb Martin Neuditschko:

 I actually recognized that my VDR consumes much CPU load.
 I used 1.2.24 and updated now to 1.2.28, but the problem still is the same.

do you mean 1.7.28?

 I also deactivated the epgsearch plugin which I am normally using for the
 following tests.
 The PC has a Dual Core CPU with 2 x 1,8GHz and 2GB RAM.

[…]

 I attached the syslog lines of the last VDR start-up.
 To my shame, I can't say when it started to use so much CPU. I set up MRTG 
 several
 month ago, but it looks like I didn't check its results afterwards since the
 actual CPU graph is very strange (25% load the last 5 hours and also now,
 nevertheless top says about 60-70% for VDR).

[…]

 This shows half user / half system load. Pretty strange.

I guess you need to check where VDR spends its time. You can use for
example OProfile for that.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR consumes about 60% CPU load

2012-07-09 Thread Dave

On 09/07/12 00:14, Martin Neuditschko wrote:

Hello,

I actually recognized that my VDR consumes much CPU load.


Has the machine been rebooted since the leap-second on July 1? My VDR 
machine began to use much more CPU on that date (load average  6 when 
recording!) but a reboot fixed it.


Dave

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR consumes about 60% CPU load

2012-07-09 Thread MA

Am 09.07.2012 09:55, schrieb Dave:

On 09/07/12 00:14, Martin Neuditschko wrote:

Hello,

I actually recognized that my VDR consumes much CPU load.


Has the machine been rebooted since the leap-second on July 1? My VDR 
machine began to use much more CPU on that date (load average  6 when 
recording!) but a reboot fixed it.


Dave

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Hmmm:

http://www.heise.de/open/meldung/Schaltsekunde-Linux-kann-einfrieren-1629683.html


--

-


- Ahoi MA -

vdr-...@online.de


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR consumes about 60% CPU load

2012-07-09 Thread Martin Neuditschko
On Mon, Jul 09, 2012 at 08:55:06AM +0100, Dave wrote:
 On 09/07/12 00:14, Martin Neuditschko wrote:
 Hello,
 
 I actually recognized that my VDR consumes much CPU load.
 
 Has the machine been rebooted since the leap-second on July 1? My
 VDR machine began to use much more CPU on that date (load average 
 6 when recording!) but a reboot fixed it.

Thank you very much. After I rebooted my server, VDR consumes at
maximum 2.0% CPU during recording, so it looks like this was really
the problem.

As I had no real crash on 1. July I thought there is no problem (I
thought, either crash or no problem at all... x_x)

best regards
Martin Neuditschko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] VDR consumes about 60% CPU load

2012-07-08 Thread Martin Neuditschko
Hello,

I actually recognized that my VDR consumes much CPU load.
I used 1.2.24 and updated now to 1.2.28, but the problem still is the same.
I also deactivated the epgsearch plugin which I am normally using for the
following tests.
The PC has a Dual Core CPU with 2 x 1,8GHz and 2GB RAM.

 # ps -T u -C vdr
 USER   PID  SPID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
 root 11975 11975 48.6  4.5 400564 92564 pts/4Sl+  00:52   0:51 ./vdr -w
 60 --vfat -c /transfer/video -v /transfer/video
 root 11975 11980  6.3  4.5 400564 92564 pts/4Sl+  00:52   0:06 ./vdr -w
 60 --vfat -c /transfer/video -v /transfer/video
 root 11975 11981  1.8  4.5 400564 92564 pts/4SNl+ 00:52   0:01 ./vdr -w
 60 --vfat -c /transfer/video -v /transfer/video
 root 11975 11982  0.0  4.5 400564 92564 pts/4Sl+  00:52   0:00 ./vdr -w
 60 --vfat -c /transfer/video -v /transfer/video

I attached the syslog lines of the last VDR start-up.
To my shame, I can't say when it started to use so much CPU. I set up MRTG 
several
month ago, but it looks like I didn't check its results afterwards since the
actual CPU graph is very strange (25% load the last 5 hours and also now,
nevertheless top says about 60-70% for VDR).

# top
Cpu(s): 34.9%us, 37.8%sy,  0.0%ni, 27.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2053476k total,  1411556k used,   641920k free,   127176k buffers
Swap:  4192248k total,74988k used,  4117260k free,   567280k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  11975 root  20   0  391m 109m 4144 R 68.9  5.5  12:25.74 vdr

This shows half user / half system load. Pretty strange.

best regards
Martin Neuditschko
Jul  9 00:52:35 lacus vdr: [11975] VDR version 1.7.28 started
Jul  9 00:52:35 lacus vdr: [11975] codeset is 'UTF-8' - known
Jul  9 00:52:35 lacus vdr: [11975] found 0 locales in ./locale
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'deu,ger'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'slv,slo'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'ita'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'dut,nla,nld'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'prt'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'fra,fre'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'nor'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'fin,suo'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'pol'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'esl,spa'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'ell,gre'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'sve,swe'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'rom,rum'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'hun'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'cat,cln'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'rus'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'srb,srp,scr,scc'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'hrv'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'est'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'dan'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'cze,ces'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'tur'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'ukr'
Jul  9 00:52:35 lacus vdr: [11975] no locale for language code 'ara'
Jul  9 00:52:35 lacus vdr: [11975] loading /transfer/video/setup.conf
Jul  9 00:52:35 lacus vdr: [11975] ERROR: unknown config parameter: PrimaryLimit = 0
Jul  9 00:52:35 lacus vdr: [11975] loading /transfer/video/sources.conf
Jul  9 00:52:35 lacus vdr: [11975] loading /transfer/video/channels.conf
Jul  9 00:52:35 lacus vdr: [11975] loading /transfer/video/timers.conf
Jul  9 00:52:35 lacus vdr: [11975] loading /transfer/video/svdrphosts.conf
Jul  9 00:52:35 lacus vdr: [11975] registered source parameters for 'A - ATSC'
Jul  9 00:52:35 lacus vdr: [11975] registered source parameters for 'C - DVB-C'
Jul  9 00:52:35 lacus vdr: [11975] registered source parameters for 'S - DVB-S'
Jul  9 00:52:35 lacus vdr: [11975] registered source parameters for 'T - DVB-T'
Jul  9 00:52:35 lacus vdr: [11975] probing /dev/dvb/adapter0/frontend0
Jul  9 00:52:35 lacus vdr: [11975] creating cDvbDevice
Jul  9 00:52:35 lacus vdr: [11975] new device number 1
Jul  9 00:52:35 lacus vdr: [11978] epg data reader thread started (pid=11975, tid=11978)
Jul  9 00:52:35 lacus vdr: [11978] reading EPG data from /transfer/video/epg.data
Jul  9 00:52:35 lacus vdr: [11977] video directory scanner thread started (pid=11975, tid=11977)
Jul  9 00:52:35 lacus vdr: [11977] video directory scanner thread ended (pid=11975, tid=11977)
Jul  9 00:52:35 lacus vdr: [11976] video directory scanner thread started