Could some one direct me to a command to measure TLB misses on LINUX, please? Is it okay to consider minor page faults as TLB misses?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
perfto do this. Provided your CPU supports it.Use
perf listto get some idea of the counters available. When I took this list and grepped for TLB (on my Sandy Bridge machine) I got:You can then use this particular counter with:
perf record -e <event0>,<event1>,..And then just use
perf reportto look at the results.