Memory Management and Virtual Memory In this assignment, you will study memory m
ID: 3847314 • Letter: M
Question
Memory Management and Virtual Memory
In this assignment, you will study memory management, virtual memory of OSs, and distributed OSs.
Using the Internet, research memory management, virtual memory of OSs, and distributed OSs.
Based on your research, discuss the following topics:
The concept of virtual memory is based on the fact that some parts of a software application are never accessed.
Identify and explain the parts of software applications that are never accessed. State your opinion on why these parts are never accessed.
The size of the virtual memory should not be more than three times the size of the physical memory of the computer.
Do you agree with this statement? Provide reasons for your answer.
Distributed OSs use memory more efficiently than traditional OSs.
Do you agree with this statement? Present examples in support of your answer.
Compare the memory management capabilities of the Windows Server and Linux OSs.
In addition, identify the OS with better memory management capabilities than the rest.
Please don't forget to cite any sources that might be used.
Explanation / Answer
The concept of virtual memory is based on the fact that some parts of a software application are never accessed:
Its based on false premises.
The size of the virtual memory should not be more than three times the size of the physical memory of the computer:
The default design is for Windows to consequently deal with the page record estimate. At the point when that choice is determined to Windows XP and Server 2003, Windows makes a solitary paging record that is least size is 1.5 times RAM if RAM is under 1GB, and RAM if it's more prominent than 1GB, and that has a greatest size that is three times RAM. On Windows Vista and Server 2008, the base is expected to be sufficiently substantial to hold a part memory crash dump and is RAM in addition to 300MB or 1GB, whichever is bigger. The most extreme is either three times the measure of RAM or 4GB, whichever is bigger.
Distributed OSs use memory more efficiently than traditional OSs.
Current distributed OSs accommodate distributed infrastructure users what a traditional OS accommodates single PC clients. Specifically, a circulated OS reaches out straightforwardly conventional OS functionalities. For instance, the memory administration usefulness in a traditional OS is stretched out to shape the Distributed Shared Memory (DSM) usefulness in a distributed OS.
Memory management capabilities of windows server and linux OSs:
Memory management is one of the essential issues in the plan of an operating system; the way it is actualized being critical from the general execution, unwavering quality and security perspective.
Four aspects will be considered:
The virtual memory frameworks in Linux and Windows NT have various common features :
broad utilization of the paging system of the current processors to offer separate virtual memory space for each procedure to guarantee disconnection and assurance
fundamental differences between Linux and Windows NT:
Windows NT has a microkernel architecture, whereas linux has monolithic kernel, and the memory management is implemented in the microkernel.
Windows NT uses working sets (the number of pages a program requires in memory to execute) as replacement policy where as global replacement policy is used in Linux.
The Win32 API interface gives the application the likelihood to deal with the virtual memory some way or another better grained (alloc and confer) rather than the way that in Linux is unrealistic to allocate virtual memory and not append a physical support (memory or disk) for it.
In Windows NT the only elegant way two or more processes can share memory is through mapped files so a physical file has to be created for such a purpose. Linux implements IPC (Inter Process Communication) for which there is kernel support, so shared memory is a separate mechanism from mapped files.