In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The main content of this article is to explain "what is a missing page error Page Fault", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is a missing page error Page Fault"!
Terminology agreement
VA:Virtual Address virtual address
PA:Physical Address physical address
MMU:Memory Manage Unit memory Management Unit
TLB:Translation Lookaside Buffer bypass fast table cache / address translation cache
PTE:Page Table Entry paging table entry
Lazy allocation of memory
Take the 32-bit Linux system as an example, each process has its own virtual address space of 4GB. According to the principle of locality, it is not necessary and impossible to allocate the physical address space of 4GB to each process.
The same is true for 64-bit systems, except that the range of spatial addressing is many times larger, and the virtual address space of the process is divided into several parts:
In fact, only when the program is used to look for the page frame corresponding to the virtual address in memory, it is possible to allocate it if it cannot be found, which is the lazy (delayed) allocation mechanism of memory.
For a running process, not all virtual addresses have corresponding pages in physical memory. The figure shows that some virtual addresses have corresponding physical pages:
The virtual address space is generally divided according to the fixed size of 4KB, and the physical memory can be set to different page sizes. Usually, the physical page size is the same as the virtual page size. This paper expands according to the physical page 4KB size.
After the previous analysis, we will be faced with a problem: how to accurately and quickly map virtual addresses to physical pages?
>
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.