0% found this document useful (0 votes)
117 views

07 Laboratory Exercise 1

This laboratory exercise aims to help students examine the logical structure of input/output functions in an operating system and analyze the performance implications of input/output buffering. Students are asked to run applications on their computer, open the Task Manager, take a screenshot showing process details like CPU usage, memory usage, and number of read/write I/O operations, and analyze the data to answer questions about which processes have the most/least read/write operations.

Uploaded by

marian ramilo
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)
117 views

07 Laboratory Exercise 1

This laboratory exercise aims to help students examine the logical structure of input/output functions in an operating system and analyze the performance implications of input/output buffering. Students are asked to run applications on their computer, open the Task Manager, take a screenshot showing process details like CPU usage, memory usage, and number of read/write I/O operations, and analyze the data to answer questions about which processes have the most/least read/write operations.

Uploaded by

marian ramilo
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/ 4

IT210

T
r
i
s
ha
Ma
e
L
.
Fe
r
n
an
d
e
z
B
S
I
T
2.
1
A

L
a
b
o
r
at
o
r
yE
x
er
c
i
s
e
I
n
pu
t
/O
u
t
p
ut
M
an
a
ge
m
e
n
t
Objectives:

Attheendoftheexercise, thestudentsshouldbeable to:

E
x
a
m
in
e
t
he
l
o
gi
c
al
s
t
ru
ct
u
r
eo
ft
h
e
I/
O
f
un
c
t
io
n
in
a
n
op
e
ra
t
i
ng
s
y
st
e
m;
an
d
A
n
a
l
y
ze
t
he
p
e
r
fo
r
ma
nc
ei
m
pl
i
ca
t
i
on
s
of
I
/
Ob
u
ff
e
r
i
ng
i
n
an
op
e
r
at
i
n
gs
y
st
e
m.

PartA(30points)
1. Run atl
ea s
t
fiv
e(5)
diff
eren tapplic
at
ionsonyourco m puter
.(
e.g.,
G oog l
e Ch ro me
w
i
t
h
mul
t
i
pl
e
ta
b
s,
Mi
c
ro
s
of
t
Word/Excel/PowerPoint,programmingsoftware,video/music player,etc.).

2. Openandmaximizethewindowof TaskManager.
3.Findthetabshowingthelistofprocesses(applicationandbackgroundtasks)anditscorrespondingdetailsthatcurren
tlyrunonyourcomputer.
4. Setthecolumnstoshowthefollowing:
 P rocess I
D
 P rocess executi
onstatus
 T otalpr
o cessorti
m eusedb ytheprocess
 M a
x i
m um am oun t
ofp hys
ica l
m em ory
used byt
he process
 N um b er
o f
readI/Ooperati
on sgen er
atedbyt
h epr
oces ssi
nceitstart
ed
 T otalnum berofbyt
esreadb yt
hep rocessi
nI/
O operat
ions
 N um b er
o f
w ri
teI
/O oper
ationsge nerat
edbytheprocesssi
n cei
t st
arted
 T otalnum berofbyt
es wri
ttenbyth epr
ocessinI
/O operati
on s
5.TakeascreenshotofthemaximizedTaskManagerwindowthatshowstheeight(8)columnslistedabove.(10points)
6. Analyzethedetailsoftherunningprocessesinyourcomputer,andanswerthefollowing(5itemsx3points):
a. W hi
ch processhasthegreatestnum berof
readI/Ooperat
ionss incei
tstarted?
07LaboratoryExercise 1 *PropertyofSTI
Page 1of 2
IT210

b. W hic hprocess hasth


eleast
n u
m be r
ofw ri
teI/O
op
er
a
t
io
n
s
si
n
ce
i
t
st
a
r
te
d?
c. Ist
h e t
otalnum bero
fI
/Ob y
tesre
a dbyapro ce s
s
al
w
ay
se
q
u
al
t
o
th
et
o
t
al
n
um
be
r
of
I
/
Ob
y
te
s
w
r
i
tt
e
n
bythesameprocess?
d. W ou ldyoua greethat
suspen d
edp r
o cessesw i
l
l
al
wa
y
sh
o
l
da
z
er
o
(0
)
v
al
u
ef
or
b
o
th
r
ea
d
an
d
w
r
i
te
I
/
O
operations?
e. Ist
h e num bero ft
hrea
dsd i
re
c t
lyproportiona l
t
o
th
en
u
mb
e
ro
f
by
t
es
w
ri
t
t
en
by
theprocessinI/Ooperation?
2
.
Af
teran
a l
yzin gt
h eI
/O d et
ail
sof
therunni
ng process esi
n
yo
ur
c
om
p
ut
e
r
,w
ou
l
d
yo
ua
gr
e
e
th
a
t
yo
u
rc
o
m
pu
t
e
ri
mplements I/O buffering?Whyorwhynot?(5points)
Note: Performadditional research,ifneeded, inordertosupportyouranswerabove.

PartB(35points)
 Searc hfo rrelev ant
a n d up-t
o-d a telite r
a turesan dstudi
e sab o ut
th eW indow s
I /
O M anager.T he n,
answ e ror
providethefollowing:
a. D es cri
b eth e overal
l s truc tur e ofthe W i
n dow sI/O m a nager.
> The Windows I/O system consists of several executive components that together manage
hardware devices and provide interfaces to hardware devices for applications and the system.
In this chapter, we’ll first list the design goals of the I/O system, which have influenced its
implementation. We’ll then cover the components that make up the I/O system, including the
I/O manager, Plug and Play (PnP) manager, and power manager. Then we’ll examine the
structure and components of the I/O system and the various types of device drivers. We’ll look
at the key data structures that describe devices, device drivers, and I/O requests, after which
we’ll describe the steps necessary to complete I/O requests as they move through the system.
Finally, we’ll present the way device detection, driver installation, and power management work.

b
.
Il
l
u
st
r
at
e
t
he
st
r
u
ct
u
r
eo
f
th
e
W
i
nd
o
ws
I
/
Om
an
a
g
e
rb
a
s
e
do
n
y
o
ur
u
n
de
r
st
a
n
di
n
g.

c
.
D i
ffe rentiate theasy nchron ou sa nd sync hron ous m ode of o p
e rat
ion of W i
ndow s I
/O .
> In synchronous file I/O, a thread starts an I/O operation and immediately enters a wait state
until the I/O request has completed. A thread performing asynchronous file I/O sends an I/O
request to the kernel by calling an appropriate function. If the request is accepted by the kernel,
the calling thread continues processing another job until the kernel signals to the thread that
the I/O operation is complete. It then interrupts its current job and processes the data from the
07LaboratoryExercise 1 *PropertyofSTI
Page 2of 2
IT210

I/O operation as necessary.

d
.
D oe
s t
he W i
n
dow s I
/O m ana gers uppo rt an yRA IDconfi
gu rati
on?Ra ti
on a
li
z ey ouran sw er.
> No, Windows 10 does not have a built-in RAID. However, Windows 10 and 8 do have a feature
known as Storage Spaces that allows you to combine multiple HDDs or SSDs into a single
RAID array.

e
.
Inyouro pi
nion ,
w hatotherkern el
c om p onentsw o rkcloselywi
th t
heW ind ow sI/Om ana ger?
E
la
bor
a
t
eonyour answer.
> Plug and Play manager and power manager. The kernel-mode PnP manager maintains the
Device Tree that keeps track of the devices in the system. The device tree contains
information about the devices present on the system. When the computer starts, the PnP
manager builds this tree by using information from drivers and other components, and
updates the tree as devices are added or removed.

f
.Inyo ur
p e rspectiv
e,wh ati
s them osts
ig ni
fica ntpa r
t
oft
h eWindo w s I/
Om ode l
and why?
> In my own opinion, the most significant part of the Windows I/O model is the device drivers
because it makes the connection possible between the devices and operating system. Device
drivers is a hardware that is attached to the computer and it allows OS and other computer
application to access all of the functionalities.

Pr
o
p
er
l
y
citeally ou r
references .
(5p oints )

> Synchronous and Asynchronous I/O - Win32 apps. https://learn.microsoft.com/en-


us/windows/win32/fileio/synchronous-and-asynchronous-i-o. Win32 apps | Microsoft Learn. January 14, 2023

> https://learn.microsoft.com/en-us/windows-hardware/drivers/install/pnp-manager

> https://www.microsoftpressstore.com/articles/article.aspx?p=2201309

07LaboratoryExercise 1 *PropertyofSTI
Page 3of 2
IT210

GradingRubricforEssay:
Criteria PerformanceIndicator Points
Content Correctideas andconceptswereincluded. 3
Organization Thepresentationofideawasgenerallyorganized. 2
TOTAL 5

GradingRubricforIllustration:
Criteria PerformanceIndicator Points
Content Theillustrationwasaccurateorplausible. 3
Organization Theillustrationwaspresentedinanorganizedmanner 2
TOTAL 5
Note:DONOTCOPYANDPASTE.Allstudentswhocopyandpastetheirworkfromanywebsiteortheirclassmatewillautomaticallyreceiveafailingmarkforthisassessmenttask.

07LaboratoryExercise 1 *PropertyofSTI
Page 4of 2

You might also like