Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Exam (elaborations)

COS3721 Assignment 2 (COMPLETE ANSWERS) 2026

Rating
-
Sold
-
Pages
25
Grade
A+
Uploaded on
01-07-2026
Written in
2025/2026

Operating Systems and Architecture - COS3721 Assignment 2 2026 - Due 1 July 2026; 100 % TRUSTED workings, Expert Solved, Explanations and Solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)...........

Show more Read less

Content preview

COS3721
ASSIGNMENT 2 2026

UNIQUE NO.
DUE DATE: 1 JULY 2026

,OPERATING SYSTEMS

Question 01 [15 marks]

a. Scheduling approaches

Per-core run queues:

 Each CPU core maintains its own queue of ready processes.
 CPU-intensive tasks tend to stay on the same core, improving cache locality.
 Interactive tasks may suffer if stuck behind longer tasks in the same queue.

Shared run queue:

 All processes are placed in a single global queue.
 Any idle core can pick the next available task.
 Improves responsiveness for short interactive tasks due to flexible scheduling.



b. Advantages and disadvantages

Per-core run queues

Advantages:

 Better CPU cache locality (tasks stay on same core)
 Reduced queue contention

Disadvantages:

 Load imbalance between cores
 Requires complex load balancing

Shared run queue

, Advantages:

 Good load balancing across cores
 Better responsiveness for interactive tasks

Disadvantages:

 High contention on shared queue
 Poor cache locality due to task migration



c. Load imbalance scenario

The shared run queue is better for balancing workload because:

 All cores draw from a single pool of tasks.
 Idle cores can immediately fetch tasks.
 Prevents some cores from being overloaded while others are idle.



d. Recommendation

Recommended: Per-core run queues with load balancing

 High performance due to reduced contention
 Better cache efficiency (CPU-bound tasks remain on same core)
 Fairness ensured through periodic task migration
 Suitable for mixed workloads (interactive + CPU-intensive)




Question 02 [15 marks]

Document information

Uploaded on
July 1, 2026
Number of pages
25
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • cos3721
R64,00
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LIBRARYpro University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
10746
Member since
3 year
Number of followers
4904
Documents
5049
Last sold
2 days ago
LIBRARY

On this page, you find all documents, Package Deals, and Flashcards offered by seller LIBRARYpro (LIBRARY). Knowledge is Power. #You already got my attention!

3,7

1501 reviews

5
700
4
249
3
249
2
80
1
223

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions