RE: How to measure the RAM read/write performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



________________________________
> From: coolsandyforyou@xxxxxxxxx 
> Date: Tue, 26 Feb 2013 17:01:54 +0530 
> Subject: How to measure the RAM read/write performance 
> To: kernelnewbies@xxxxxxxxxxxxxxxxx 
> CC: dhylands@xxxxxxxxx 
> 
> Hi All 
> In performance benchmark tools, When we profile read/write timings 
> mostly, those read/writes are done to cache only. 
> 
> I want to measure my DDR(RAM chip) performance. 
> So i want to make sure, every read/write should happen to DDR RAM chip only. 
> 
> How can i achieve this...Any ideas/suggestions...? 

try to reserve a large region from bootloader(L4 in Qualcomm platform), let's say it is 10MB continuous physical memory.
in kernel, map this region to an continuous virtual region, note that the pgprot should be uncachable since you want to test without cache.
once you configed like this, you can read/write to this vitual region without data cache invovled.

> 
> -- 
> With regards, 
> Sandeep Kumar Anantapalli, 
> 
> _______________________________________________ Kernelnewbies mailing 
> list Kernelnewbies@xxxxxxxxxxxxxxxxx 
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies 		 	   		  
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux