Singapore University of Social Sciences ICT246 Assignment: OS Concepts

Verified

Added on  2022/08/12

|11
|693
|16
Homework Assignment
AI Summary
This document presents a comprehensive solution to the ICT246 Operating Systems assignment from the Singapore University of Social Sciences (SUSS). The assignment addresses two key areas: process scheduling and RAID 5 configuration. The first part analyzes process scheduling algorithms, specifically round-robin, including the creation of execution patterns, calculation of turnaround times, and a discussion of algorithm selection based on process characteristics. The second part focuses on RAID 5 configuration for a server with 12 hard disks, detailing the advantages of RAID 5, the role of parity, and fault tolerance. The solution also includes bash scripts developed to meet specific requirements, with associated screenshots. The document concludes with a bibliography of relevant sources.
tabler-icon-diamond-filled.svg

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Running head: ICT246 Operating system
ICT246 Operating system
Name of the Student
Name of the University
Author Note
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
ICT246 Operating system 1
Question 2:
a) A server has been purchased by ZSonic Pte Ltd which is a logistic company. The server is
having 12 hard disks and every hard disk is having 1 TB of storage. The server has been
installed in the Debian OS. For this scenario raid 5 will be used. The RAID 5 is basically
a redundant array of configuration of independence disks striping. Evenly the RAID 5 can
balance the parity and data that are striped across entire disk. None of the disks will be
bottleneck. The striping also gives allowance to the users for reconstructing for the cases
of disk failure. For the scenario, for utilizing 11 hard disks the raid 5 system needs to be
used. The advantages of RAID 5 come primary from the combined utilization of parity
and disk striping. For utilizing 11 disks, parity needs to be used instead of mirroring
redundancy of data. The time when, the data will be written to the raid 5 drive, the parity
will be calculated by the system as well as it will write the parity with in the drive. The
mirroring will maintain various copies of data in every volume for using in case of
failure.
(Figure: RAID 5)
The RAID 5 is one of the common most configurations as well as it is ideal for file
servers and applications with a number of drive which is limited. The configurations of
Document Page
2ICT246 Operating system
RAID also provides fault tolerance and inexpensive redundancy of data. The data can be
read as well as accessed at the time a failed drive is being rebuilt. By keeping the data in
each of the drives, any two of the drives may combine to equal data that are stored within
the third drive. The drives can be swapped in RAID 5 that means a HDD which is failed
can be replaced and removed without the downtime. All of the RAID configurations offer
drawbacks and benefits.
3)
a)
Document Page
3ICT246 Operating system
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
4ICT246 Operating system
Document Page
5ICT246 Operating system
Document Page
6ICT246 Operating system
b)
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
7ICT246 Operating system
Document Page
8ICT246 Operating system
c)
The bash scripts has been developed as per requirement. The screenshots are attached in
every section. E.g.:
Script1:
#!bin/bash
each -n 'Path: inode/directory '
read dirpath
Document Page
9ICT246 Operating system
echo -n 'Filename:a '
read filename
ls -l "${dirpath}/${a}"
files=$(ls);
for file in $files
do
# extension=$($file | awk -F . '{ print $NF }');
if [ $file | awk -F . "{ print $NF }" = txt ]
then
echo $file;
else
echo "Not a .txt file";
fi;
done;
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
10ICT246 Operating system
Bibliography:
Halchenko, Y. O., Ghosh, S., Poline, J. B., Jarecka, D., & Kennedy, D. (2018, May).
Variability of the Neuroimaging results across OS, and how to avoid it. In Biological
Psychiatry (Vol. 83, No. 9, pp. S11-S11). 360 PARK AVE SOUTH, NEW YORK,
NY 10010-1710 USA: ELSEVIER SCIENCE INC.
Kumar, V. (2019). Debian: A Linux based operating system for all purposes. In KELPRO
Silver Jubilee Souvenir (pp. 69-72). KELPRO.
Martins, J.M., 2018. An Empirical Study On the Recovery Speed of USB Flash Drives
Utilizing Raid-5 Compared to HDDs and SSDs.
Rahman, P. A., & Shavier, G. D. K. N. F. (2018, March). Reliability model of disk arrays
RAID-5 with data striping. In IOP Conference Series: Materials Science and
Engineering (Vol. 327, No. 2, p. 022087). IOP Publishing.
chevron_up_icon
1 out of 11
circle_padding
hide_on_mobile
zoom_out_icon
logo.png

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]