How to use OCRAM in Linux user space?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use OCRAM in Linux user space?

Jump to solution
1,125 Views
dehuanxin
Contributor III

I'm writing some signal processing code for IMX6Q.

The performance requirement is tight and I want to use OCRAM to maximize throughput.

Questions:

1) Is OCRAM currently used by kernel or kernel drivers?

2) How shall I allocate/manage OCRAM memory in user space?

Thank you.

0 Kudos
Reply
1 Solution
755 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Hardly OCRAM using will provide performance improvement.

Really the DDR operations on i.MX6 are more rapid than OCRAM ones,
because DRAM frequencies are higher and burst nature of DDR.

   Also, OCRAM is used by Linux itself.


Have a great day,
Yuri

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

View solution in original post

0 Kudos
Reply
1 Reply
756 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Hardly OCRAM using will provide performance improvement.

Really the DDR operations on i.MX6 are more rapid than OCRAM ones,
because DRAM frequencies are higher and burst nature of DDR.

   Also, OCRAM is used by Linux itself.


Have a great day,
Yuri

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

0 Kudos
Reply