Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a tool that will measure the size of my TLB for me? Or some sort of scripting approach I can take to estimate it?

share|improve this question

closed as too localized by Chris S Feb 26 '12 at 20:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Why not just look it up? It's in CPUID too. – Chris S Sep 29 '10 at 22:14

Chris s. has it right, you can probably just check the docs for the processor in question, especially if its an x86 processor. If for some reason you can't do this you can probably calculate it, I believe that lmbench can do this.

share|improve this answer

As the question was about measuring the size of the TLB, not querying it, the tlb test of lmbench may be interesting. lmbench performs a set of micro benchmarks including a test that measures the TLB.

share|improve this answer