1. Consider a demand-paging system with the following
time-measured utilizations: CPU utilization 20% Paging disk 5%
Other I/O devices 97%
Indicate which will improve system utilization and explain your
answer.
a. Install a faster CPU .
b. Install a bigger paging disk.
c. Increase the degree of multiprogramming.
d. Decrease the degree of multiprogramming.
e. Install more main memory.
f. Install a faster hard disk or multiple controllers with multiple hard disks.
g. Add prepaging to the page-fetch algorithms.
h. Increase the page size.
2. How is X-RAID or Hybrid RAID different than regular RAID levels?
a) This will increase the amount of CPU usage per unit time.
Because the
paging disk is saturated with requests, this implies that RAM is
inadequate for
the number of processes currently running. Thus, if we were to
decrease the
number of processes running, it would make more physical memory
available
to each process, so there would be fewer chances that the processes
would
page fault. Fewer page faults mean less paging disk accesses, which
means
less time spent by the CPU waiting for disk I/O
b) This will definitely increase the amount of CPU usage. Since
more memory
is available to each process, more pages for each process can be in
RAM
simultaneously, and there is a lower probability that any given
process will
page fault. As stated before, fewer page faults mean fewer paging
disk
accesses, which means less time spent by the CPU waiting for the
paging disk.
c) Again, this depends on the processes, but it may improve CPU
utilization.
If processes are continually page-faulting on logically adjacent
pages, then
increasing the page size will result in fewer page faults, and
therefore less
disk access time and less CPU idling. However, if this is not the
case, then
increasing the page size will only worsen the problem, since more
time will be
spent by the paging disk reading in data or code that will not be
used anyway.
d) This will probably not increase CPU utilization — on the
contrary; it will
probably decrease it. The given data suggest that most of the time
the CPU
is idling, waiting for the paging disk to complete its task. Since
the CPU
is dependent on the paging disk, installing a faster CPU will only
cause
processes to execute more quickly and place a greater demand on the
paging disk
e.) likely to improve CPU utilization as more pages
can
remain resident and not require and not require
paging
to or from the disks.
f.) Install a faster hard disk or multiple controllers with
multiple hard disks.
it is also an improvement as the disk bottleneck is
removed by
faster response and more throughput to the disks. the
CPU will get
more data, more quickly
2)Now you know what SHR and RAID are, what is now important is which should you choose. Both are excellent methods of redundancy and have their own benefits. But lets take a look below at their strength and weaknesses:
SHR Strengths
SHR Weaknesses
And now onto Traditional RAID
RAID Strengths
RAID Weaknesses
1. Consider a demand-paging system with the following time-measured utilizations: CPU utilization 20% Paging disk 5%...
Operating Systems 8.27 Consider a demand-paging system with the following time-measured utilizations: CPU utilization Paging disk Other I/O devices 20% 97 7% 5% For each of the following, indicate whether it will (or is likely to) improve CPU utilization. Explain vour answers. Install a faster CPU. Install a bigger paging disk Increase the degree of multiprogramming. Decrease the degree of multiprogramming Install more main memorv. Install a faster hard disk or multiple controllers with multiple hard disks. Add prepaging to...
Problem 4- Resource Utilization (16 points) Consider a demand-paged computer system using a virtual memory management o do only main memory and disk for paging. Suppose the organization running this system can one of the following actions at the present time: afforn policy for (a) Get a faster CPU (b) Get a faster paging disk (c) Decrease the degree of multiprogramming (d) Increase the degree of multiprogramming m was measured to determine the utilization of the CPU and paging disk....
Consider a demand-paged computer system where the degree of mul- tiprogramming is currently fixed at four. The system was recently measured to determine utilization of the CPU and the paging disk. Three alternative results are shown below. For each case, what is happening? Can the degree of multiprogramming be increased to increase the CPU utilization? Is the paging helping? *CPU utilization 13 percent; disk utilization 97 percent *CPU utilization 87 percent; disk utilization 3 percent *CPU utilization 13 percent; disk...
نقطة واحدة Consider a demand-paged computer system where the degree of multiprogramming is currently fixed at four. The system was recently measured to determine utilization of CPU and the paging disk which are equal to 13 percent and 3 percent respectively. To increase the CPU utilization, it :should Increase the degree of multiprogramming Decrease the degree of multiprogramming O نقطة واحدة The execution of an entire process, or parts of it, at different sites called Computation Migration O Data Migration...
Will a deadlock be possible? If yes. how to prevent the deadlock without change the nature of the problem Virtual Memory A computer system is in the Thrashing state: CPU utilization: 20% Virtual Memory swapping pages: 98% Other I/O: 5%. Which of the following will improve CPU utilization? Install Fast CPU. Increase virtual memory size. run more programs stop several programs that are running Install More RAM Install faster hard drive Add cache memory Increase page size Install larger hard...
A system consists of 1 CPU, 1 Disk, and 1 Network Interface. A web server running on this system consists of a process that waits for an HTTP request. Once the request is received, the process services it by fetching the requested file from disk (an I/O operation) and then by sending the file content to the client. Assume that serving a request consists of the following phases: i. Process uses the CPU for 2 msec (parse request) // CPU...
Consider a demand-paging system with a paging disk that has an average access and transfer time of 20 milliseconds. Addresses are translated through a page table in main memory, with an access time of 1 microsecond per memory access. Thus, each memory reference through the page table takes two accesses. To improve this time, we have added an associative memory that reduces access time to one memory reference, if the page-table entry is in the associative memory. Assume that 80...
Consider a demand-paging system in which the replacement of a page takes 20 milliseconds (access time and data transfer). Addresses are translated through a page table in main memory, with an access time of 1 microsecond per memory access. Thus, each memory reference through the page table takes two accesses. To improve this time, a TLB is added to the system to reduces access time to one memory reference, if the page-table entry is in the associative memory. Assume that...