Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I would like to enable or disable portion of ARM L2 's cache memory of raspberry PI. I am working on performance evaluation of raspberryPI by locking the cache memory of it. Please suggest me some ideas on this.

share|improve this question
add comment

1 Answer

All you need to do is add the following to your /boot/config.txt file. Here is the source page.

disable_l2cache=1

disable_l2cache disable ARM access to GPU's L2 cache. Needs corresponding L2 disabled kernel. Default 0

But I think for this to actually work, you will need to compile a custom kernel. So replace your kernel.img with your custom one, which has the L2 cache disabled. Also have a look at berryboot which allows you to install different versions of the same Linux on your SD card.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.