Week 3 - Memory management

Outline the objectives and functions of memory management in operating systems.

As we learned in the first chapter, memory is a key component of any operating system and can range “in size from hundreds of thousands to billions” of bytes. (Silberschatz, A., Galvin, P. B., & Gagne, G. 2014). Whether it is static or dynamic, memory plays a valuable role. Chapter 7 mentions there is various way in which memory is managed. Depending on the design, the management of memory will change for each component type. Those components are items such as hardware, symbolic and physical memory addresses bindings, as well as between logical and physical addresses. Within those concepts, there must be some form of management, so memory sharing is available between processes. Many of the requirements for proper memory management are also dependent on concepts such as the address which is assigned, the limitations in size, contiguous memory allocation which is essentially blocks of memory that are allocated to a process, as well as memory paging which breaks down memory into smaller pieces and allows the efficiency of memory and swapping which allows the movement of data between memory and storage which helps by freeing up memory to be used by another process.

Overall, there are many key elements in which allow the efficiency of proper memory management which is a crucial component within an operating system. Having proper memory management will only ensure any processes and programs can run properly by having access to needed memory resources while reducing any issues and interruptions.

 

Compare and contrast the physical address space with the virtual address space as they relate to different memory mapping techniques in operating systems. *paging*

 Both physical and virtual (also known as logical) memory are managed by the Memory Management Unit, the MMU. Depending on the process that is taking place, the MMU will have a different job for each component.

Physical address space is typically just as the name states and is a physical memory location within the memory of a computer system but not anything that is seen by the end-user and is technically connected to the logical address since it is not accessible by the user. The physical address space is normally represented in binary form to have the ability to access specific storage in the main memory.

Virtual, or logical address space is an address that the CPU generates and unlike a physical address space, can be viewed and manipulated by the user. It also provides a reliable means which in some cases is more secure. This address space is used to access physical memory locations and is mapped by the MMU to its respective physical address.

In summary, physical address space can have a limitation due to the amount of physical memory available in a computer while virtual address space has the option to be larger in comparison. Many mapping techniques are crucial and make a connection between the virtual and physical address spaces, creating a more efficient and effective system.




- Click the link below to view the concept map for week 3 - 



Comments

Popular posts from this blog

Final Project Summary

Week 1 - Major functions of an Operating System

Week 4 - Files, mass storage, and I/O