by ohdeargodno · 1y ago · 0 comments
Just the sheer TLB memory usage and performance implication of doing single byte pages would send CPU performance back to the stone age.
Going down _lower_ than 4KB is purely a waste of memory and performance.
My example was 1mb, 4kb and 1 byte pages - but a real design would probably use every power of two, or every even power of two to get best use of the TLB space.
It hasn't been done before because of a chicken and egg problem. CPU designers don't build it because no OS has the ability to use it, and no OS uses it because no CPU supports it. It would be a substantial amount of work for both parties.