-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
32 lines (15 loc) · 992 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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