Skip to content

Conversation

PetervdPerk-NXP
Copy link
Member

Move ramvectors from DTCM to ITCM, this seems to better in general. Also ITCM is marked as RO so is safer anyhow, now that DTCM is fully unused we add DTCM region of 256kB to the memory allocator. Increases usable memory from 1536kB to 1792kB and decrease system load.

Before without DTCM CPU IDLE 71%

nsh> free
                   total       used       free    largest  nused  nfree
        Umem:    1210144     291408     918736     915984   1197     72

After with DTCM CPU IDLE 77%

free
                   total       used       free    largest  nused  nfree
        Umem:    1472096     291248    1180848    1177888   1185     72

Stress tested memory using the NuttX CONFIG_TESTING_MM utility.

Move ramvectors from DTCM to ITCM, this seems to better in general.
Also ITCM is marked as RO so is safer anyhow, now that DTCM is fully
unused we add DTCM region of 256kB to memory allocator. Increases usable
memory from 1536kB to 1792kB and decrease system load a bit since DTCM
is faster
@dakejahl dakejahl merged commit edc7a2b into main Oct 10, 2025
67 of 70 checks passed
@dakejahl dakejahl deleted the pr-v6xrt-dtcm branch October 10, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants