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?

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

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

This question is unlikely to ever 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. See the FAQ for guidance on how to improve it.

2 Answers

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback