I can't understand one thing:
I'm reading that: http://www.jamesmolloy.co.uk/tutorial_h ... aging.html
And I give you the citate from this website:
And now I understand why 4GB physical memory require 4MB for page table.4MB may seem like a large overhead, and to be fair, it is. If you have 4GB of physical RAM, it's not much. However, if you are working on a machine that has 16MB of RAM, you've just lost a quarter of your available memory! What we want is something progressive, that will take up an amount of space proportionate to the amount of RAM you have.
But, in the citate is written if we have 16 MB physically memory we also need 4MB for page table. Why?
After all, we need to map less memory than 4GB RAM.
I calculate this that:
We have 32-bit entries. Every page is 4KB. So there are 16 * 1024 / 4 = 4096 pages, so the same is number of entries. Every entries is 32bit, so:
4096*32 / 8 / 1024 = 16 KB.
Please help me