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

  Which is the correct statement for constructor implemention

In a multifile, object-oriented C++ project, which is the correct statement for the constructor implementation, given that the constructor is correctly defined in the class definition file?

  What are influences of politics and culture on dss design

What are the influences of politics and culture on DSS design?

  Design patterns in today-s development environments

In System Analysis and Design: Design Patterns - How widely used are design patterns in today's development environments?

  Design a program that ask for the price of each item

Design a program that ask for the price of each item, and then displays the subtotal of the sale, the amount of sales tax and the total. Assume the sales tax is 6 percent. Need help with this question.

  When using uml to describe the classes

When using UML to describe the classes, what is UML? What does a + or - signify

  Explain how to generate array of random numbers

For some general variables L and U, write a comment that explains how to generate a 1 x N array of random numbers whose values are between L and U.

  What do you mean by ascii or ebcdic

What is ASCII or EBCDIC? What part do the aforementioned things play in hashing? What is the formula for the PPD? What does the numerator and denominator say about the potential performance issues of this metric?

  Create the users for the sales organization unit

Explain how you would create the users for the sales organization unit and how you can set up work groups in this particular situation

  Describe a situation where dynamic memory allocation

Describe a situation where dynamic memory allocation might be required in order to make efficient use of your computer's resources. Also describe the precautions that your program should take for the correct and efficient implementation of dynamic..

  Find commercial web site show bleeding edge technology error

Visit the Internet and discover commercial Web sites which show each of the common errors listed below. Give links to those Websites in Microsoft Word document.

  Explain how determine the process state and what are states

Explain how to determine the process state and what are the states a process can be in. (Hint: use the man pages! You may have to do some cross referencing

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