Skip to content

Ask an Academic

  • Home
  • Ask a Question
  • Contact Us
Picture of a data centre

Virtual memory and paging – Disadvantages

September 20, 2019 by AskanAcademic.com

Virtual memory is a technique that is used to manage memory usage in the event that a computing process requires more memory than is physically...

Question

Explain virtual memory mapping using paging. What are its disadvantages?

Answer

Virtual memory is a technique that is used to manage memory usage in the event that a computing process requires more memory than is physically available in the main memory of the system (the RAM). Virtual memory addresses are created to map onto either physical addresses within the main memory or, where this is not available, to a cache on the disk. These are done in the form of data structures called ‘page tables’. If the page table indicates that the entry is not stored in the main memory then a page fault exception is raised, which causes the operating system to take over and swap the relevant part of the cache into a free page frame on the main memory. This allows the system to continue functioning in lieu of sufficient RAM to handle all of its processes.

The obvious disadvantage to using virtual memory, and therefore to using disk caches as a supplement to main memory, is performance. The time it takes to read from a magnetic disk is significantly greater than the time it takes to access RAM, and therefore swapping should be avoided wherever performance is important. Solid state drives can improve speed of access a great deal, but unfortunately this type of memory is subject to wear after a certain number of writes. Constant paging to one of these drives is therefore likely to reduce its lifespan much more than normal usage would. An excessive rate of page faults puts the system into a state of ‘thrashing’ – constant swapping of data between memory and disk – which has a serious effect on application performance.

References

Post navigation

Previous Post:

The Lady of Ephesus – depictions of Artemis

Next Post:

Monstrosity in Shakespeare’s ‘Othello’

Search Q&As

Categories

  • Art Media and Literature (74)
  • Business and Management (256)
  • Computing and ICT (14)
  • Construction and Engineering (35)
  • Education (90)
  • Environmental Sciences (2)
  • Finance and Economics (91)
  • Health (64)
  • Languages (12)
  • Law (88)
  • Mathematics and Statistics (2)
  • Medical Sciences (19)
  • Politics and International Relations (83)
  • Research Methodology (1)
  • Science (49)
  • Social Sciences (101)

Archives

Who We Are

Askanacademic.com is owned and operated by All Answers Ltd, a company registered in England and Wales. Company Registration No: 4964706. VAT Registration No: 842417633. Data Controller No: Z1821391.

Registered office:
Venture House
Cross Street
Arnold
Nottingham
NG5 7PJ

Main Navigation

  • Home
  • Ask a Question
  • Contact Us

Legals

  • Cookie Policy
  • Privacy Policy

Popular Categories

  • Business and Management
  • Law
  • Finance and Economics
  • Health
An an Academic Logo
© 2023 Ask an Academic | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Reject
Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT