Determine the isoefficiency term due to this termination

Assignment Help Basic Computer Science
Reference no: EM131091090

Consider the tree-based termination detection scheme in Section 11.4.4. In this algorithm, the weights may become very small and may eventually become zero due to the finite precision of computers. In such cases, termination is never signaled. The algorithm can be modified by manipulating the reciprocal of the weight instead of the weight itself. Write the modified termination algorithm and show that it is capable of detecting termination correctly.

Q11.6

[DM93] Consider a termination detection algorithm in which a spanning tree of minimum diameter is mapped onto the architecture of the given parallel computer. The center of such a tree is a vertex with the minimum distance to the vertex farthest from it. The center of a spanning tree is considered to be its root. While executing parallel search, a processor can be either idle or busy. The termination detection algorithm requires all work transfers in the system to be acknowledged by an ack message. A processor is busy if it has work, or if it has sent work to another processor and the corresponding ack message has not been received; otherwise the processor is idle. Processors at the leaves of the spanning tree send stop messages to their parent when they become idle. Processors at intermediate levels in the tree pass the stop message on to their parents when they have received stop messages from all their children and they themselves become idle. When the root processor receives stop messages from all its children and becomes idle, termination is signaled. Since it is possible for a processor to receive work after it has sent a stop message to its parent, a processor signals that it has received work by sending a resume message to its parent. The resume message moves up the tree until it meets the previously issued stop message. On meeting the stop message, the resume message nullifies the stop message. An ack message is then sent to the processor that transferred part of its work. Show using examples that this termination detection technique correctly signals termination. Determine the isoefficiency term due to this termination detection scheme for a spanning tree of depth log p.

Reference no: EM131091090

Questions Cloud

Derive the isoefficiency function of this scheme : derive the isoefficiency function of this scheme.
Comment on the performance and scalability of this scheme : Comment on the performance and scalability of this scheme.
Derive analytical expressions for the scalability : Assume that the cost of communicating a piece of work between any two processors is negligible. Derive analytical expressions for the scalability of the single-level loadbalancing scheme.
Discuss the empirical rule in this context : If you look up the word empirical in a dictionary, you will find that it means "relying on experiment and observation rather than on theory." Discuss the empirical rule in this context.
Determine the isoefficiency term due to this termination : Determine the isoefficiency term due to this termination detection scheme for a spanning tree of depth log p.
Comment on the value of the constants associated : Comment on the value of the constants associated with this isoefficiency term
Situation reveal about employment-the minimum wage : The film opens with images of a small Colorado town, with no visible minorities, and a discussion of hunger there. Was this surprising to you? Why do you think the filmmakers opened the film in this way?
Comment on the performance and scalability of this scheme : Comment on the performance and scalability of this scheme
Analyze the performance of your formulations : a mesh-connected parallel computer. Analyze the performance of your formulations. Furthermore, show how you can extend this enumeration sort to a hypercube to sort n elements using p processes.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Draw a finite-state machine for tennis scoring

Draw a finite-state machine for tennis scoring. The rules of tennis are as follows. To win, you need at least four points and you must have at least two points more than your opponent.

  Relationnal database design

1-Relationnal database design: (Relationnal database design )Given the following table that keeps track of student clubs memberships: StuentClub( S

  Determining the electronic goods

Mike buys some electronic goods from a wholesaler for $650 and spends $100 on its transportation's, etc. If he sells these electronic goods for $900; find the profit or loss made by him and express it as percent.

  Write an application where the user to specifies

Write an application where the user to specifies the polygonal Base of a prism using the mouse. it then creates the vertex, normal, and face lists for the prism, and displays it.

  Database using professional principles and standards

Create a database using professional principles and standards. Use a relational database software application to develop a database implementing the logical design into a physical design.

  Calculate total time spent by an employee on the job

1.Rearrange the Program. 2.Ask the user to enter employee's name, arrival time and departure time.

  Implement a program using function for a defined task

Implement a program using function for a defined task. Initial data is read from a file and added from keyboard. Program has to output resulting and initial data.

  How you would plan an iis7 application hosting

From the first e-Activity, discuss the uses and advantages for an enterprise utilizing an SMTP server.

  Network design project

The final document shall be delivered in standard .doc or .docx format.  The network diagram shall be imbedded in the document.  The network diagram can be produced using such tools as Visio from Microsoft Corporation, or Network Notepad (freely avai..

  How many pages does a process have

A machine has a 32 bit virtual address space and a 16kb page size. It has 1gb of physical memory. How many pages does a process have? How many bytes are needed for a page table, assuming 4 control bits and that disk addresses are stored elsewhere?

  Show at least the state of machine and state of any memory

Consider two machines, a classical von Neumann architecture as well as a more modern machine with two buses.

  Basic forms of conducting international business

Discuss the basic forms of conducting international business, and basic international business strategies.

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