What is the essence of using multi-level virtual memory page tables? The goal is to reduce the cost of physical memory to store information about pages, because, for example, about 4 GB of physical memory with a page size of 4 KB will require about 1 million entries in PTE. I read somewhere that to solve this problem as well, the page tables are not stored in real, but in virtual memory themselves become objects of the paging organization. Are these two ideas connected together?
It is not clear how we can make some sort of saving from breaking records about pages by directories ... If I scatter files on a pile of subfolders, the resulting size will only increase, because You will also have to store information about directories. It would be another matter if some directories were uploaded to a disk and information about this directory indicated that it was unloaded onto a disk. But this is not how it happens.