memory - Virtual address space size vs physical address space size -


In this picture, the virtual address space is larger than the physical address space. Is it possible for other ways? How will this work because everything in the physical address space for the virtual address space will be enough space for reference if it is small?

How will this work because there is enough space in the address space to reference everything in the physical address space, if it is small?

This will not be enough space, which will not be a problem at all. Why do each virtual address space need to cover all physical memory? And in fact, it is practically never done on most computers, part of the motivation of virtual memory is to separate the memory of each process so that they can not move on each other's toes.

Even in your photo, the virtual address space does not reference everything in the physical address space. Red pages are not related to the process, which means that they are not in the virtual address space.

32 bits of computers using more than 4 gb of physical memory are an example. Each virtual address space has a maximum of 4 GiB, even if 8 GB or more physical RAM is in use.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -