btidey wrote: ↑
Mon Apr 09, 2018 9:02 pm
I have cameras running on stretch with very low cpu usage (<3%) so it is not directly related to that. Your htop output seems to show several raspimjpeg processes running. That isn't right.There should only be 2, one main process and a watchdog version which has should have 0 cpu usage.
Restart and then use ps -A to check there are only two copies running. Wifi may be an issue if that is not reliable. I would certainly make sure recordings are local and then copied across using the boxing_path facility.
I can't get such a low CPU usage. You seem to be half right, when I record to my local SD-Card the load average goes down to 1.0 - 1.5 and utilization in % is 25 - 50.
Even when I stop all my cron scripts, make a clean reboot and start recoding via web interface, I can see 13 raspimjpeg processes. two are printed in white, all other in green, may that only bee threads of a process?
I can not get away from wifi recording, my camera was stolen last week. Only because of wifi recording I was able to give the face of the theft to the police. When I record to sdcard and upload every hour the whole video may be lost.
Is there any recommendation to lower the cpu usage while wifi recording (smb instead of nfs, tcp, udp... ... ...) some idea?
EDIT: Changed to samba (Server is Win2008R2) and CPU load went to the same as writing to the SD card. NFS seemed to rise the load extremely, but can not imagine why. Now I have 25 - 50% with a load average of 1.0 - 1.5 and most times the CPU clock slows down to 700 mhz istead of the 1000 mhz.