Starting from:

$25

VE482- Homework2 Solved

Non-programming exercises:

Write in a neat and legible handwriting
Clearly explain the reasoning process
Write in a complete style (subject, verb and object) Progamming exercises:
Write a README file for each program
Upload an archive with all the programs onto Canvas
Ex. 1 — Multiprogramming

A few years ago when computers featured less RAM it is was common to increase it in order to enhance CPU performance. In order to better understand the link between the two we now create a simple model for multiprogramming. We assume all the processes to be similar and spending the same fraction p of their time waiting for Input/Output (I/O) to complete.

What is the probability for n processes to be waiting at the same time, then express the CPU utilisation as a function of n?
Sketch the curve representing the CPU utilisation as a function of the number of processes for the following values of p: 25%, 60% and 90%.
A certain old computer has 256 MB of RAM, once loaded a light operating system uses 96 MB of RAM. Several programs are launched each of them using 48 MB.How many processes can be store simultaneously in memory?
Assuming an average of 90% I/O waiting time what is the CPU utilisation?
What is the effect of adding 256 MB, 512 MB and 1024 MB of RAM. Argue on which amount would be the most beneficial and would be worth the investment.
Ex. 2 — Keymap in Minix 3

Map the Shit+F7 key to displaying how many processes are currently running.

This can be achieved following the steps:

Find all the files that need to be modified;
Locate the part of the code that should be updated;
Check how to process table is stored;
Count the number of running processes;
Map the newly written function to the Shift-F7 key;
Recompile the kernel and test.
Refer to Minix user’s guide for some basic help.

More products