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.

HDVPSS Heap usage



Hi,

For my project, I need to instance lot of OMX components (*scaler, camera, mixer, ...) at the same time. And the HDVPSS heap usage is too high.

According to sys_top, the HDVPSS has two heaps :

MC.HDVPSS:

Firmware Version: UNKNOWN/INTERNAL VERSION
 0 Heap:Size 2097152    Used 491792     MaxU 1742664    Free 1605360    LarF 1605360    
 1 Heap:Size 28311552   Used 0          MaxU 0          Free 28311552   LarF 28311552

The HEAP 0 (System heap for HDVPSS (http://processors.wiki.ti.com/index.php/EZSDK_sys_top_Linux_Utility) ~ 2Mb) is too small for my need. And the second one (~28 Mb), the bigger one, is never used  (Always Used=0 with OMX apps running) ... Why ? Can I change OMX_Allocate to use this second heap ?

Or, at least, can I change the HEAP 0 size ?

Thanks,

Regards,

  • Hello,

    Are you using the latest EZSDK 5.05.02.00?

    Regards,

    Pavel

  • Below one thread that might be in help:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/151225/563236.aspx

    Regards,

    Pavel

  • Hello,

    Thank you for your reply.

    No, I'm using a previous EZSDK, but according to a diff between my EZSDK version and the latest one, no differences regarding memory map. I just check your link, and i do not think I am on the same situation. I do not have any trouble to allocate some OMX components. But if I try to allocate more than maybe 10 OMX components (because no multi-channels support on Gstreamer with EZSDK) at the same time (through Gstreamer), I am running out of memory in HDVPSS Heap 0 (~2 Mb).

    Can I increase this size ?

    Regards,

  • Hello,


    I just try with the latest EZSDK. And I still have the same issue, and the same heap size (~2MB). Any solution to increase or change the heap (one bigger ~28 Mb is fully available) ?

    Regards,

  • Hello,

    We have one thread which discuss how to enlarge the HDVICP2 system heap:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/218671.aspx

    I assume for HDVPSS will be the same approach.

    Regards,

    Pavel

  • This is how to do this in DVR_RDK:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/156204/574510.aspx

    Regards,

    Pavel

  • Hello,

    AFAIK, your link is about increase Heap 1 (~28 Mb), aka Internal heap (http://processors.wiki.ti.com/index.php/EZSDK_sys_top_Linux_Utility). And, for me, this heap is always empty. I would increase the other one, Heap 0 (~ 2 Mb), aka System heap for HDVPSS. Am I right about your link ?

    Regarding the DVR_RDK, I do not have it. What is it propose ? Where can I find it ?

    Thank for your time,

    Regards

  • Hello,

    Théou Jean-Baptiste said:
    Am I right about your link ?

    No, my link also give info for Heap 0 (~2 Mb). It is for VICP2 heap 0, but I think the same is valid for VPSS heap 0.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/218671/776533.aspx#776533

    Théou Jean-Baptiste said:
    Regarding the DVR_RDK, I do not have it. What is it propose ? Where can I find it ?

    Check the below links for DVR_RDK

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/218671/780699.aspx#780699

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/201110.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/166685/671829.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/184528/834882.aspx

    Regards,

    Pavel