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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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