You are not logged in.
It is really strange but kernel upgrade significantly affected on ffmpeg performance. I have server to make video transcoding of 11 DVB-S channels to h264 1.2Mbit rate and streaming in via http. Usually server works with no problem and even has idle about 15-20%. Transcoding with no problem.
kernel 3.5.6:
top - 09:31:14 up 15:59, 15 users, load average: 18.31, 11.51, 10.97
Tasks: 128 total, 2 running, 126 sleeping, 0 stopped, 0 zombie
%Cpu(s): 41.3 us, 1.2 sy, 43.4 ni, 13.7 id, 0.0 wa, 0.0 hi, 0.4 si, 0.0 st
KiB Mem: 4012244 total, 1627896 used, 2384348 free, 6064 buffers
KiB Swap: 4208896 total, 0 used, 4208896 free, 39972 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1286 root 20 0 880m 145m 6076 R 10.6 3.7 1:10.28 ffmpeg
1283 root 20 0 1149m 158m 6080 S 9.5 4.0 0:51.29 ffmpeg
1279 root 20 0 963m 160m 6076 S 9.4 4.1 1:15.47 ffmpeg
808 root 20 0 979m 140m 6060 S 7.7 3.6 565:35.58 ffmpeg
807 root 20 0 843m 133m 6040 S 7.7 3.4 551:19.23 ffmpeg
797 root 20 0 852m 138m 6056 S 7.3 3.5 510:25.80 ffmpeg
796 root 20 0 953m 113m 6056 S 7.0 2.9 454:18.05 ffmpeg
809 root 20 0 916m 139m 6056 S 6.9 3.6 564:01.53 ffmpeg
794 root 20 0 888m 112m 6056 S 6.8 2.9 462:33.01 ffmpeg
795 root 20 0 953m 114m 6056 S 6.8 2.9 436:02.91 ffmpeg
793 root 20 0 961m 122m 6072 S 6.2 3.1 624:25.06 ffmpeg
785 root 20 0 16472 2132 984 S 0.1 0.1 1:32.40 screen
29 root 20 0 0 0 0 S 0.0 0.0 0:56.75 kworker/6:0
46 root 20 0 0 0 0 S 0.0 0.0 0:51.88 kworker/3:1
1162 root 20 0 0 0 0 S 0.0 0.0 0:19.77 kworker/4:3With 3.6.2 load is the same but it is impossible to watch any channel -- errors and lags. I can see normal only one channel with one ffmpeg running, second ffmpeg on 3.6.2 did lags.
After downgading kernel to 3.5.6 all works as its normal state. All 11 channels show normal pictures with no lags.
Seems it is problem underground knocking ...
Offline
Recent kernels seem to have problems with CPU frequency scaling. For some people it doesn't scale down, for me, and maybe you, it sometimes doesn't scale up. You can monitor the CPU frequency by running:
$ watch grep \"cpu MHz\" /proc/cpuinfoIf scaling is the source of your problem, you can switch to the performance governor, or try to tweak the ondemand governor.
Offline
Recent kernels seem to have problems with CPU frequency scaling. For some people it doesn't scale down, for me, and maybe you, it sometimes doesn't scale up. You can monitor the CPU frequency by running:
$ watch grep \"cpu MHz\" /proc/cpuinfoIf scaling is the source of your problem, you can switch to the performance governor, or try to tweak the ondemand governor.
Thanks. I'll try may be. Ehhh ... should wait for 3.6.6 or even 3.6.16 for server :-).
Offline