Preview

Memory Management in Operating Systems

Good Essays
Open Document
Open Document
603 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory Management in Operating Systems
Memory management in multiple operating systems An operating system is responsible for assigning memory to processes so that processes can be executed. Broadly, this responsibility is defined as memory management, and operating systems handle memory management differently. Any operating system must do two things in order to handle memory effectively. First, an operating system must be able to allocate and free physical memory. Second, an operating system must have techniques in place to keep track of the location of programs in physical memory. Examples of the ways different operating systems handle memory management can be seen by evaluating the Linux and the Windows 7 operating systems. In order to keep track of the locations of programs in physical memory, the Linux operating system employs virtual memory techniques. “The Linux virtual memory system is responsible for maintaining the address space visible to each process. It creates pages of virtual memory on demand and manages loading those pages from disk and swapping them back out to disk as required.” (Silberschatz, 2009, p. 823) It is evident that Linux uses a paging strategy with its virtual memory technique. When the Linux operating system attempts to execute a program, the operating system will not directly access the program from physical memory. Instead, it will access a table of virtual memory addresses that keeps track of physical memory locations. This virtual memory address will then reference the physical memory location of a program so that it can be placed for execution in the CPU. The allocation of physical memory varies depending on the architecture of a computer, but with the Linux operating system, “the primary physical-memory manager in the Linux kernel is the page allocator.” (Silberschatz, 2009, p. 820) The page allocator carries the responsibility of dynamically freeing and allocating all physical memory. The page allocator is a primary tool of all memory

You May Also Find These Documents Helpful

  • Good Essays

    The operating system occupies low memory, starting with memory address 0. Directly afterwards is system control information, then the various resident operating system…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Why is virtual memory addresses used for applications? – So it can have its own address space on the memory.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    RAM is the random access memory and it is volatile. It holds program instructions and data. The CPU can find…

    • 204 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Exam 11A

    • 1635 Words
    • 16 Pages

    Page files are used when the CPU runs out of physical memory. The disadvantage of this is that ________…

    • 1635 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 1 Assignment

    • 4639 Words
    • 19 Pages

    An operating system (OS) is an interface between hardware and user which is responsible for the management and coordination of activities and the sharing of the resources of the computer that acts as a host for computing applications run on the machine. As a host, one of the purposes of an operating system is to handle the details of the operation of the hardware. This relieves application programs from having to manage these details and makes it easier to write applications. Almost all computers (including handheld computers,desktop computers, supercomputers, video game consoles) as well as some robots, domestic appliances (dishwashers, washing machines), and portable…

    • 4639 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    While in the hardware, memory management includes elements that store data such as random access memory chips, and memory caches. In the operating system, memory management involves the distribution of precise memory blocks to programs as the user requests adjustments. While at the application and program level, memory management ensures the availability of sufficient memory for the objects and data structures at all times for each program that is running.…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Random-access-memory (RAM) is a very important specification of the computer. By ensuring you have enough RAM, the faster your system processes, you can store more data, and allow more programs to run at the same time. As the OS allows the different task to complete for the processor, the RAM is used as temp storage, when the processor no longer needs them the OS clears it. Virtual memory is the hard drive space borrowed to use if there isn’t enough…

    • 580 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Memory management is an important characteristic of an operating system. Main memory is divided into two parts one for resident programs, and the other for the program currently in use. The user part must be subdivided to accommodate multiple processes (Stallings, 2012). When a few processes are in the memory then much of the time all of the processes will have to wait for input /output and the processor will be idle. According to Stallings (2012),. The requirements that memory management is supposed to satisfy are Relocation, Protection, Sharing, Logical organization, and Physical…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    11. An OS’s capability to run more than one application or process at the same time is referred to which of the…

    • 2490 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    1. Where does Linux temporarily stores programs and data when it does not have enough RAM to hold all the information it is processing?…

    • 1070 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    The Great Depression of the 1930’s was devasting. It deprived many people jobs, land and their livelihoods. It began in the United States and quickly spread to other parts of the world. Many people lost everything and were living on the edge with nothing but scrapes of food from dumpsters and occasional soup kitchens to keep them alive. People blamed themselves for their loss of jobs, so it became an epidemic.…

    • 587 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    It250 Exam Review

    • 856 Words
    • 4 Pages

    5. (Page 34)Where are programs and data temporarily stored when there is not enough RAM to hold all the information it is processing? Swap file…

    • 856 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Team work in schools is important as it’s a development not only for you but also for others. It helps to build a positive relationship with those that are within your team, as well as showing that there is support for one another within the structure. Whatever the size the school you work in, you will be part of a group of people who each have a different role to fulfil while working to support individuals or groups of pupils. Whilst each member of the team know and understand their own role, they should also know and understand the roles of other team members, and how they all fit together in a school environment. Where there is team work, responsibilities and tasks are shared between the team, therefor, the tasks will be completed more effectively and also in a good time scale. Each team member has their own skills and expertise, communicating with them not only increases your own knowledge and skills, but also allows you to understand your own role within the team. Communication is a very important tool in team work; you can ask for advice or even give advice about certain subjects or topics, as well as sharing ideas on them too.…

    • 1053 Words
    • 5 Pages
    Good Essays
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    that every process gets the memory it needs, and that no application can access memory in…

    • 1256 Words
    • 5 Pages
    Better Essays
  • Good Essays

    For any operating system to function properly, one of the vital tasks it must be able to do is manage memory. When a program runs on a computer, it first must be loaded into memory before it can execute. There are five different requirements memory management must satisfy in order to execute the program so it runs without errors or corruption. These requirements are relocation, protection, sharing, logical organization, and physical organization.…

    • 730 Words
    • 3 Pages
    Good Essays

Related Topics