VIRTUAL MEMORY

VIRTUAL MEMORY

What is virtual memory?

Virtual memory is a method that computers use to manage storage space to keep systems running quickly and efficiently. Using the technique,?Virtual memory is a method that computers use to manage storage space to keep systems running quickly and efficiently. Using the technique, operating systems can transfer data between different types of storage, such as random access memory (RAM), also known as main memory, and hard drive or solid-state disk storage. At any particular time, the computer only needs enough active memory to support active processes. The system can move those that are dormant into virtual memory until needed.

Virtual memory is a built-in component of most modern desktop computers. It's part of a computer's CPU and is a more cost-effective method for managing memory than expanding its physical memory storage system. Some specialized computers might not rely on virtual memory because it could cause inconsistencies in how the computer processes information and runs tasks.

How does virtual memory work?

Virtual memory uses both the computer's software and hardware to work. It transfers processes between the computer's RAM and hard disk by copying any files from the computer's RAM that aren't currently in use and moving them to the hard disk. By moving unused files to the hard disk, a computer frees up space in its RAM to perform current tasks, such as opening a new application. If the computer later needs to use its RAM for a more urgent task, it can again swap files to make the most of the available RAM.

Types of virtual memory:

The two ways computers handle virtual memory are through paging and segmenting. Here are some of the differences between these types of virtual memory:

Paging:

Paging is a virtual memory technique that separates memory into sections called paging files. When a computer reaches its RAM limits, it transfers any currently unused pages into the part of its hard drive used for virtual memory. The computer performs this process using a swap file, a designated space within its hard drive for extending the virtual memory of the computer's RAM. By moving unused files into its hard drive, the computer frees its RAM space for other memory tasks and ensures that it doesn't run out of real memory.

Segmenting:

Segmentation is another method of managing virtual memory. A segmentation system divides virtual memory into varying lengths and moves any segments that aren't in use from the computer's virtual memory space to its hard drive. Like page tables, segment tables track whether the computer stores the segment in memory or a physical address. Segmentation differs from paging because it divides memory into sections of varying lengths, while paging divides memory into units of equal size. With paging, the hardware determines the size of a section, but the user can select the length of a segment in a segmentation system.

Limitations of virtual memory:

Virtual memory has many advantages, but it also has some limitations. Here are a few to keep in?mind:

  • Virtual memory runs slower than physical memory, so most computers prioritize using physical memory when possible.
  • The amount of storage that virtual memory can provide depends on the amount of secondary storage a computer has.
  • If a computer only has a small amount of RAM, virtual memory can cause thrashing, which is when the computer must constantly swap data between virtual and physical memory, resulting in significant performance delays.
  • It can take longer for applications to load or for a computer to switch between applications when using virtual memory.Virtual versus physical memory:The most significant differences between virtual and physical memory are speed and cost. Computers that rely on physical memory tend to be faster than computers using virtual memory. Increasing a computer's physical memory capacity is more expensive than implementing a virtual memory system. For these reasons, most computers use their physical memory system—their RAM—to maintain their processing speed before using their virtual memory system. The computer only uses its virtual memory when it runs out of RAM for storage.Users also have the option to expand their RAM, which can be expensive. Installing more RAM can resolve computer delays that frequent memory swaps may cause. The amount of RAM a computer has depends on how much the user or manufacturer installs. Comparatively, the size of the computer's hard drive determines its virtual memory capacity. When choosing a computer, you may prefer one with more RAM if you often run many applications at once. If you typically work with only one or two computer applications most of the time, you may not need as much RAM.#designthinking#snsinstituions#snsdesignthinkers

要查看或添加评论,请登录

Kavipritha Rameshkumar的更多文章

  • How Technology is Reshaping the World ?

    How Technology is Reshaping the World ?

    Introduction: The Technological Revolution The 21st century is marked by unprecedented technological growth…

  • Big Data Analysis

    Big Data Analysis

    Introduction: In today’s digital age, the exponential growth of data presents both challenges and opportunities for…

  • Green Computing: Paving the Way for a Sustainable Future

    Green Computing: Paving the Way for a Sustainable Future

    Introduction: Green computing? What is that? Our lives are packed with fast technologies, buying new tech trendy things…

  • Mastering Life Skills: A Roadmap to Personal Success

    Mastering Life Skills: A Roadmap to Personal Success

    INTRODUCTION Life skills are the essential abilities and competencies that empower individuals to navigate the…

  • Battle of Titans: Android vs. iOS

    Battle of Titans: Android vs. iOS

    INTRODUCTION In the tech realm, few battles are as fervently contested as the clash between Android and iOS. As the two…

  • Emerging Trends in Operating Systems

    Emerging Trends in Operating Systems

    Introduction: Operating systems (OS) have been the backbone of computing since the advent of modern computers. As…

  • Memory Management

    Memory Management

    Introduction: Memory management lies at the core of every operating system, orchestrating the intricate dance between…

  • UNLEASHING THE POWER OF DATA VISUALISATION WITH TABLEAU

    UNLEASHING THE POWER OF DATA VISUALISATION WITH TABLEAU

    In today's data-driven world, making sense of vast amounts of information is crucial for decision-making across various…

  • The Powerhouse Behind Modern Computing

    The Powerhouse Behind Modern Computing

    INTRODUCTION: In the heart of every modern computing device lies a tiny, yet mighty component that drives its…

  • The Evolution and Importance of User Interfaces

    The Evolution and Importance of User Interfaces

    INTRODUCTION: In the digital age, user interfaces (UIs) have become the cornerstone of our interactions with…

社区洞察

其他会员也浏览了