Talk:DDRALGHEAP

Comments on DDRALGHEAP -

Tanzhichaoanuo said ...
hello: I encounter some troubles when Changing the DVEVM memory map from 64M to 128M(OmapL138 platform,dvsdk_4_02_00_06_omapl138) ,I do this according to the document "Changing the DVEVM memory map" Platform:OmapL138

DVSDK: (dsplink_1_65_00_02、codec-engine_2_26_02_11)

At first,I use the initial DVEVM memory map :

32M

Linux

0xC0000000 - 0xC1FFFFFF --Linux--32M

12 MB

CMEM

0xC2000000 - 0xC2BFFFFF

3 MB

SDRAM (BIOS, Codecs, Applications)

0xC2C00000 - 0xC2EFFFFF

4 KB

DSPLINK (RESET)

0xC2F00000 - 0xC2F0FFFF

1 MB - 4 KB = 1020 KB

DSPLINK (MEM)

0xC2F10000 - 0xC2FFFFFF

16 MB

DDRALGHEAP

0xC3000000 - 0xC3FFFFFF

Test:

I run a application and call  Engine_getCpuLoad  to get Server's CPU usage in percent.

nearly 70%

Now I want to use the full 128M and I only change the files:

(1)memmap.tci(codecs-omapl138_4_02/packages/ti/sdo/server/cs)

I will change the followings:（below is the initial config）

var mem_ext = [

{

comment:   "DDR2: off-chip memory for application code and data",

name:      "DDR2",

base:      0xc3200000,

len:       0x00300000,

space:     "code/data"

},

{

comment:   "RESET_VECTOR: off-chip memory for the reset vector table",

name:      "RESET_VECTOR",

base:      0xc3500000,

len:       0x00001000,

space:     "code/data"

},

{

comment:   "DSPLINK: off-chip memory reserved for DSPLINK code and data",

name:      "DSPLINKMEM",

base:      0xc3501000,

len:       0x000FF000,

space:     "code/data"

},

{

comment:   "DDRALGHEAP: off-chip memory for dynamic algmem allocation",

name:      "DDRALGHEAP",

base:      0xc3600000,

len:       0x00A00000,

space:     "code/data"

},

];

(2)CFG_OMAPL138GEM_SHMEM.c(dsplink_1_65_00_02/dsplink/config/all)

I will change:


 * 1) define RESETCTRLADDR      0xC3E00000

-

Test:

after changing the above files according to my need :

At the condition I call Engine_getCpuLoad to get Server's CPU usage in percent.

nearly 92%

why when I change memory map ,the Server's CPU usage one is 70% and another is 92%(the memory is larger)

and if I still use the 64M of 128M(keeping the same memory as the initial), I only change the address offset(4M) of DSP :

12 MB

CMEM

0xC2000000 - 0xC2BFFFFF

the followings address all add 0x00400000(4M)

3 MB

SDRAM (BIOS, Codecs, Applications)

0xC2C00000 - 0xC2EFFFFF

4 KB

DSPLINK (RESET)

0xC2F00000 - 0xC2F0FFFF

1 MB - 4 KB = 1020 KB

DSPLINK (MEM)

0xC2F10000 - 0xC2FFFFFF

16 MB

DDRALGHEAP

0xC3000000 - 0xC3FFFFFF

and RESETCTRLADDR+4M

but I still get the above result（90%）

I use dsplink_1_65_00_02、codec-engine_2_26_02_11 ,so I the gstreamer cfg file I need not to change.and some steps of the document I passed.

Is there some files I have not change? or?

Why turn out this problem？

Thanks ！

--Tanzhichaoanuo 22:27, 11 August 2011 (CDT)