cache reconfigure for T2080RDB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

cache reconfigure for T2080RDB

546件の閲覧回数
hv
Contributor II

how can I restrict an application to only use 1MB of L2 cache on the T2080RDB?

Thanks!

0 件の賞賛
3 返答(返信)

467件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Hi,

You may lock part of L2 Cache before entrance of the application and unlock them after exit.

Regards

Lunmin

0 件の賞賛

467件の閲覧回数
hv
Contributor II

Could I achieve the same effect by doing cache partitioning? What’s the difference between cache locking and cache partitioning?

0 件の賞賛

467件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Hello HV HVO,

If lines are locked, they are not available for allocation until unlocked.If the same address accesses the cache with an allocatable request, the request misses but allocates to the same line in the cache to which it was previously allocated.

If you implement L2 Cache partition for this purpose, remember to set this on all the processors which may run the target application.


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛