Spaces:
Sleeping
Sleeping
Ticket Name: Linux/TDA2: Performance comparison between A15 and C66 | |
Query Text: | |
Part Number: TDA2 Tool/software: Linux i am useing tda2 evm ? (sample_app\src\hlos\chains_common\chains_main.c ) in the main i move the usecase , read a img and run a cnn. There is no multithreading in CNN. use time is 1667ms. then i put the same cnn in (sample_app\src\rtos\alg_plugins\framecopy) done by dsp1 . buf cnn use is p_FRMem = (MVoid*)Utils_memAlloc(UTILS_HEAPID_DDR_CACHED_SR, FR_MEM_BUF_SIZE, 32); this time use time is 6378ms ! A15 1667ms. and c66 6378ms. Is the result reasonable? Why C66 is so slow?how can it fast ? thanks! shuai | |
Responses: | |
Hi, DSP clock is slow compared to A15. You can check the same by below command omapconf show opp Across what code are you measuring time. Check the time only to run CNN not for reading the image. Regards, Anuj | |
Hi Anuj yes measuring time only the cnn part! clock is slow but I don't think the gap is so big. shuai | |
Hi, It could be possible due to some other thread is running on DSP at the same time when you run cnn and due to task scheduling, time is increased. Regards, Anuj | |