Preview

Pos/355 Operating Systems Paper

Good Essays
Open Document
Open Document
573 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pos/355 Operating Systems Paper
Operating systems
Joseph N. Cleveland Jr.
University of Phoenix
Introduction to Operating Systems
POS/355
John Vassar
June 26, 2013

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
…show more content…
The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).

Protection is the next requirement to be satisfied. Protection deals with security against unwanted interference by other processes. Programs from other process should not be able to access memory locations in a process for reading or writing Purposes without permission. The processor must be able to abort such instructions at the point of execution.
Sharing allows several processes to access the same portion of main memory (Stallings, 2012). When there are a number of processes executing the same program it is beneficial to allow each process to access the same copy of the program rather than have its own separate copy (Stallings, 2012,). The memory management system must therefore

You May Also Find These Documents Helpful

  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Memory Virtualization: This allows isolation of memory on a per VM basis. This also make live migration VMs possible.…

    • 797 Words
    • 4 Pages
    Good Essays
  • Good Essays

    ECS-165A WQ’11 110 6. Storage and File Structures Goals Understand the basic concepts underlying different storage media, buffer management, files structures, and organization of records in files. Contents • • • • • Overview of Physical Storage Media Magnetic Disks, Tertiary Storage Buffer Management Storage Access File Organization Dept. of Computer Science UC Davis 6.…

    • 2025 Words
    • 14 Pages
    Good Essays
  • Good Essays

    Student

    • 1668 Words
    • 25 Pages

    EL313: Introduction to Programming Lecture 1 An Introduction to C Les Walczowski Course Overview  Lectures      Workshops   Wk 2 - 8: Weekly 2 hour lab exercises assessed at end of session Module Assessment    Wk1-3: Introduction to Programming in C (Les Walczowski)…

    • 1668 Words
    • 25 Pages
    Good Essays
  • Powerful Essays

    Windox Xp Case Study

    • 6130 Words
    • 25 Pages

    Outline (continued) 21.7 Memory Management 21.7.1 Memory Organization 21.7.2 Memory Allocation 21.7.3 Page Replacement 21.8 File Systems 21.8.1 File System Drivers 21.8.2 NTFS 21.9 Input/Output Management 21.9.1 Device Drivers 21.9.2 Input/Output Processing 21.9.3 Interrupt Handling 21.9.4 File Cache Management 21.10 Interprocess Communication 21.10.1 Pipes 21.10.2 Mailslots 21.10.3 Shared Memory…

    • 6130 Words
    • 25 Pages
    Powerful Essays
  • Satisfactory Essays

    Memory Management

    • 341 Words
    • 2 Pages

    Memory management is the process of managing computer memory. The memory management subsystem of the operating system carries out this task. Since the beginning of computing, there has always existed the need for more memory than the existing physical memory in the system. Both Windows and Linux are operating systems. These operating systems perform basic tasks, such as tracking of directories and files on the disk, sending output to the screen for display, recognizing input from the keyboard and controlling peripheral devices such as drives and printers. The following are the differences in memory management between Linux and Windows (Godbole & Kahate, 2011).…

    • 341 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Memory Allocation

    • 1333 Words
    • 6 Pages

    In this scheme Operating system is residing in low memory and user processes are executing in higher memory.…

    • 1333 Words
    • 6 Pages
    Good Essays
  • Good Essays

    3. It must keep track of the memory locations used by each process. It should also know which part of the memory is free to use.…

    • 2963 Words
    • 12 Pages
    Good Essays
  • Powerful Essays

    Windows Process Management

    • 15227 Words
    • 61 Pages

    Every process contains one or more threads, and the Windows thread is the basic executable unit. Threads are scheduled on the basis of the usual factors: availability of resources such as CPUs and physical memory, priority, fairness, and so on. Windows has supported symmetric multiprocessing (SMP) since NT4, so threads can be allocated to separate processors within a system. From the programmer’s perspective, each Windows process includes resources such as the following components: • One or more threads. • A virtual address space that is distinct from other processes’ address spaces, except where memory is explicitly shared. Note that shared memory-mapped files share physical memory, but the sharing processes will use different virtual addresses to access the mapped file. • One or more code segments, including code in DLLs. 163…

    • 15227 Words
    • 61 Pages
    Powerful Essays
  • Good Essays

    Memory Management

    • 490 Words
    • 2 Pages

    Due to the complexity of memory location, multiprogramming system need to swap constantly between the main memory and the disk in order to prevent processor utilization waste. Because of this, relocation is necessary for when the program is swapped back into the main memory. It would be rather difficult and unneeded for the program to be placed in the same address as it was located before. A stack will form that will provide references for the instruction part of the program to be executed in order. When the relocation happens, the processor and the operating system are responsible for providing the current location of the program. This is used for the program code when physical addresses are needed.…

    • 490 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Osnotes

    • 18736 Words
    • 75 Pages

    SYLLABUS CS1253 – OPERATING SYSTEMS UNIT I PROCESSES AND THREADS Introduction to operating systems – Review of computer organization – Operating system structures – System calls – System programs – System structure – Virtual machines – Processes – Process concept – Process scheduling – Operations on processes – Cooperating processes – Inter process communication – Communication in client – Server systems – Case study – IPC in linux – Threads – Multi-threading models – Threading issues – Case study – Pthreads library. UNIT II PROCESS SCHEDULING AND SYNCHRONIZATION CPU scheduling – Scheduling criteria – Scheduling algorithms – Multiple – Processor scheduling – Real time scheduling – Algorithm evaluation – Case study – Process scheduling in Linux – Process synchronization – The criticalsection problem – Synchronization hardware – Semaphores – Classic problems of synchronization – Critical regions – Monitors – Deadlock – System model – Deadlock characterization – Methods for handling deadlocks – Deadlock prevention – Deadlock avoidance – Deadlock detection – Recovery from deadlock. UNIT III STORAGE MANAGEMENT Memory management – Background – Swapping – Contiguous memory allocation – Paging – Segmentation – Segmentation with paging – Virtual memory – Background – Demand paging – Process creation – Page replacement – Allocation of frames – Thrashing – Case study – Memory management in linux . UNIT IV FILE SYSTEMS File system interface – File concept – Access methods – Directory structure – Filesystem mounting – Protection – File system implementation – Directory implementation – Allocation methods – Free space management – Efficiency and performance – Recovery – Log-structured file systems – Case studies – File system in linux – File system in Windows XP. UNIT V I/O SYSTEMS I/O systems – I/O hardware – Application I/O…

    • 18736 Words
    • 75 Pages
    Powerful Essays
  • Satisfactory Essays

    ITCS 343 Opera-ng System Principles Memory Management Strategies Virtualizing Resources • Physical Reality: Different Processes/Threads share the same hardware – Need to mul-plex CPU (Just finished: scheduling) – Need to mul-plex use of Memory (Today) – Need to mul-plex disk and devices (later in term) – The complete working state of a process and/or kernel is defined by its data in memory (and registers) – Consequently, cannot just let different threads of control use the same memory – Probably don’t want different threads to even have access to each other’s memory (protec-on) •…

    • 961 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    HSSN

    • 290 Words
    • 2 Pages

    Storage can group to primary storage and secondary storage. Primary storage also call Random Access Memory ( RAM ) are crucial to computer system and are most important partner to CPU. Primary storage also called volatile memory requires power to maintain the data stored. Modern computer RAM are Static RAM ( SRAM ) and Dynamic RAM ( DRAM ). A memory chip build by integrated circuit ( IC ) consists of millions capacitors and transistors to form memory cells that can store data of 1’s or 0’s bit. Famous mathematicians John von Neumann proposing a Stored Program Concept which greatly affect modern computer architecture. Von Neumann Architecture will store both data and instructions of programs to memory.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Virtual Memory

    • 732 Words
    • 3 Pages

    In a system using virtual memory, the physical memory is divided into equally-sized pages. The memory addressed by a process is also divided into logical pages of the same size. When a process references a memory address, the memory manager fetches from disk the page that includes the referenced address, and places it in a vacant physical page in the RAM. Subsequent references within that logical page are routed to the physical page. When the process references an address from another logical page, it too is fetched into a vacant physical page and becomes the target of subsequent similar references.…

    • 732 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Operating Systems

    • 3076 Words
    • 13 Pages

    • • • • • • • • Operating System Objectives/Functions The Evolution of Operating Systems Major Achievements Structuring methods Design of API’s Interrupts Device Organization User/System state Transition…

    • 3076 Words
    • 13 Pages
    Powerful Essays