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: TDA4VM:Questions About LDC DDR Bandwidth Consumption Calculation

Part Number: TDA4VM
Other Parts Discussed in Thread: TEST2

Hi, TI experts,

     1. Our TDA4 device using LDC module,convert Image YUV422 uyvy to YUV420 NV21,only using format conversion.

     2. Input: 4 sorrond camera data,format YUV422 uyvy,resolution 1280*800,frame rate 30fps

         Output: 4 sorrond camera data,format YUV420 NV21,resolution 1280*800,frame rate 30fps

     3. Then,based on C66 core format conversion method, using the following calculation, an estimated consumption of around 410MB

         read: 1280*800*2*4*30=245,760,000 BYTE,234MB

         write: 1280*800*1.5*4*30=184,320,000 BYTE,175MB

     4. But, when implementing the functionality with LDC in practice, it was found that the bandwidth consumption is around 580MB, which is 170MB higher.

         the LDC params as shown as follows:

        

      5.  So, consulting TI experts, is the above calculation incorrect, and how should it be calculated correctly?

  • Hi,

    Could you help me understand how you measured LDC BW to be around 580MB/s? Are you using some tool to measure it? 

    From the LDC parameter perspective, it looks to be fine. You can try increasing block width further to 128 to see if helps. But first need to understand how 580MB/s came? 

    Regards,

    Brijesh

  • Hi,

    We conducted three tests, obtaining DDR bandwidth values separately, and the LDC difference is 580MB.

    Test1: Do not connect 4 surrond cameras, no capture data, DDR bandwith 770MB/S

    Test2: Connect 4 surrond cameras, get capture data, but not call LDC function,DDR bandwidth 1020MB/S

    Test3: Connect 4 surrond cameras, get capture data, call LDC function and but not using output image data,DDR bandwidth 1600MB/S

     

    So, estimated capturen consumption is around 250MB/s(1020MB/S-770MB/S); estimated LDC consumption is around 580MB/s(1600MB/S-1020MB/S); 

    The bandwidth consumption for capture is close to the theoretical value(234MB/S), but the LDC consumption has a significant deviation

  • Hi,

    ok, please note that LDC is 2D traffic for both input as well on output side, so i am suspecting it might be affecting. Can you try increasing block width to 128bytes? 

    Regards,

    Brijesh

  • Hi, 

    Are you suggesting changing the fields of outputBlockWidth and outputBlockHeight   from 64 to 128?

    If yes,can you please explain the impact of these two parameters on bandwidth, or how should the actual bandwidth be calculated? 

  • Hi,

    yes, more for outputBlockWidth. Please set this to 128 and see if it helps.

    Since LDC is 2D traffice, i am just trying to see if having larger read in line helps DDR BW. 

    Regards,

    Brijesh

  • Hi,

        setting the block parameter to 128 and tesing, the DDR bandwidth decreases by approximately 50MB/s.

        so, confused, what is the appropriate value to set for the block?

  • Hi,

    You can try to increase it further to value 256., this means more linear access to the DDR and should give more benefit in terms of BW.

    Regards,

    Brijesh

  • Hi, set block value to 256 and LDC report params failed, so the 128 is the max value?

  • With 256 blockheight, you might need to reduce blockHeight? can you reduce blockHeight to half and see if it works? 

    Regards,

    Brijesh

  • OBW is limited up to 248.

    So, maybe try 192 (= 64 * 3) instead assuming DDR burst size is 64 bytes.

  • Hi Gang,

    Thanks for your update how to set parameters for decrease DDR bandwidth consumption. But the key question is how to calculate theoretical DDR bandwidth of LDC converting YUV422 to NV12 format? Please help me review the following method whether right? 

    I try use DCC tool to calculate input DDR bandwidth show as following

    The input image YUV422(UYVY) 1280x800 should use 2605504Byte. For customer system should be 2605504x4x30=298MB

    The output image NV12 1280x800 should use 1280x800x3/2 = 1536000Byte when block size is 64x64. For customer system should be 1536000x4x30=175.78MB.

  • But the key question is how to calculate theoretical DDR bandwidth of LDC converting YUV422 to NV12 format? Please help me review the following method whether right? 

    Yes, tuning tool can do the calculation even though it is not designed for this 422 to 420 conversion.

    Theoretically, DDR BW for reading LDC input pixels is 2605504 bytes per frame.

  • To be clear, large block size typically reduces the overhead in DDR reading BW.

    Keeping output block width to 64x is good for DDR writing BW.

  • Hi Gang,

    I try use different lut table to load YUV422 image and it will get different DDR bandwidth show as follwoing

    This results are different when use different lut tabel

      2544   2050
      2398   2001
      2256   1951
      2117   1901
      1983   1851
      1852   1801
      1726   1751
      1605   1701
      1488   1652
      1376   1603
      1269   1556
      1166   1509
      1069   1464
       976   1421
       888   1379
       805   1338
       726   1300
       652   1264
       582   1231
       516   1199
       453   1170
       394   1144
       338   1121
       284   1101
       233   1083
       184   1069
       137   1058
        91   1050
        45   1045
         0   1043
       -43   1045
       -89   1049
      -135   1057
      -182   1068
      -231   1082
      -282   1099
      -335   1119
      -391   1142
      -450   1168
      -512   1197
      -578   1228
      2495   1924
      2349   1875
      2206   1826
      2067   1776
      1933   1726
      1802   1677
      1677   1627
      1556   1578
      1439   1529
      1328   1481
      1222   1434
      1121   1388
      1025   1343
       934   1300
       847   1259
       766   1219
       690   1181
       617   1145
       550   1112
       486   1081
       426   1053
       369   1027
       316   1004
       266    984
       217    967
       171    953
       127    941
        84    933
        42    929
         0    927
       -40    928
       -82    933
      -125    941
      -170    952
      -215    966
      -263    983
      -314   1003
      -367   1025
      -423   1051
      -482   1079
      -546   1110
      2447   1802
      2300   1754
      2157   1705
      2018   1656
      1883   1607
      1753   1557
      1627   1508
      1507   1459
      1391   1411
      1281   1364
      1176   1318
      1076   1272
       981   1228
       892   1186
       807   1145
       728   1105
       653   1068
       583   1033
       518   1000
       456    970
       399    942
       345    917
       295    894
       247    874
       202    857
       159    843
       118    832
        78    825
        39    820
         0    818
       -37    820
       -76    824
      -116    832
      -157    843
      -200    856
      -245    873
      -292    893
      -343    915
      -396    940
      -453    968
      -514    998
      2399   1684
      2252   1636
      2108   1588
      1969   1540
      1834   1491
      1704   1443
      1579   1394
      1459   1346
      1344   1299
      1234   1253
      1130   1207
      1031   1162
       938   1119
       850   1077
       767   1037
       690    999
       617    962
       550    928
       486    896
       427    866
       373    838
       321    813
       274    791
       229    772
       187    755
       147    742
       108    731
        72    723
        36    719
         0    717
       -34    718
       -70    723
      -107    730
      -145    741
      -185    754
      -227    771
      -272    790
      -319    812
      -370    837
      -425    864
      -483    893
      2352   1570
      2204   1523
      2060   1476
      1921   1428
      1786   1380
      1656   1333
      1531   1285
      1412   1239
      1297   1192
      1189   1147
      1086   1102
       988   1058
       896   1016
       810    975
       729    936
       653    898
       582    863
       517    829
       456    798
       399    768
       347    742
       298    717
       253    696
       211    677
       172    661
       135    647
        99    637
        65    629
        33    625
         0    623
       -31    625
       -64    629
       -98    636
      -133    647
      -170    660
      -209    676
      -251    694
      -296    716
      -344    740
      -397    767
      -453    796
      2306   1459
      2158   1413
      2014   1367
      1874   1321
      1739   1274
      1609   1228
      1485   1182
      1366   1136
      1252   1091
      1144   1046
      1042   1003
       946    960
       855    919
       770    879
       691    841
       617    804
       548    770
       484    737
       426    706
       372    678
       322    652
       276    628
       233    607
       194    589
       157    573
       123    560
        90    550
        60    543
        30    538
         0    537
       -28    538
       -58    543
       -89    550
      -122    560
      -156    573
      -192    588
      -231    606
      -274    627
      -319    651
      -369    676
      -423    705
      2261   1352
      2112   1308
      1968   1263
      1828   1218
      1693   1173
      1564   1128
      1439   1083
      1321   1038
      1208    995
      1101    951
      1000    909
       904    868
       815    828
       732    789
       654    752
       582    717
       515    683
       453    652
       397    622
       345    595
       297    569
       254    547
       214    526
       177    508
       143    493
       112    481
        82    471
        54    464
        27    460
         0    458
       -26    459
       -53    464
       -81    471
      -110    480
      -142    493
      -176    508
      -212    525
      -252    545
      -295    568
      -343    593
      -394    620
      2218   1250
      2068   1207
      1924   1163
      1784   1120
      1649   1076
      1519   1032
      1395    989
      1277    946
      1165    904
      1059    862
       959    821
       865    782
       776    743
       694    706
       618    670
       548    636
       483    604
       423    573
       369    545
       319    518
       274    494
       232    472
       195    452
       161    435
       129    421
       101    408
        74    399
        48    392
        24    388
         0    387
       -23    388
       -47    392
       -73    399
      -100    408
      -128    420
      -160    434
      -194    451
      -231    471
      -272    493
      -317    517
      -366    543
      2176   1151
      2026   1109
      1881   1067
      1741   1026
      1606    984
      1477    942
      1353    900
      1236    859
      1124    818
      1018    778
       919    739
       826    701
       739    664
       659    628
       584    594
       515    561
       452    530
       394    501
       342    474
       294    448
       251    425
       212    404
       177    385
       145    369
       116    355
        90    343
        66    334
        43    328
        21    324
         0    323
       -20    324
       -42    328
       -65    334
       -89    343
      -115    354
      -144    368
      -176    384
      -211    403
      -249    424
      -292    447
      -340    472
      2135   1056
      1985   1016
      1840    976
      1700    936
      1565    896
      1436    856
      1313    816
      1196    776
      1085    738
       980    700
       882    662
       790    626
       704    591
       624    557
       551    524
       484    493
       423    463
       367    435
       316    409
       270    385
       229    363
       193    343
       160    325
       130    309
       104    296
        80    285
        58    276
        38    270
        19    267
         0    265
       -18    266
       -37    270
       -57    276
       -79    285
      -103    296
      -129    309
      -159    324
      -191    342
      -228    362
      -269    384
      -314    408
      2097    964
      1946    926
      1801    888
      1661    850
      1526    812
      1397    774
      1274    736
      1157    699
      1047    662
       943    626
       846    591
       755    556
       670    523
       592    491
       520    460
       454    430
       395    402
       340    376
       292    351
       248    328
       209    307
       174    288
       143    271
       116    257
        92    244
        70    234
        51    225
        33    220
        16    216
         0    215
       -16    216
       -32    219
       -50    225
       -70    233
       -91    244
      -115    256
      -142    271
      -173    288
      -207    306
      -246    327
      -290    350
      2060    876
      1909    840
      1764    805
      1624    769
      1489    733
      1360    697
      1238    661
      1121    626
      1012    591
       908    557
       812    524
       722    492
       638    460
       561    430
       491    401
       426    373
       368    347
       316    322
       269    299
       227    277
       189    258
       157    240
       128    224
       103    210
        81    198
        61    188
        44    181
        28    175
        14    172
         0    171
       -13    172
       -28    175
       -44    181
       -61    188
       -80    198
      -102    210
      -127    223
      -156    239
      -188    257
      -225    276
      -267    298
      2026    792
      1875    758
      1729    725
      1589    691
      1454    657
      1326    624
      1203    591
      1088    558
       978    525
       876    494
       780    463
       691    432
       608    403
       533    375
       463    347
       400    322
       343    297
       292    274
       247    252
       207    232
       171    214
       140    197
       114    183
        90    170
        70    159
        53    149
        38    142
        24    137
        12    134
         0    133
       -11    134
       -24    137
       -37    142
       -53    149
       -70    158
       -90    169
      -113    182
      -140    197
      -170    213
      -205    232
      -245    251
      1994    710
      1843    679
      1697    648
      1556    617
      1422    586
      1294    555
      1172    524
      1056    494
       947    464
       846    434
       750    405
       662    377
       581    350
       506    324
       438    299
       376    275
       321    252
       271    231
       227    211
       188    193
       155    176
       125    160
       100    147
        79    135
        61    125
        45    116
        32    110
        20    105
        10    102
         0    101
        -9    102
       -20    105
       -32    109
       -45    116
       -60    124
       -78    134
      -100    146
      -124    160
      -153    175
      -187    192
      -225    210
      1964    632
      1813    603
      1667    575
      1526    546
      1392    518
      1264    489
      1142    461
      1027    433
       919    406
       818    379
       723    353
       636    327
       555    302
       481    278
       414    255
       354    234
       299    213
       251    193
       209    175
       171    158
       139    143
       112    129
        88    116
        68    105
        52     96
        38     88
        27     82
        17     78
         8     75
         0     75
        -8     75
       -16     78
       -26     82
       -38     88
       -51     96
       -68    105
       -87    116
      -111    128
      -138    142
      -170    158
      -207    174
      1937    556
      1786    531
      1640    505
      1499    479
      1365    453
      1237    427
      1116    402
      1001    377
       893    352
       792    328
       699    304
       612    281
       532    258
       459    237
       393    216
       333    196
       280    178
       233    160
       192    144
       156    128
       125    114
        99    102
        77     90
        59     81
        44     72
        32     65
        22     60
        13     56
         6     54
         0     53
        -6     54
       -13     56
       -21     60
       -31     65
       -43     72
       -58     80
       -76     90
       -98    101
      -124    114
      -155    128
      -190    143
      1913    483
      1761    460
      1615    437
      1475    414
      1341    391
      1213    368
      1092    346
       977    323
       870    301
       770    280
       676    259
       590    238
       511    218
       439    199
       374    181
       315    163
       263    146
       217    131
       177    116
       142    103
       113     90
        88     79
        67     69
        50     60
        37     53
        26     47
        17     42
        10     39
         5     37
         0     36
        -5     37
       -10     39
       -17     42
       -26     47
       -36     53
       -50     60
       -66     69
       -87     79
      -112     90
      -141    102
      -176    116
      1892    413
      1740    393
      1594    372
      1453    352
      1319    332
      1191    312
      1071    292
       956    273
       849    254
       750    235
       657    216
       571    199
       493    181
       422    165
       357    149
       299    133
       248    119
       203    105
       164     93
       130     81
       102     70
        78     60
        58     52
        43     44
        30     38
        21     32
        13     28
         8     25
         3     23
         0     23
        -3     23
        -8     25
       -13     28
       -20     32
       -30     38
       -42     44
       -58     52
       -77     60
      -101     70
      -129     81
      -162     92
      1873    344
      1721    327
      1575    310
      1435    293
      1301    275
      1173    259
      1052    242
       939    225
       832    209
       732    193
       640    177
       555    162
       477    147
       407    133
       343    120
       286    107
       235     95
       191     83
       152     72
       120     62
        92     53
        69     45
        51     38
        36     31
        25     26
        16     21
        10     18
         6     15
         2     14
         0     13
        -2     14
        -6     15
       -10     18
       -16     21
       -25     26
       -36     31
       -50     38
       -69     45
       -91     53
      -119     62
      -151     72
      1858    277
      1706    263
      1559    249
      1419    235
      1285    221
      1158    207
      1037    193
       924    180
       817    166
       718    153
       626    140
       542    128
       464    116
       394    104
       331     93
       274     83
       224     73
       181     64
       143     55
       111     47
        84     39
        62     33
        45     27
        31     21
        20     17
        13     13
         7     11
         4      8
         1      7
         0      7
        -1      7
        -4      8
        -7     10
       -13     13
       -20     17
       -30     21
       -44     27
       -62     32
       -83     39
      -110     47
      -142     55
      1845    212
      1693    201
      1547    190
      1407    179
      1273    168
      1145    157
      1025    146
       912    136
       805    125
       707    115
       615    106
       531     96
       454     87
       384     78
       321     69
       265     61
       216     54
       173     46
       136     40
       104     33
        78     28
        57     23
        40     18
        26     14
        17     11
        10      8
         5      6
         2      4
         1      3
         0      3
        -1      3
        -2      4
        -5      6
       -10      8
       -16     11
       -26     14
       -39     18
       -56     22
       -77     28
      -103     33
      -134     39
      1836    147
      1684    139
      1537    132
      1397    124
      1263    116
      1136    108
      1016    101
       903     93
       797     86
       698     79
       607     72
       523     65
       446     59
       377     53
       314     47
       258     41
       209     36
       167     31
       130     26
        99     22
        73     18
        52     14
        36     11
        23      8
        14      6
         8      4
         4      3
         1      1
         0      1
         0      1
         0      1
        -1      1
        -4      2
        -8      4
       -14      6
       -23      8
       -36     11
       -52     14
       -73     18
       -98     22
      -129     26
      1829     84
      1677     79
      1531     74
      1391     70
      1257     65
      1130     61
      1010     56
       897     52
       791     48
       693     44
       601     40
       518     36
       441     32
       372     29
       310     26
       254     22
       205     19
       163     17
       127     14
        96     11
        70      9
        50      7
        34      6
        21      4
        12      3
         6      2
         3      1
         1      0
         0      0
         0      0
         0      0
        -1      0
        -3      1
        -6      2
       -12      3
       -21      4
       -33      6
       -49      7
       -70      9
       -95     11
      -125     14
      1826     21
      1674     19
      1528     18
      1388     16
      1254     15
      1127     14
      1007     12
       894     11
       789     10
       690      9
       599      8
       515      7
       439      6
       370      6
       308      5
       252      4
       204      4
       161      3
       125      2
        95      2
        69      1
        49      1
        33      1
        20      0
        12      0
         6      0
         2      0
         0      0
         0      0
         0      0
         0      0
         0      0
        -2      0
        -6      0
       -11      0
       -20      0
       -32      1
       -48      1
       -68      1
       -94      2
      -124      2
      1826    -41
      1675    -40
      1528    -38
      1388    -36
      1255    -34
      1128    -32
      1008    -30
       895    -28
       789    -26
       691    -24
       600    -22
       516    -20
       439    -18
       370    -16
       308    -15
       253    -13
       204    -11
       162    -10
       126     -8
        95     -7
        70     -5
        49     -4
        33     -3
        21     -2
        12     -1
         6     -1
         2      0
         0      0
         0      0
         0      0
         0      0
         0      0
        -2      0
        -6     -1
       -12     -1
       -20     -2
       -33     -3
       -49     -4
       -69     -5
       -94     -7
      -124     -8
      1830   -104
      1678   -100
      1532    -95
      1392    -90
      1258    -85
      1131    -79
      1011    -74
       898    -69
       793    -64
       694    -59
       603    -54
       519    -49
       443    -45
       373    -40
       311    -36
       256    -31
       207    -27
       165    -23
       128    -20
        97    -17
        72    -14
        51    -11
        35     -8
        22     -6
        13     -4
         7     -3
         3     -2
         1     -1
         0      0
         0      0
         0      0
        -1     -1
        -3     -1
        -7     -3
       -13     -4
       -22     -6
       -34     -8
       -50    -11
       -71    -13
       -96    -16
      -127    -20
    

         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
         0      0
    

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/UYVY422_5F00_1280x800.yuv

  • Hi Kangjia,

    This is expected because the input size can change based on the Lut, so if you change Lut, the required input BW will change. 

    I would suggest keeping Lut filled 0 and see what's the input BW.

    Regards,

    Brijesh

  • Brijesh,
    Customer test result show read bandwidth is 390MB and write bandwidth is 190MB. But according to our theoretical calculation read bandwidth should be 4173312x4X30=477.59MB(Lut filled 0) write bandwidth should be 1536000x4x30=175.78MB. There is a large gap on read bandwidth. 

  • Hi Kangjia,

    But how do you/customer measure the individual LDC read and LDC write BW? Are they using some tool to measure each masters BW? Also what else is running in the system when you measure the BW? Are these standalone numbers? 

    Lets say if you are using Linux on the A72, there might be possible that additional BW is coming due to Linux. 

    Regards,

    Brijesh

  • But according to our theoretical calculation read bandwidth should be 4173312x4X30=477.59MB(Lut filled 0)

    Hi Kangia,

    This is what I get from tuning tool.

    With 192x32 (0 LUT), DDR read BW = 2425856 bytes per frame (291MB/s).

    With 128x32 (0 LUT), DDR read BW = 2584064 bytes per frame (310MB/s).

    With 64x64 (0 LUT), DDR read BW = 3066112 bytes per frame (368MB/s).

  • Hi Gang,
    Your shared data is more reasonable than previously shared from me. 

    64x64 (0 LUT), DDR read BW = 3066112 bytes x 4 x 30=350MB 

  • Hi Kangjia,

    ok then, any further question on this ticket?

    Regards,

    Brijesh

  • Hi Kangia,

    This is the tuning tool project I used to calculate the LDC read BW for your reference.

    /cfs-file/__key/communityserver-discussions-components-files/791/test_5F00_LDC_5F00_422_5F00_to_5F00_420.7z

    You may download the tuning tool from mysecuresw if necessary.