TapioT / perf_msr_test

Test which performance-related msr's are implemented

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction
=============

The purpose of this code is to test which performance-related msr's are available. This is relevant especially for virtualized guest which follow different rules from native code. 

The best introduction to this is in Intel Software Developer's Manuals, available as pdf for free from [2]. Section 18.15 covers the different clocks and 17.14 focuses on the Time-Stamp Counter.






Terms
-----

msr: machine specific register. A term used with Intel processors to refer to special-purpose registers.

tsc: Time Stamp Counter. A counter that in (newer processors) is monotonously increasing at a constant rate.

 

Disclaimers
-----------

This code is written in Rust so (a) it would have good performance and (b) I would learn the language.


References
----------

[1] http://www.brendangregg.com/blog/2015-03-03/performance-tuning-linux-instances-on-ec2.html
[2] http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html 

About

Test which performance-related msr's are implemented


Languages

Language:Rust 100.0%