Determine what fraction of processor time is consumed

Assignment Help Basic Computer Science
Reference no: EM13308249

Consider a system employing interrupt-driven I/O for a particular device that transfers data at an average of 8 KB/s on a continuous basis.

a.       Assume that interrupt processing takes about 100 µs (i.e. the time to jump to the interrupt service routine (ISR), execute it, and return to the main program). Determine what fraction of processor time is consumed by this I/O device if it interrupts for every byte.

b.      Now assume that the device has two 16-byte buffers and interrupts the processor when one of the buffers is full. Naturally, interrupt processing takes longer, because the ISR must transfer 16 bytes. While executing the ISR, the processor takes about 8 µs for the transfer of each byte. Determine what fraction of processor time is consumed by this I/O device in this case.

c.       Now assume that the processor is equipped with a block transfer I/O instruction. This permits the associated ISR to transfer each byte of a block in only 2 µs. Determine what fraction of processor time is consumed by this I/O device in this case.

 

Reference no: EM13308249

Questions Cloud

The standpoint of developmental stages : 7 pages personal life review from the standpoint of developmental stages & the contextual, cohort -based, maturity-specific challenge model as it would apply to using age graded standards for context, cohort effects, social & family role
Calculate the sum of all the elements of firstarray : Calculate the sum of all the elements of FirstArray and put the sum in EAX. Use indirect addressing to access the elements of array.
Determine the concentration of ubod in the effluent : If the length of the river connection between the two lakes is equal to 3km and the velocity in the river is equal to 0.4 m/s, determine the concentration of UBOD in the effluent from the second lake.
What is the speed of the emitted electron : The glow-in-the-dark dials on some watches and some keychain lights shine with energy provided by the decay of radioactive tritium, 3^1H. What is the speed of the emitted electron
Determine what fraction of processor time is consumed : Consider a system employing interrupt-driven I/O for a particular device that transfers data at an average of 8 KB/s on a continuous basis.
Determine how many buses needed to provide service on route : Determine how many buses needed to provide service on the following route with the indicated characteristics: -Route length: 16 miles (one way) -Headway: 15 minutes -Average number of stops made during run, one direction: 22
What is the maximum data transfer rate : What is the maximum data transfer rate across the bus that this microprocessor can sustain, in bytes/s?
State a program that reads an integer from the keyboard : Write a program that reads an integer from the keyboard, and prints the integer to the screen. You must write a function to do this task. After the integer is printed, you must call a function (that you write) which asks the user to enter a ‘Y' or..
Identify three callenges a new product manager : Identify three callenges a new product manager may be faced with in developing new products or services. Discuss ways you would cope with these challenges if you were in the new product managers position.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a phone book program

When phone book enties are displayed all data members will be displayed. Create a friend function that overloads the

  Footer element describes content appears bottomtrue or false

The footer element describes content that usually appears at the bottom of the content or section element. True or False

  Write a class encapsulating a course

I must include a constructor, the accessors and mutators, and methods toString and equals. As part of this assignment, I have to write a client class to test all the methods

  What factors are involved in selecting architecture

Under what architecture would you classify technologies such as virtualization, cloud computing, and Web-based applications? Last, what factors are involved in selecting the architecture that is right for your organization?

  Compare and contrast magnetic tapes

Realize business and organizational data storage and fast access times are much more important than they have ever been.

  Capacity as a systems analyst

In your capacity as a systems analyst, you may face situations in which you encounter an ethical dilemma. For example, you may be asked to design a system that supports an activity with which you personally disagree

  Design a system (i) using a rom; and (ii) using a pal.

For the following set of functions, design a system (i) using a ROM; and (ii) using a PAL.

  Programmers creating program of high quality

Write down technical paper on "Our goal is to aid programmers create program of high quality - programs that reliable, efficient, and reasonably.

  Dss inc. is an electronics company with production facility

DSS Inc. is an electronics company with production facilities located in Atlanta, Boston, and Chicago. Components produced at these facilities may be shipped to the firm's regional warehouses that are located in Edison and Fargo.

  Explain finding a feasible assignment as a shortest path

We say that a course assignment is a feasible assignment if every faculty member teaches either their first or second choice course. Formulate the problem of finding a feasible assignment as a shortest path, max flow, or min-cost flow problem.

  Deriving logging information for chinese wall model

In the example of deriving required logging information for the Chinese Wall model, it is stated that the time must be logged.Why? Explain.

  Develop a program to play lottery

Suppose you want to develop a program to play lottery. The program randomly generates a Lottery of a two-digit number, prompts the user to enter a two-digit number, and determines whether the user wins according to the following rule.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd