Not yet registered? Create a OverBlog!

Create my blog

All about virtual memory

In computing, virtual memory is a memory management technique developed for multitasking kernels. This technique virtualises a computer architecture's various forms of computer data storage, such as Random Access Memory and disk storage, thus allowing a program to be designed as though there is only one kind of memory, "virtual" memory, which behaves like directly addressable read/write memory. (RAM) . Read this article to learn more about virtual memory.

History

Virtual memory was introduced to the x86 architecture with the protected mode of the Intel 80286 processor, but its segment swapping technique scaled poorly to larger segment sizes. The Intel 80386 introduced paging support underneath the existing segmentation layer, enabling the page fault exception to chain with other exceptions without double fault. However, loading segment descriptors was an expensive operation, causing operating system designers to rely strictly on paging rather than a combination of paging and segmentation.

Page tables

Page tables are used to translate the virtual addresses seen by the application into physical addresses used by the hardware to process instructions. Such hardware that handles this specific translation is often known as the memory management unit. Each entry in the page table holds a flag, indicating whether the corresponding page is in real memory or not. If it is in real memory, the page table entry will contain the real memory address at which the page is stored. When a reference is made to a page by the hardware, if the page table entry for the page indicates that it is not currently in real memory, the hardware raises a page fault exception, invoking the paging supervisor component of the operating system.

Paging supervisor

This part of the Operating System creates and manages page tables. If the hardware raises a page fault exception, the paging supervisor accesses secondary storage, returns the page that has the virtual address that resulted in the page fault, updates the page tables to reflect the physical location of the virtual address and tells the translation mechanism to restart the request. When all physical memory is already in use, the paging supervisor must free a page in primary storage to hold the swapped-in page. The supervisor uses one of a variety of page replacement algorithms, such as least recently used to determine which page to free

Same category articles Digital & online

VoIPnews.com: Review and rate

Voipnews.com: review and rate

Voipnews.com is a news website and forum that specialises in the latest in voice over internet protocol information. its site has a smart bulletin theme that has space for a forum, a front news page, and links to search for a voip provider for you. the main part of the site is a large press release section from different voip companies. this article will review the voip information site and rate it.
How to set up a vpn?

How to set up a vpn?

Vpn or virtual private network, is a term well understood by the networking people in their daily work schedules. gone are the days when the scope for carrying forward business activities through computers was bleak. with the growing computer technology and booming internet world, advancements have also come up in the field of computer networking with the onset of vpn.
Where to find an online Filipino to English dictionary

Where to find an online filipino to english dictionary

If you are in an english class in the philippines or if you are taking a filipino class from an english-speaking country, chances are that it has been recommended to you to get a dictionary. fortunately, if you are strapped on cash, there are many free online editions. this article will discuss the two main types of dictionaries online.
How to make your own website for free

How to make your own website for free

If you want to have a website, but don't want to pay for it you can instead make your own website, for free, using a variety of online services or even creating it from scratch using html and css, and uploading it to your hosting. there are some hosting companies that will even allow you to host it for free, though you'll probably need to pay for an ad free service or to get your own domain.