Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
    
Why not just look it up? It's in CPUID too. –  Chris S Sep 29 '10 at 22:14
add comment

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.

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.

share|improve this answer
add comment

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
add comment