This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AV_SERVER cost too much resource

Hi all:

          I found AV_SERVER cost too much resource on IPNC, for example, dual H264(720P+CIF),  AV_SERVER will cost 30%~45% CPU resource.

          As we know, encode/resizer are HW solution, anyone who can help explain this?

          Thanks in advance!

          Here is the detail for you reference:

Mem: 35000K used, 18004K free, 0K shrd, 12012K buff, 7136K cached
Load average: 1.64 1.57 1.48  (Status: S=sleeping R=running, W=waiting)
  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
  910 root     S       3248     1 43.5  6.1 av_server.out
  933 root     S       1236     1  7.6  2.3 boa
  949 root     R        816   759  7.6  1.5 top
  504 root     S        956     1  5.1  1.7 system_server
  779 root     S       1124     1  0.0  2.1 upnp-scanip
  937 root     S       1000     1  0.0  1.8 wis-streamer
  759 root     S        860     1  0.0  1.6 sh
  940 root     S        808   937  0.0  1.5 wis-streamer
  939 root     S        808   937  0.0  1.5 wis-streamer
  938 root     S        808   937  0.0  1.5 wis-streamer
  941 root     S        804   937  0.0  1.5 wis-streamer
  640 root     S        636     1  0.0  1.1 inetd
    1 root     S        560     0  0.0  1.0 init
  264 root     S <      404     1  0.0  0.7 udevd
  630 bin      S        368     1  0.0  0.6 portmap
  761 root     S        260     1  0.0  0.4 dhcpcd
   72 root     SW         0    14  0.0  0.0 pdflush
   13 root     SW<        0     1  0.0  0.0 khelper
   11 root     SW<        0     1  0.0  0.0 desched/0
   12 root     SW<        0     1  0.0  0.0 events/0
    2 root     SW         0     1  0.0  0.0 posix_cpu_timer

  • Hi Tracy,

    Which version of IPNC software are you using? And what is the SoC - DM365 or DM368 and at what clocks?

    Have you checked the datasheet with the release to confirm if you are seeing the same ARM loading values mentioned in datasheet?

    Although resizer and encoder are hardware, some part of initialization code runs on ARM926. Also, the frameworkcomponents, codec engine runs on ARM926. Each of the threads that do resizing, encoding also run on ARM. The load on ARM926 for DM365 for each encode channel is around 6% and is mentioned in the datasheet as well.

    Let me know if you need more information.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.