Can You Capture Physical CPU-to-Memory Addresses in Real Time for Research?

In summary, the conversation discusses the need for access to physical addresses sent from the CPU to memory in real time for research into caching algorithms. It is suggested that this may be possible through virtual machine technology or by tracing information from an ARM CPU setup. The traditional method for evaluating performance on a specific machine is to simulate the hardware caches with software.
  • #1
Fubini
13
0
I'm doing some senior research into caching algorithms. In order to effectively evaluate some of our algorithms it would be amazing if we had access to physical addresses sent from the CPU to the memory captured in real time under real operating conditions. Does anyone know of a place that might have something like this in the public domain for research?

Alternately, would it hypothetically be possible to generate such a thing in software on a standard Intel processor running windows/linux whatever? Kernel hacking would not be out of the question.

Thanks,
David
 
Technology news on Phys.org
  • #2
I think you want virtual addresses rather than physical ones
 
  • #3
The issue with this is that it's done in hardware on most CPU's. The kernel only get's involved when there's an attempt to access a page that is not currently mapped in memory. I don't know if any CPU has a means to capture and/or report internal cache hits and/or page hits to some external device.

I don't know if running a virtual machine on an Intel or AMD cpu would provide this information. If so, that would be an alternative, although it would not be real time.

Perhaps something like a ARM cpu setup with sufficient pinouts to trace this information to an external device would be possible.
 
Last edited:
  • #4
The size and performance of L1, L2 and L3 cache varies from machine to machine, so there is no use in doing a study of that. But if you want to evaluate the performance of a specific machine, the traditional way is to find out exactly how the hardware caches work, and then simulate them with software. That way, you can run all kinds of programs against the simulations and see what's happening.
 
  • #5


Thank you for your inquiry, David. It is certainly possible to generate physical addresses in software on a standard Intel processor running Windows or Linux. This can be achieved through kernel hacking, as you mentioned, or by using tools such as Intel's Performance Counter Monitor or Intel VTune Amplifier. These tools allow for the monitoring and analysis of various hardware events, including memory accesses and cache activity. However, it is important to note that generating physical addresses in this manner may not accurately reflect real-world operating conditions, as the software may not have access to all system resources and may not be able to accurately simulate the behavior of the CPU and memory.

As for publicly available data on physical addresses, there are some research papers and studies that have collected and analyzed this information, but it may be limited and specific to certain systems or architectures. Additionally, obtaining this data may require permission from the owners of the systems or hardware being studied.

Overall, while it is possible to generate physical addresses in software and access some publicly available data, it may be more beneficial to design experiments and simulations that can accurately reflect real-world operating conditions for your research on caching algorithms. I hope this information is helpful to you in your senior research. Best of luck!
 

Related to Can You Capture Physical CPU-to-Memory Addresses in Real Time for Research?

What is physical address research?

Physical address research is the process of collecting and analyzing data related to the physical locations of individuals, businesses, or other entities. This can include information such as street addresses, zip codes, and geographic coordinates.

What are the benefits of physical address research?

Physical address research can provide valuable insights into consumer behavior, market trends, and geographic patterns. It can also help businesses target their marketing efforts and improve their operations.

What methods are used in physical address research?

Physical address research can be conducted through a variety of methods, including surveys, census data, geocoding, and satellite imagery. Each method has its own strengths and limitations, and researchers may use multiple methods to obtain a comprehensive understanding of physical addresses.

How is physical address research used in different industries?

Physical address research is used in a wide range of industries, including retail, real estate, transportation, and public health. It can help businesses identify new markets, optimize their supply chains, and make informed decisions about future investments.

What are the ethical considerations in physical address research?

As with any type of research, there are ethical considerations that must be taken into account when conducting physical address research. This includes obtaining informed consent from participants, ensuring the security and privacy of data, and using the information for legitimate purposes.

Similar threads

  • Programming and Computer Science
Replies
29
Views
3K
  • STEM Academic Advising
Replies
8
Views
1K
  • STEM Academic Advising
Replies
6
Views
2K
Replies
8
Views
3K
  • STEM Academic Advising
Replies
1
Views
2K
  • DIY Projects
Replies
23
Views
4K
  • STEM Academic Advising
Replies
13
Views
2K
  • STEM Academic Advising
Replies
13
Views
3K
  • General Discussion
Replies
2
Views
2K
Back
Top