In the next blog post, a framework for MMAP's principles

Source: Internet
Author: User

Access to files on disk, you must consolidate and move files into memory according to certain rules, and then access this file. The order in which the pages of the files to be accessed are arranged into

Radix tree. Assuming that the file is small and there is no memory writeback and access to the entire file, the logically linear organization of this file page is in memory

has been transformed into a tree-like arrangement--radix tree (which is very important). But the actual mmap always with dirty page writeback and request paging exists

Mmap principle: The part of the file to be accessed, according to the size, permissions, in the linear region to open up an identical virtual space. This means that accessing one location in this virtual space is the same as accessing the same location in the file, except that the area of the Mmap map is a blank space and requires a paging mechanism to be processed.

In the next blog post, a framework for MMAP's principles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.