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.

TDA4VM: Behaviour change of application in pipeline and sequential mode

Part Number: TDA4VM

Tool/software:

Hi Team,

I'm working on PSDK 08_02(Linux+RTOS).

The application is file based and executed for multiple iterations with single frame.

The application was ran both in pipeline and sequential modes and there was a difference in the log. Please find the attached logs.

root@j7-evm:/opt/vision_apps# ./btc_tpa_dl_base.out --cfg btc_tpa_dl.cfg 
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    68.624117 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    68.630439 s:  VX_ZONE_INIT:Enabled
    68.630452 s:  VX_ZONE_ERROR:Enabled
    68.630465 s:  VX_ZONE_WARNING:Enabled
    68.634525 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    68.634697 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[LDC-MODULE] configure_dcc_params() : ENTERING
[LDC-MODULE] configure_dcc_params() : Setting DCC config object to NULL! 
[LDC-MODULE] configure_dcc_params() : EXITING
Computing checksum at 0x0000FFFF74782F00, size = 785072
    68.704856 s:  VX_ZONE_ERROR:[vxSetNodeTarget:1968] Target ID is invalid
    68.704877 s:  VX_ZONE_ERROR:[vxReplicateNode:1760] numParams does not equal number_of_parameters
*********************
TIDL:num_input_tensors:1
TIDL:num_output_tensors:1
    68.705083 s:  VX_ZONE_ERROR:[tivxSetNodeParameterNumBufByIndex:2325] Invalid parameters


 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: app_tidl_od: Iteration 0 of 50 ... Done.
convertFevToLdc execution time: 10506 microseconds
Kernel execution time: 16150 microseconds
71.72
convertFevToLdc execution time: 9899 microseconds
Kernel execution time: 12624 microseconds
129.68
app_tidl_od: Iteration 1 of 50 ... Done.
convertFevToLdc execution time: 11834 microseconds
Kernel execution time: 14139 microseconds
71.72
app_tidl_od: Iteration 2 of 50 ... Done.
convertFevToLdc execution time: 11776 microseconds
Kernel execution time: 14093 microseconds
129.68
app_tidl_od: Iteration 3 of 50 ... Done.
convertFevToLdc execution time: 9529 microseconds
Kernel execution time: 11527 microseconds
71.72
app_tidl_od: Iteration 4 of 50 ... Done.
convertFevToLdc execution time: 11800 microseconds
Kernel execution time: 14054 microseconds
129.68
app_tidl_od: Iteration 5 of 50 ... Done.
convertFevToLdc execution time: 11711 microseconds
Kernel execution time: 14000 microseconds
71.72
app_tidl_od: Iteration 6 of 50 ... Done.
convertFevToLdc execution time: 11759 microseconds
Kernel execution time: 13995 microseconds
129.68
app_tidl_od: Iteration 7 of 50 ... Done.
convertFevToLdc execution time: 11622 microseconds
Kernel execution time: 13895 microseconds
71.72
app_tidl_od: Iteration 8 of 50 ... Done.
convertFevToLdc execution time: 11725 microseconds
Kernel execution time: 13956 microseconds
129.68
app_tidl_od: Iteration 9 of 50 ... Done.
convertFevToLdc execution time: 9664 microseconds
Kernel execution time: 11952 microseconds
71.72
app_tidl_od: Iteration 10 of 50 ... Done.
convertFevToLdc execution time: 9854 microseconds
Kernel execution time: 12256 microseconds
129.68
app_tidl_od: Iteration 11 of 50 ... Done.
convertFevToLdc execution time: 9672 microseconds
Kernel execution time: 12079 microseconds
71.72
app_tidl_od: Iteration 12 of 50 ... Done.
convertFevToLdc execution time: 9712 microseconds
Kernel execution time: 11957 microseconds
129.68
app_tidl_od: Iteration 13 of 50 ... Done.
convertFevToLdc execution time: 9704 microseconds
Kernel execution time: 11967 microseconds
71.72
app_tidl_od: Iteration 14 of 50 ... Done.
convertFevToLdc execution time: 9658 microseconds
Kernel execution time: 11949 microseconds
129.68
app_tidl_od: Iteration 15 of 50 ... Done.
convertFevToLdc execution time: 9647 microseconds
Kernel execution time: 11897 microseconds
71.72
app_tidl_od: Iteration 16 of 50 ... Done.
convertFevToLdc execution time: 9634 microseconds
Kernel execution time: 11932 microseconds
129.68
app_tidl_od: Iteration 17 of 50 ... Done.
convertFevToLdc execution time: 9711 microseconds
Kernel execution time: 11739 microseconds
71.72
app_tidl_od: Iteration 18 of 50 ... Done.
convertFevToLdc execution time: 9835 microseconds
Kernel execution time: 12142 microseconds
129.68
app_tidl_od: Iteration 19 of 50 ... Done.
convertFevToLdc execution time: 9643 microseconds
Kernel execution time: 11944 microseconds
71.72
app_tidl_od: Iteration 20 of 50 ... Done.
convertFevToLdc execution time: 9717 microseconds
Kernel execution time: 11978 microseconds
129.68
app_tidl_od: Iteration 21 of 50 ... Done.
convertFevToLdc execution time: 9684 microseconds
Kernel execution time: 11979 microseconds
71.72
app_tidl_od: Iteration 22 of 50 ... Done.
convertFevToLdc execution time: 9773 microseconds
Kernel execution time: 12103 microseconds
129.68
papp_tidl_od: Iteration 23 of 50 ... Done.
convertFevToLdc execution time: 9704 microseconds
Kernel execution time: 11947 microseconds
71.72
app_tidl_od: Iteration 24 of 50 ... Done.
convertFevToLdc execution time: 9854 microseconds
Kernel execution time: 12170 microseconds
129.68
app_tidl_od: Iteration 25 of 50 ... Done.
convertFevToLdc execution time: 9647 microseconds
Kernel execution time: 11955 microseconds
71.72



Summary of CPU load,
====================

CPU: mpu1_0: TOTAL LOAD =  38.92 % ( HWI =   0.59 %, SWI =   0.29 % )
CPU: mcu2_0: TOTAL LOAD =  26. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU: mcu2_1: TOTAL LOAD =  21. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c6x_1: TOTAL LOAD =   4. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c6x_2: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c7x_1: TOTAL LOAD =   2. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )


HWA performance statistics,
===========================



DDR performance statistics,
===========================

DDR: READ  BW: AVG =    713 MB/s, PEAK =   3457 MB/s
DDR: WRITE BW: AVG =    459 MB/s, PEAK =   6162 MB/s
DDR: TOTAL BW: AVG =   1172 MB/s, PEAK =   9619 MB/s


Detailed CPU performance/memory statistics,
===========================================

CPU: mcu2_0: TASK:           IPC_RX:   0. 0 %
CPU: mcu2_0: TASK:       REMOTE_SRV:   0. 0 %
CPU: mcu2_0: TASK:        LOAD_TEST:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CPU_0:   0. 0 %
CPU: mcu2_0: TASK:          TIVX_NF:   0. 0 %
CPU: mcu2_0: TASK:        TIVX_LDC1:   0. 0 %
CPU: mcu2_0: TASK:        TIVX_MSC1:   0. 0 %
CPU: mcu2_0: TASK:        TIVX_MSC2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_VISS1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_DISP1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_DISP2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CSITX:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT3:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT4:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT5:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT6:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT7:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT8:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %

app_tidl_od: Iteration 26 of 50 ... Done.
convertFevToLdc execution time: 9515 microseconds
Kernel execution time: 11802 microseconds
129.68
CPU: mcu2_0: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU: mcu2_0: HEAP:           L3_MEM: size =     262144 B, free =     261888 B ( 99 % unused)

CPU: mcu2_1: TASK:           IPC_RX:   0. 0 %
CPU: mcu2_1: TASK:       REMOTE_SRV:   0. 0 %
CPU: mcu2_1: TASK:        LOAD_TEST:   0. 0 %
CPU: mcu2_1: TASK:         TIVX_SDE:   0. 0 %
CPU: mcu2_1: TASK:         TIVX_DOF:   0. 0 %
CPU: mcu2_1: TASK:       TIVX_CPU_1:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU: mcu2_1: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU: mcu2_1: HEAP:           L3_MEM: size =     262144 B, free =     262144 B (100 % unused)

CPU:  c6x_1: TASK:           IPC_RX:   0. 7 %
CPU:  c6x_1: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c6x_1: TASK:        LOAD_TEST:   0. 0 %
CPU:  c6x_1: TASK:         TIVX_CPU:   4.22 %
CPU:  c6x_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c6x_1: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16752128 B ( 99 % unused)
CPU:  c6x_1: HEAP:           L2_MEM: size =     229376 B, free =          0 B (  0 % unused)
CPU:  c6x_1: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)

CPU:  c6x_2: TASK:           IPC_RX:   0. 0 %
CPU:  c6x_2: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c6x_2: TASK:        LOAD_TEST:   0. 0 %
CPU:  c6x_2: TASK:         TIVX_CPU:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c6x_2: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU:  c6x_2: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
CPU:  c6x_2: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)

CPU:  c7x_1: TASK:           IPC_RX:   0. 2 %
CPU:  c7x_1: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c7x_1: TASK:        LOAD_TEST:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   2.64 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c7x_1: HEAP:   DDR_SHARED_MEM: size =  268435456 B, free =  250712320 B ( 93 % unused)
CPU:  c7x_1: HEAP:           L3_MEM: size =    8159232 B, free =          0 B (  0 % unused)
CPU:  c7x_1: HEAP:           L2_MEM: size =     458752 B, free =     458752 B (100 % unused)
CPU:  c7x_1: HEAP:           L1_MEM: size =      16384 B, free =          0 B (  0 % unused)
CPU:  c7x_1: HEAP:  DDR_SCRATCH_MEM: size =  385875968 B, free =  385702076 B ( 99 % unused)


GRAPH:      OpenVxGraph (#nodes =   5, #executions =     28)
 NODE:          A72-0:          ResResizeObjObj: avg =  12674 usecs, min/max =  11564 /  16185 usecs, #executions =         28
 NODE:          DSP-1:   colorConv_RGB_NV12node: avg =   2005 usecs, min/max =   1982 /   2043 usecs, #executions =         28
 NODE:          DSP-1:              PreProcNode: avg =    162 usecs, min/max =     13 /    317 usecs, #executions =         28
 NODE:       DSP_C7-1:                tidl_node: avg =   1400 usecs, min/max =   1371 /   1882 usecs, #executions =         28
 NODE:          A72-0: TPA_Segmentation_PostProc: avg =    406 usecs, min/max =    365 /    599 usecs, #executions =         28

 PERF:           FILEIO: avg =  31305 usecs, min/max =  27707 / 115122 usecs, #executions =         28
 PERF:            TOTAL: avg =  54367 usecs, min/max =  33450 / 115190 usecs, #executions =         27

 PERF:            TOTAL:   18.39 FPS



 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: 


 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: app_tidl_od: Iteration 27 of 50 ... Done.
convertFevToLdc execution time: 9782 microseconds
Kernel execution time: 12090 microseconds
71.72
app_tidl_od: Iteration 28 of 50 ... Done.
convertFevToLdc execution time: 9717 microseconds
Kernel execution time: 11956 microseconds
129.68
app_tidl_od: Iteration 29 of 50 ... Done.
convertFevToLdc execution time: 9698 microseconds
Kernel execution time: 12008 microseconds
71.72
app_tidl_od: Iteration 30 of 50 ... Done.
convertFevToLdc execution time: 9603 microseconds
Kernel execution time: 11858 microseconds
129.68
app_tidl_od: Iteration 31 of 50 ... Done.
convertFevToLdc execution time: 9718 microseconds
Kernel execution time: 11969 microseconds
71.72
app_tidl_od: Iteration 32 of 50 ... Done.
convertFevToLdc execution time: 9847 microseconds
Kernel execution time: 12119 microseconds
129.68
app_tidl_od: Iteration 33 of 50 ... Done.

root@j7-evm:/opt/vision_apps# ./btc_tpa_dl_base.out --cfg btc_tpa_dl.cfg 
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    92.369365 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    92.375833 s:  VX_ZONE_INIT:Enabled
    92.375846 s:  VX_ZONE_ERROR:Enabled
    92.375859 s:  VX_ZONE_WARNING:Enabled
    92.379940 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    92.380116 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
Computing checksum at 0x0000FFFFA1452F00, size = 785072
*********************
TIDL:num_input_tensors:1
TIDL:num_output_tensors:1
frame id: 0


 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: convertFevToLdc execution time: 9427 microseconds
Kernel execution time: 12202 microseconds
73.09
app_tidl_od: Iteration 0 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9558 microseconds
Kernel execution time: 12001 microseconds
73.09
app_tidl_od: Iteration 1 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9437 microseconds
Kernel execution time: 11425 microseconds
73.09
app_tidl_od: Iteration 2 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9470 microseconds
Kernel execution time: 11447 microseconds
73.09
app_tidl_od: Iteration 3 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9428 microseconds
Kernel execution time: 11437 microseconds
73.09
app_tidl_od: Iteration 4 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9455 microseconds
Kernel execution time: 11437 microseconds
73.09
app_tidl_od: Iteration 5 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9461 microseconds
Kernel execution time: 11471 microseconds
73.09
app_tidl_od: Iteration 6 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9475 microseconds
Kernel execution time: 11431 microseconds
73.09
app_tidl_od: Iteration 7 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9423 microseconds
Kernel execution time: 11410 microseconds
73.09
app_tidl_od: Iteration 8 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9481 microseconds
Kernel execution time: 11437 microseconds
73.09
app_tidl_od: Iteration 9 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9458 microseconds
Kernel execution time: 11450 microseconds
73.09
app_tidl_od: Iteration 10 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9475 microseconds
Kernel execution time: 11431 microseconds
73.09
app_tidl_od: Iteration 11 of 1000 ... Done.
frame id: 0
pconvertFevToLdc execution time: 9481 microseconds
Kernel execution time: 11466 microseconds
73.09
app_tidl_od: Iteration 12 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9441 microseconds
Kernel execution time: 11397 microseconds
73.09
app_tidl_od: Iteration 13 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9560 microseconds
Kernel execution time: 11567 microseconds
73.09
app_tidl_od: Iteration 14 of 1000 ... Done.
frame id: 0
convertFevToLdc execution time: 9499 microseconds
Kernel execution time: 11454 microseconds
73.09
app_tidl_od: Iteration 15 of 1000 ... Done.
frame id: 0



Summary of CPU load,
====================

CPU: mpu1_0: TOTAL LOAD =  31.30 % ( HWI =   0.43 %, SWI =   0. 0 % )
CPU: mcu2_0: TOTAL LOAD =  22. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU: mcu2_1: TOTAL LOAD =  15. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c6x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c6x_2: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
CPU:  c7x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )


HWA performance statistics,
===========================

HWA:   MSC0: LOAD =   1.12 % ( 4 MP/s )


DDR performance statistics,
===========================

convertFevToLdc execution time: 9724 microseconds
DDR: READ  BW: AVG =    610 MB/s, PEAK =   3229 MB/s
DDR: WRITE BW: AVG =    421 MB/s, PEAK =   7682 MB/s
DDR: TOTAL BW: AVG =   1031 MB/s, PEAK =  10911 MB/s


Detailed CPU performance/memory statistics,
===========================================

Kernel execution time: 11698 microseconds
CPU: mcu2_0: TASK:           IPC_RX:   0. 0 %
CPU: mcu2_0: TASK:       REMOTE_SRV:   0. 0 %
CPU: mcu2_0: TASK:        LOAD_TEST:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CPU_0:   0. 0 %
CPU: mcu2_0: TASK:          TIVX_NF:   0. 0 %
CPU: mcu2_0: TASK:        TIVX_LDC1:   0. 0 %
CPU: mcu2_0: TASK:        TIVX_MSC1:   0. 1 %
CPU: mcu2_0: TASK:        TIVX_MSC2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_VISS1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_DISP1:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_DISP2:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CSITX:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT3:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT4:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT5:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT6:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT7:   0. 0 %
CPU: mcu2_0: TASK:       TIVX_CAPT8:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 2 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %
CPU: mcu2_0: TASK:      TIVX_DISP_M:   0. 0 %

73.09
app_tidl_od: Iteration 16 of 1000 ... Done.
frame id: 0
CPU: mcu2_0: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU: mcu2_0: HEAP:           L3_MEM: size =     262144 B, free =     261888 B ( 99 % unused)

CPU: mcu2_1: TASK:           IPC_RX:   0. 0 %
CPU: mcu2_1: TASK:       REMOTE_SRV:   0. 0 %
CPU: mcu2_1: TASK:        LOAD_TEST:   0. 0 %
CPU: mcu2_1: TASK:         TIVX_SDE:   0. 0 %
CPU: mcu2_1: TASK:         TIVX_DOF:   0. 0 %
CPU: mcu2_1: TASK:       TIVX_CPU_1:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU: mcu2_1: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU: mcu2_1: HEAP:           L3_MEM: size =     262144 B, free =     262144 B (100 % unused)

CPU:  c6x_1: TASK:           IPC_RX:   0. 1 %
CPU:  c6x_1: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c6x_1: TASK:        LOAD_TEST:   0. 0 %
CPU:  c6x_1: TASK:         TIVX_CPU:   0.61 %
CPU:  c6x_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c6x_1: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16754432 B ( 99 % unused)
CPU:  c6x_1: HEAP:           L2_MEM: size =     229376 B, free =          0 B (  0 % unused)
CPU:  c6x_1: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)

CPU:  c6x_2: TASK:           IPC_RX:   0. 0 %
CPU:  c6x_2: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c6x_2: TASK:        LOAD_TEST:   0. 0 %
CPU:  c6x_2: TASK:         TIVX_CPU:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c6x_2: HEAP:   DDR_SHARED_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
CPU:  c6x_2: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
CPU:  c6x_2: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)

CPU:  c7x_1: TASK:           IPC_RX:   0. 2 %
CPU:  c7x_1: TASK:       REMOTE_SRV:   0. 0 %
CPU:  c7x_1: TASK:        LOAD_TEST:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   2.60 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      TIVX_CPU_PR:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_RX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %

CPU:  c7x_1: HEAP:   DDR_SHARED_MEM: size =  268435456 B, free =  250712320 B ( 93 % unused)
CPU:  c7x_1: HEAP:           L3_MEM: size =    8159232 B, free =          0 B (  0 % unused)
CPU:  c7x_1: HEAP:           L2_MEM: size =     458752 B, free =     458752 B (100 % unused)
CPU:  c7x_1: HEAP:           L1_MEM: size =      16384 B, free =          0 B (  0 % unused)
CPU:  c7x_1: HEAP:  DDR_SCRATCH_MEM: size =  385875968 B, free =  385702076 B ( 99 % unused)


GRAPH:      OpenVxGraph (#nodes =   6, #executions =     17)
 NODE:          A72-0:          ResResizeObjObj: avg =  11557 usecs, min/max =  11415 /  12234 usecs, #executions =         17
 NODE:       DSS_M2M1:   colorConv_RGB_NV12node: avg =   7583 usecs, min/max =   6263 /  10386 usecs, #executions =         17
 NODE:      VPAC_MSC1:              scaler_node: avg =    675 usecs, min/max =    667 /    710 usecs, #executions =         17
 NODE:          DSP-1:              PreProcNode: avg =    305 usecs, min/max =    302 /    315 usecs, #executions =         17
 NODE:       DSP_C7-1:                tidl_node: avg =   1409 usecs, min/max =   1369 /   1861 usecs, #executions =         17
 NODE:          A72-0: TPA_Segmentation_PostProc: avg =    425 usecs, min/max =    407 /    590 usecs, #executions =         17

 PERF:           FILEIO: avg =  32581 usecs, min/max =  27702 / 110239 usecs, #executions =         17
 PERF:            TOTAL: avg =  55053 usecs, min/max =  49269 / 136841 usecs, #executions =         17

 PERF:            TOTAL:   18.16 FPS



 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: 


 =========================
 TIDL Demo - Object Detection
 =========================

 p: Print performance statistics

 x: Exit

 Enter Choice: convertFevToLdc execution time: 9522 microseconds
Kernel execution time: 11460 microseconds
73.09

   101.311008 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xfffface1bc28 of type 00000813 at external count 1, internal count 0, releasing it
   101.311025 s:  VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=object_array_104) now as a part of garbage collection
   101.311035 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffffacdb49a8 of type 0000080f at external count 1, internal count 0, releasing it
   101.311042 s:  VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=image_105) now as a part of garbage collection
   101.311067 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffffacd82080 of type 00000816 at external count 1, internal count 0, releasing it
   101.311074 s:  VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_106) now as a part of garbage collection
   101.311095 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xfffface16740 of type 0000080d at external count 1, internal count 0, releasing it
   101.311102 s:  VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=scalar_127) now as a part of garbage collection
   101.311129 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
[MCU2_0]    101.309874 s: ==========================================================
[MCU2_0]    101.309971 s:  Display M2M Status: Instance|0
[MCU2_0]    101.310010 s: ==========================================================
[MCU2_0]    101.310057 s:  Queue Count: 171
[MCU2_0]    101.310090 s:  De-queue Count: 171
[MCU2_0]    101.310127 s:  Write-back Frames Count: 171
[MCU2_0]    101.310162 s:  Underflow Count: 0
   101.315501 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 363 alloc's of 1247561471 bytes 
MEM: Free's : 363 free's  of 1247561471 bytes 
MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
root@j7-evm:/opt/vision_apps# 

The value displaying is the angle output from post proc kernel. In sequential mode the value remains same with slight variation in floating digits, whereas in pipeline mode the values are altering very high.

Apart from the change in mode there is no other change in code or functionalities.

Kindly provide your insights on this.

Thanks and Regards,

Chaitanya Prakash Uppala

  • Hi Prakash,

    Check if the graph is created properly in the pipeline mode, from your logs i am seeing the following errors, and make sure you give enough buffer and fill those buffer with input data for the pipeline to be effective

    pipeline is not running properly, so you get varying values in pipeline mode.

    Regards,
    Gokul