0% found this document useful (0 votes)
4 views11 pages

CS 2301 - Learning Guide Unit 4

Learning Guide Unit 4 focuses on multiprocessor scheduling and abstraction in operating systems. It outlines learning objectives, tasks including reading and discussion assignments, and written assignments related to CPU virtualization and memory management. The unit aims to enhance understanding of how operating systems manage multiple processors and optimize resource utilization.

Uploaded by

Khoa Le
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views11 pages

CS 2301 - Learning Guide Unit 4

Learning Guide Unit 4 focuses on multiprocessor scheduling and abstraction in operating systems. It outlines learning objectives, tasks including reading and discussion assignments, and written assignments related to CPU virtualization and memory management. The unit aims to enhance understanding of how operating systems manage multiple processors and optimize resource utilization.

Uploaded by

Khoa Le
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Learning Guide Unit 4

Site: University of the People Printed by: Khoa Le


Course: CS 2301-01 Operating Systems 1 - AY2024-T3 Date: Friday, 23 February 2024, 5:10 PM
Book: Learning Guide Unit 4

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 1/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Description

Learning Guide Unit 4

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 2/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Table of contents

Overview
Introduction
Reading Assignment
Discussion Assignment
Written Assignment
Learning Journal
Self-Quiz
Checklist

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 3/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Overview

UNIT 4: Multiprocessor Scheduling and Abstraction

Topics
Multiprocessor Scheduling
Multiprocessor Architecture
Synchronization
Cache Affinity
Scheduler
CPU Virtualization
Abstraction
Early Systems
Multiprogramming and Time Sharing
Address Spaces

Learning Objectives
By the end of this Unit, you will be able to:

1. Identify the overall mechanism in charge of scheduling between processors.


2. Describe how the OS manages multiple processors and multiple caches using the CPU virtualization process to run
multiprocessors on a system.
3. Compare and contrast virtualizing memory and garbage collection methods in Java.

Tasks
Peer assess Unit 3 Written Assignment
Read through the Learning Guide and the Reading Assignment
Complete the Discussion Assignment by posting in the Discussion Forum
Respond to three of your fellow classmates’ posts in the Discussion Forum
Complete and submit the Written Assignment
Complete an entry in the Learning Journal
Take and submit the Self-Quiz

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 4/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Introduction

This unit will introduce you to concepts such as multiprocessor scheduling, which explains how multiple processes can be scheduled to
share resources. You will also learn how physical memory can be virtualized to optimize its utility as a shared resource. This technology
aids in the ability to utilize the CPU more efficiently to save memory resources. It also will decrease the time needed for the CPU to
process each request and give you a faster computer.

Watch the following video to get a basic idea of what multiprocessing means:

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 5/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Reading Assignment

1. Arpaci-Dusseau, R. H., & Arpaci-Dusseau, A. C. (2018). Operating systems: three easy pieces (1.01 ed.). Arpaci-Dusseau Books.
Retrieved June 16, 2022, from https://pages.cs.wisc.edu/~remzi/OSTEP/

Read Virtualization: Chapter 10 – Multi-CPU Scheduling, Chapter 11 – Summary, Chapter 12 – Dialogue, and Chapter 13 –
Address Spaces.

2. Multiple processors scheduling in operating system. (n.d.). javaTpoint. https://www.javatpoint.com/multiple-processors-scheduling-in-


operating-system

Read the section on multiprocessing and processor affinity from this resource.

3. Operating system - multi-threading. (n.d.). tutorialspoint.


https://www.tutorialspoint.com/operating_system/os_multi_threading.htm

Read the section on Multi-threading from this resource.

4. Operating system - Process scheduling. (n.d.). tutorialspoint.


https://www.tutorialspoint.com/operating_system/os_process_scheduling.htm

Read the section on Process Scheduling from this resource.

5. Williams, L. (2022a, July 9). CPU scheduling algorithms in operating systems. Guru99. Retrieved August 12, 2022,
from https://www.guru99.com/cpu-scheduling-algorithms.html

Read more on scheduling algorithms from this resource.

6. Williams, L. (2022b, July 9). Multithreading vs multiprocessing: What’s the difference? Guru99. Retrieved August 12, 2022,
from https://www.guru99.com/difference-between-multiprocessing-and-multithreading.html#2

Read this resource to know the difference between multithreading and multiprocessing.

Video Resource

1. making IT simple. (2020, July 4). Multiprocessing operating system | Easy explanation | Using animation [Video]. YouTube.
https://www.youtube.com/watch?v=IZfWjg3U3mA

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 6/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Discussion Assignment

With the operating system holding the algorithms to develop scheduling between two or more processors that crunch numbers given to
them, which - in your opinion - is actually in charge of the overall machine: the CPU or the operating system?

In your responses to your peers, compare and contrast your answer to those of your peers.

Your Discussion should be a minimum of 200 words in length and not more than 500 words. Please include a word count.

Use APA citations and references for the textbook and any other sources used; you should use at least 1 APA citation and reference, but
you can use more if needed. Refer to the UoPeople APA Tutorials in the LRC for help with APA citations. You are required to post an
initial response to the question/issue presented in the Forum and then respond to at least 3 of your classmates’ initial posts. You
should also respond to anyone who has responded to you. Don’t forget to rate the postings of your classmates according to the Rating
Guidelines. Review the Discussion Forum rating guidelines to see how your classmates will be rating your post.

After posting an appropriate, meaningful, and helpful response to your three classmates, you must rate their posts on a scale of 0
(unsatisfactory) to 10 (excellent).

10 (A) - Excellent, substantial, relevant, insightful, enriching, and stimulating contribution to the discussion. Also, uses external
resources to support position where required and/or applicable.
8 - 9 (B) - Good, quite substantial and insightful, but missing minor details which would have otherwise characterized it as an excellent
response.
6 - 7 (C) - Satisfactory insight and relevance, but required some more information and effort to have warranted a better rating.
4 - 5 (D) - Limited insight and relevance of the material; more effort and reflection needed to have warranted a satisfactory grading.
0 - 3 (F) - Unsatisfactory insight/relevance or failure to answer the question, reflecting a poor or limited understanding of the subject
matter and/or the guidelines of the question.

The rating scores are anonymous; therefore, do NOT mention in your remarks the separate rating score you will give the peer. The
instructor is the only person who knows which score matches the comment given to a peer. Some classmates may worry that some
peers will not provide a fair rating, or be unable to provide accurate corrections for grammar or other errors. It is the instructor’s
responsibility to ensure fairness and accuracy.

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 7/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Written Assignment

Imagine you are working for ABC Computers Pvt. Ltd. as a research associate in the R&D department. The R&D team is involved in
developing new innovative products for the company. As a part of the research for a new product, you are trying to:

run multiprocessors on the system you are designing


analyze, in terms of the operating system, how the OS manages multiple processors and multiple caches using a virtualization
process of the CPU

Explain these in layman’s terms so that your company’s procuring manager, a person with no technical background, can understand
and better help you with your resource requirements.

Note: You need to be creative and realistic in assuming the features of the new product. Make sure that you mention your
assumptions wherever required.

Submit the assignment in MS Word or PDF file.

You will be assessed on:

Your explanation on how to run multiprocessors on an assumed realistic system configuration.


Your explanation of how the OS manages multiple processors and multiple caches using the virtualization process of the CPU.
Organization and style of the essay (including APA formatting).

Submit a paper that is at least 2 pages in length exclusive of the reference page, double-spaced using 12-point Times New
Roman font. The paper must cite a minimum of two sources in APA format and be well-written. Check all content for grammar,
spelling and be sure that you have properly cited all resources (in APA format) used. Refer to the UoPeople APA Tutorials in the
LRC for help with APA citations.

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 8/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Learning Journal

Reflecting on the following resources, compare and contrast the uses of virtualizing memory and garbage collection methods used in
Java programming language:

A refresher on how virtual memory works in operating systems:


https://www.techtarget.com/searchstorage/definition/virtual-memory#
Read this resource on how garbage collection works: https://www.javatpoint.com/how-garbage-collection-works-in-java#

References

Gillis, A. S. (2021, July 12). What is virtual memory? TechTarget. https://www.techtarget.com/searchstorage/definition/virtual-memory#

How garbage collection works in java - Javatpoint. (n.d.). javaTpoint. https://www.javatpoint.com/how-garbage-collection-works-in-java#

The Learning Journal entry should be a minimum of 500 words and not more than 750 words. Use APA citations and references if you
use ideas from the readings or other sources.

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 9/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Self-Quiz

The Self-Quiz gives you an opportunity to self-assess your knowledge of what you have learned so far.

The results of the Self-Quiz do not count towards your final grade. However,the quiz is an important part of the University’s learning
process and it is expected that you will take it to ensure understanding of the materials presented. Reviewing and analyzing your results
will help you perform better on future Graded Quizzes and the Final Exam.

Please access the Self-Quiz on the main course homepage; it is listed inside the Unit.

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 10/11
2/23/24, 5:10 PM Learning Guide Unit 4 | Home

Checklist

Peer assess Unit 3 Written Assignment


Read the Learning Guide and Reading Assignments
Participate in the Discussion Assignment (post, comment, and rate in the Discussion Forum)
Complete and submit the Written Assignment
Make entries to the Learning Journal
Take the Self-Quiz

https://my.uopeople.edu/mod/book/tool/print/index.php?id=402615 11/11

You might also like