Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

IT2105

1. Run at least five (5) different applications on your computer. (e.g., Google Chrome with
multiple tabs, Microsoft Word/Excel/PowerPoint, programming software, video/music
player, etc.).

2. Open and maximize the window of Task Manager.


3. Find the tab showing the list of processes (applicationand background tasks) and
its corresponding details that currently run on your computer.

4. Setthe columns to show the following:


 Process ID
 Process execution status
 Total processor time used by the process
 Maximum amount of physical memory used by the process
 Number of read I/O operations generated by the process since it started
 Total number of bytes read by the process in I/O operations
 Number of write I/O operations generated by the process since it started
 Total number of bytes written by the process in I/O operations
5. Take a screenshot of the maximized Task Manager window that shows the eight (8)
columns listed above. (10 points)
6. Analyzethe details of the running processes in your computer, and answer the
following (5 items x 3 points):
a. Which process has the greatest number of read I/O operations since it started?

Microsoft Edge

b. Which process has the least number of write I/O operations since it started?

Discord

c. Is the total number of I/O bytes read by a process always equal to the
total number of I/O bytes written by the same process?

Not possible, because none of the applications I had open had this total amount of I/O
bytes read by a process equal to the total number of I/O bytes written by the same
process.

d. Would you agree that suspended processes will always hold a zero (0) value
for both read and write I/O operations?

Yes, because to have no process so that’s why there’s no reason to process and there
will be no value for both read and write I/O operations

e. Is the number of threads directly proportional to the number of bytes written


by the process in I/O operation?

No

7. Afteranalyzing the I/O details of the running processes in your computer, would
you agree that your computer implements I/O buffering? Why or why not? (5
points)
Note: Perform additional research, if needed, in order to support your answer above.
Yes, because my computer smooths up the process of executing a program by
allowing it to keep up with the application's progress.

Part B (35 points)


 Search for relevant and up-to-date literatures and studies about the Windows I/O
Manager. Then, answer or provide the following:
a. Describe the overall structure of the Windows I/O manager.

The Windows kernel-mode I/O manager coordinates communication between


applications and device driver interfaces. Because devices may run at speeds that differ
from those of the operating system, I/O request packets are the primary means of
communication between the operating system and device drivers (IRPs). Network
packets or Windows message packets are identical to these packets. They are
transferred from the operating system to individual drivers, as well as from one driver
to the next.
b. Illustrate the structure of the Windows I/O manager based on
your understanding.

The I/O manager in the kernel mode of Windows manages the communication
between the device driver interfaces and the applications that use them. I/O request
packets are the principal mechanism of communication between the operating system
and device drivers since devices may run at different speeds than the operating system
(IRPs). These packets are identical to network packets or Windows message packets.
From the operating system to individual drivers, and from one driver to the next, they
are transferred from one driver to the next.

c. Differentiate the asynchronous and synchronous mode of operation of


Windows I/O.

A flow of execution, such as a process or thread, is awaiting the conclusion of an


operation when it is referred to be synchronous I/O. Nothing is waiting for the
operation to finish, and asynchronous I/O causes something to happen when the
operation is finished. Asynchronous, on the other hand, has no execution vehicle
because it waits for the I/O to finish. When the I/O is completed, whatever execution
vehicle is in charge of the I/O may make arrangements for things to happen later.

d. Does the Windows I/O manager support any RAID configuration?


Rationalize your answer.

Yes, because RAID can be installed in your pc even if the operating system is
already installed, provided the system has a RAID I/O controller hub (ICH). It also
requires enabling the raid controller in windows, a software application built into
Windows that takes care of configuring RAID drives for you.

e. In your opinion, what other kernel components work closely with the
Windows I/O manager? Elaborate on your answer.

Memory management is important to me because I/O will not work properly if


the memory is not in sync with it, and as we all know, the windows kernel prioritizes
communication between application and device drivers, therefore memory
management is important to me since I/O manager works closely with it.

f. In your perspective, what is the most significant part of the Windows I/O model
and why?

The I/O manager, in my opinion, is the most important component of the


Windows I/O model. The I/O manager is at the center of the I/O system. It describes the
architecture that allows applications and system components to communicate with
virtual, logical, and physical devices. All Windows NT input/output functions are
managed by I/O Manager, a kernel-mode component of Microsoft Windows NT
executive. The I/O Manager integrates a variety of networking components, including
file system drivers, networking protocols, and network adapter card drivers. The I/O
manager in kernel mode of Windows manages the communication between
applications and device driver interfaces. To communicate with the operating
system and device drivers at different speeds, I/O request packets are the
principal mode of communication between the operating system and device
drivers (IRPs). These packets are the same as network packets or Windows
message packets, which are the same as these packets. They are transferred from
the operating system to individual drivers, as well as from one driver to the next,
as well as from one driver to the next.

 Properly cite all your references. (5 points)


https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/windows-kernel-mode-i-o-
manager
https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/windows-kernel-mode-i-o-
manager

You might also like