Skip to contentSkip to conversation

TLB flush counters gone in 2.5.35-bk?

DISCUSSION Andi Kleen 2 participants 2 messages Sep 17, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 4 lines · Roberto Nibali

Why was that done? I'm actually about to conduct some tests where I think that I need this information to check the L1 <-> L2 caching size influence on kernel data structures. What is the problem with the existing counters, did I miss some discussion on LKML?

You can easily get the same information from the CPU performance counters (e.g. via oprofile)

-Andi

#2 lore raw
Quoted 2 lines

You can easily get the same information from the CPU performance counters (e.g. via oprofile)

Thanks for the pointer Andi, I should have thought of oprofile before.

You wouldn't happen to know the equivalent counter event to a tlb_flush_mmu() for a PIII by any chance, would you? :). I've checked op_help and only found the ITLB_MISS. I look at the L2_* related cpu counters but can't find a TLB flush counter.

I'm reading through Appendix A of the IA-32 Architecture Vol 3 manual (it's actually very interesting), but I haven't found it either so far. Do I have to check for the INVLPG instructions?

Best regards,
Roberto Nibali, ratz

Signature · 1 line
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc