Linus Torvalds writes:You have misunderstood the 21% number. That number has *nothing* to do with hardware TLB miss handling, and everything to do with how long the generic Linux virtual memory code spends doing its thing (page faults, setting up and tearing down Linux page tables, etc.). It doesn't even have anything to do with the hash table (hardware page table), because both cases are using 4k hardware pages. Thus in both cases the TLB misses and hash-table misses would have been the same. The *only* difference between the cases is the page size that the generic Linux virtual memory code is using. With the 64k page size our architecture-independent kernel code runs 21% faster. Thus the 21% is not about the TLB or any hardware thing at all, it's about the larger per-byte overhead of our kernel code when using the smaller page size. The thing you were ranting about -- hardware TLB handling overhead -- comes in at 5%, comparing 4k hardware pages to 64k hardware pages (444 seconds vs. 420 seconds user time for the kernel compile). And yes, it's a POWER6. Paul. --
| James Bottomley | Breakage caused by unreviewed patch in x86 tree |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Srivatsa Vaddagiri | containers (was Re: -mm merge plans for 2.6.23) |
| David Miller | Slow DOWN, please!!! |
git: | |
| H. Peter Anvin | First cut at git port to Cygwin |
| Matthieu Moy | [FAQ?] Rationale for git's way to manage the index |
| Eric Hanchrow | Re: how to backup git |
| Aaron Bentley | Re: VCS comparison table |
| Steve Davis | Re: Linux on Macintrashes? (Was: Re: Linux on |
| Vincent Poy | Linux |
| Michael K. Johnson | patches |
| Voravit Euavatanakorn | Linux |
| Richard Stallman | Real men don't attack straw men |
| Richard Stallman | Re: Real men don't attack straw men |
| Juan Miscaro | When will OpenBSD support UTF8? |
| Rico Secada | About non-free software in OpenBSD |
