Andi Kleen writes: > Paul Mackerras <paulus@xxxxxxxxx> writes: > > > > 4kB pages: 444.051s user + 34.406s system time > > 64kB pages: 419.963s user + 16.869s system time > > > > That's nearly 10% faster with 64kB pages -- on a kernel compile. > > Do you have some idea where the improvement mainly comes from? > Is it TLB misses or reduced in kernel overhead? Ok I assume both > play together but which part of the equation is more important? I think that to a first approximation, the improvement in user time (24 seconds) is due to the increased TLB reach and reduced TLB misses, and the improvement in system time (18 seconds) is due to the reduced number of page faults and reductions in other kernel overheads. As Dave Hansen points out, I can separate the two effects by having the kernel use 64k pages at the VM level but 4k pages in the hardware page table, which is easy since we have support for 64k base page size on machines that don't have hardware 64k page support. I'll do that today. Paul. -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |