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.

SDRAM perfomance(single bank vs. dual bank)

Hello All,

As I know, DM816x has two SDRAM controller EMIF0, EMIF1.

Every EMIF has capacity up to 1G Bytes SDRAM.

Is it different when I use single bank with 1G Bytes SDRAM vs. dual bank with (512MB+512MB) SDRAM? 

Does single bank mode have performance issue?(dual bank mode is better ?)

Thanks a lot!

Steven

 

  • Hi Steven,

    Dual bank mode with interleaving is the recommended approach for best performance. This is what we have in DM816x TRM:

    4.3.4.1 DMM Sections

    4.3.4.1.1 Case 1: Two Memory Controllers, 2GB DDR Symmetrical Distribution

    4.3.4.1.2 Case 2: Two Memory Controllers, 1152 MB (1 GB + 128 MB) DDR Symmetrical Distribution

    4.3.4.1.3 Case 3: Two SDRAM Controllers, 1152 MB (1 GB + 128 MB) DDR Asymmetrical Distribution

    NOTE: For optimal system performance, symmetric configuration is HIGHLY recommended. Unless dictated by system cost and other constraints, Asymmetrical distribution of memory should not be considered.

    I can say that dual bank with (512MB + 512MB) SDRAM in interleave mode is recommended than single bank with 1GB SDRAM, for optimal performance.

    Regards,

    Pavel



  • Hi Pavel,

    Thanks you very much!

    Are there any performance test result in the DDR with single/dual bank mode?

    Or how could I test it by myself?

    Regards,

    Steven

  • Hi Steven,

    The performance test based on the latest EZSDK 5.05.02.00 is located at:

    ti-ezsdk_dm816x-evm_5_05_02_00/board-support/docs/TI81XX_PSP_04.04.00.01_Feature_Performance_Guide.pdf

    All performance numbers provided in this document are gathered using
    • DM8168 EVM with DDR3 configured at 800 MHz clock (effective 1600MHz data rate)

    Regards,

    Pavel

  • Hi Pavel,

    Thanks!

    Does all performance test provided in this document using DDR dual bank mode?

    Regards,

    Steven

  • Steven,

    Yes, performance test provided is using DDR dual bank mode. This is what we have inside the document:

    Linux Kernel

    Module/Subsystem Usage

    Following table covers various onchip modules/subsystems enabled and used in U-Boot and Kernel.

    The table uses following conventions for enabled status:
    • NO - Module is not used and is not enabled
    • YES - Module is enabled always and is critical for functioning (should never be turned off).
    • KEEP - Module already enabled and kept as is.

    Module / Subsystem usage

    EMIF0  Enabled in U-Boot? - YES  Enabled in Linux? - KEEP

    EMIF1 Enabled in U-Boot? - YES   Enabled in Linux? - KEEP

    Regards,

    Pavel