List and briefly define three techniques for performing

Assignment Help Other Subject
Reference no: EM132553842

Problem 1 Briefly describe the characteristics of each of the following: IRA, UTF-8

Problem 2 What are the major functions of an I/O module?

Problem 3 List and briefly define three techniques for performing I/O

Problem 4 A similar instruction format is used in the Zilog Z8000 microprocessor family. In this case, there is a direct port addressing capability, in which a 16-bit port address is part of the instruction, and an indirect port addressing capability, in which the instruction references on the 16-bit general purpose registers, which contains the port address. how many ports can the Z8000 address in each I/O addressing mode?

Problem 5 The Z8000 also includes a block I/O transfer capability that,unlike DMA, is under the direct control of the processor.The blocktransfer instructions specify a port address register (Rp),a countregister (Rc) and a destination register (Rd).Rd contains the mainmemory address at which the first byte read from the input port isto be stored.Rc is any of the 16-bit general purpose registers .Howlarge a data block can be transferred?

Problem 6 Consider a microprocessor that has a I/O transfer instruction such as that found on the Z8000. Following its first execution, such an instruction takes five clock cycles to re-execute. However, if we employ a non-blocking I/O instruction, it takes a total of 20 clock cycles for fetching and execution. Calculate the increase in speed with the block I/O instruction when transferring blocks of 128 bytes.

Problem 7 A particular system is controlled by an operator through commands entered from a keyboard. The average number of commands entered in an 8-hour interval is 60.

(a) Suppose the processor scans the keyboard every 100ms. How many times will the keyboard be checked in an 8-hour period?

(b) By what fraction would the number of processor visits to the keyboard be reduced if interrupt-driven I/O were used?

Problem 8 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 such as that found on the Z8000. 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.

Problem 9 In virtually all systems that include DMA modules, DMA to main memory is given higher priority than CPU access to main memory. Why?

Problem 10 A DMA module is transferring characters to memory using cycle stealing, from a device transmitting at 9600 bps. The processor is fetching instructions at the rate of 1 million instructions per second (1 MIPS). By how much will the processor be slowed down due to the DMA activity?

Problem 11 Consider a system in which bus cycles takes 500 ns. Transfer of bus control in either direction, from processor to I/O device or vice versa, takes 250 ns. One of the I/O devices has a data transfer rate of 50 KB/s and employs DMA. Data are transferred one byte at a time.
a. Suppose we employ DMA in a burst mode. That is, the DMA interface gains bus mastership prior to the start of a block transfer and maintains control of the bus until the whole block is transferred. For how long would the device tie up the bus when transferring a block of 128 bytes?

b. Repeat the calculation for cycle-stealing mode.

Problem 12 What are some of the key OS design issues for an SMP?

Problem 13 What is the difference between software and hardware cache coherent schemes?

Problem 14 What is the meaning of each of the four states in the MESI protocol?

Problem 15 What are some of the key benefits of clustering?

Problem 16 What is the difference between failover and failback?

Problem 17 What are the differences among UMA, NUMA, and CC-NUMA?

Problem 18 What is the cloud computing reference architecture?

Problem 19 A multiprocessor with eight processors has 20 attached tape drives. There is a large number of jobs submitted to the system that each require a maximum of four tape drives to complete execution. Assume that each job starts running with only three tape drives for a long period before requiring the fourth tape drive for a short period toward the end of its operation. Also assume an endless supply of such jobs.

a. Assume the scheduler in the OS will not start a job unless there are four tape drives available. When a job is started, four drives are assigned immediately and are not released until the job finishes. What is the maximum number of jobs that can be in progress at once? What are the maximum and minimum numbers of tape drives that may be left idle as a result of this policy?

b. Suggest an alternative policy to improve tape drive utilization and at the same time avoid system deadlock. What is the maximum number of jobs that can be in progress at once? What are the bounds on the number of idling tape drives?

Problem 20 Can you foresee any problem with the write-once cache approach on bus-based multiprocessors? If so, suggest a solution

Problem 21 Consider a situation in which two processors in an SMP configuration, over time, require access to the same line of data from main memory. Both processors have a cache and use the MESI (Modified Exclusive Shared Invalid) protocol. Initially, both caches have an invalid copy of the line. The figure below depicts the consequence of a read of line x by P1. If this is the start of a sequence of accesses, draw (yes, draw the diagrams) the subsequent figures for the following sequence:
a. P2 read x
b. P1 writes to x (label the line in P1's cache as x')
c. P1 writes to x (label the line in P1 's cache x")
d. P2 read x

Reference no: EM132553842

Questions Cloud

Compose persuasive response : Explain why Mattel's managers were able to slowly change decision making over time and what kinds of cognitive errors contributed.
SAM 11486 Systems Analysis and Modelling Assignment : SAM 11486 Systems Analysis and Modelling Assignment Help and Solution - University of Canberra, Australia - Assessment Writing Service
What is the accumulated future value of the annual mounts : What is the accumulated future value of those annual mounts over 25 years if the annual earnings are invested regularly and provided a 5% return each year
What product would remain in the flask : HCl is described as being a MONOPROTIC acid. What does that mean?
List and briefly define three techniques for performing : List and briefly define three techniques for performing I/O and What are the major functions of an I/O module - what fraction would the number of processor
Prepare journal entry to record the sale of whatchamacallits : Prepare the journal entry to record the sale of the Whatchamacallits and the extended warranties (sales would take place throughout the year)
Guest in terms of atomic structure : You are cooking spaghetti in water you have salted with NaCl. You notice that when the water boils over, it causes the flame
What adjusting journal entry should msi make to initially : What adjusting journal entry should MSI make to initially recognize the ARO under IFRS on Nov 01,2018? What are the journal entries to record
Ksp calculations-how do we do these calculations : Ksp Calculations-how do we do these calculations? In what cases would we utilize them?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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