Nothing Special   »   [go: up one dir, main page]

07 Laboratory Exercise 1 Roxas Shello

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

Shello Lois B.

Roxas

BSIT-21A

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

2. Open and maximize the window of the Task Manager on your computer.

3. Find the tab showing the list of processes (application and background tasks) and their
corresponding details that currently run on your computer.
4. Set the columns to show the following:
a. Process ID
b. Process execution status
c. Total processor time used by the process
d. Maximum amount of physical memory used by the process
e. Number of read I/O operations generated by the process since it started
f. Total number of bytes read by the process in I/O operations
g. Number of write I/O operations generated by the process since it started
h. 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 columns listed
above.

6. Analyze the details of the running processes in your computer, and answer the following

Summarized Answered:

A – B. The opera gx was the greatest number of read, while the WPS and utorrent has the least number
of I/O operation since it started.

C. A process's total amount of I/O bytes written is not always the same as its total number of I/O bytes
read. The total number of bytes read and written by a process can differ based on the operations
performed. A process can read and write data to and from numerous files, devices, or connections.
For example, a process may read a large amount of data from one file and then write less data to
another. In this case, the total number of bytes read by the process would be more than the total
number of bytes sent.

It is not uncommon for the overall amount of bytes read and written by the process to differ depending
on the specific operations performed by the process.

D. Yes, In my perspective, a suspended process should always have a zero value for both read and write
I/O operations. While the cycle is suspended, no I/O operations will be performed. Once the process has
resumed and resumed functioning, it is possible that it will do I/O activities as part of its usual operation.
The suspension time of the process has no effect on the overall number of I/O operations it executes.

E. I believe that the number of threads in a process is not directly proportionate to the number of bytes
written by the process in I/O operations since it is not directly tied to the number of I/O operations
executed or the amount of data written by the process.

7. After analyzing the /O details of the running processes in your computer, would you agree that
your computer implements I/O buffering? Why or why not?

For me I agree Because I/O buffering is a typical strategy for improving the performance of I/O
operations, I believe that most modern computers use it to some extent.

Part II: Answer Only

a. The overall structure of the Windows I/O manager is made up of numerous sections that work
together to handle I/O operations in the Windows operating system.

- The I/O manager is responsible for routing I/O requests to the proper drivers and controlling
them. Device drivers are responsible for connecting to specific pieces of hardware and
performing I/O operations on their behalf.

- File system drivers are in charge of determining who has access to files and directories on
storage devices.

- Network drivers manage network communications and perform I/O operations on behalf of
the network stack.

b. The structure of the Windows I/O manager can be illustrated as follows:


c. In asynchronous mode, the Windows I/O manager allows I/O operations to run in the
background while the calling thread is free to do other things. The system can conduct I/O
operations more efficiently by integrating I/O and computing.

In synchronous mode, the calling thread is halted until the I/O operation is completed. As a
result, the thread is unable to proceed until the I/O operation is completed.

d. The Windows I/O manager does not directly handle RAID configurations. However, for RAID
configurations to be supported by the Windows operating system, third-party drivers or
hardware RAID controllers are necessary.

e. In my opinion, the memory manager is in charge of assigning and managing memory resources.
The process and thread manager is the person in charge of creating and managing processes
and threads. The executive is responsible for providing services to other kernel components as
well as managing system resources.

f. The I/O manager is, in my opinion, the most important component of the Windows I/O model.
The I/O subsystem of the operating system is centered on the I/O manager, which is responsible
for coordinating and routing I/O requests to the proper drivers and devices.
REFERENCE:

Pavel Yosifovich. (2017). Windows Internals, Part 1: System architecture, processes, threads, memory
management, and more, 7th Edition | Microsoft Press Store. Microsoftpressstore.com.
https://www.microsoftpressstore.com/store/windows-internals-part-1-system-architecture-
processes-9780735684188

Windows System Programming (4th Edition) (Addison-Wesley Microsoft Technology Series) by Johnson
M. Hart - PDF Drive. (2019). Pdfdrive.com. https://www.pdfdrive.com/windows-system-
programming-4th-edition-addison-wesley-microsoft-technology-series-e187835698.html

Shen, J., Parker, A., & Riverson, J. (2005). A new approach for a Windows-based watershed modeling
system based on a database-supporting architecture. Environmental Modelling & Software,
20(9), 1127–1138. https://doi.org/10.1016/j.envsoft.2004.07.004

You might also like