Message passing in pvm, Computer Networking

Assignment Help:

Message Passing

The PVM communication model gives asynchronous blocking receive, asynchronous blocking send and nonblocking receive functions. In our methodology, a blocking send returns as early as the send buffer is free for use again, and an asynchronous send does not depend on the receiver calling a matching receive before the send can return. There are options in PVM 3 that request that data be transmitted directly from task to task. In this case, if the message is big, the sender may block until the receiver has called a matching receive.

A nonblocking receive instantaneously returns with both the data and a flag that the data has not arrived, whereas a blocking receive returns only when the data is in the receive buffer. In adding to these point-to-point communication functions, the model supports the multicast to a place of tasks and the broadcast to a user-defined group of tasks. There are also functions to present global max, global sum, etc. across a user-defined set of tasks. Wildcards can be specified in the receive for the label and the source, allowing either or both of these contexts to be ignored. A routine can be called to return the information about the received messages.

The PVM model assuring that the message order is conserved. If task 1 sends message A to task 2, then after task 1 sends message B to task 2, message A will arrive at task 2 earlier than message B. Furthermore, if both the messages arrive earlier than task 2 does a receive, then a wildcard receive will the entire time return message A.

  • int bufid = pvm_mkbuf( int encoding )

Generates a new message buffer. encoding states the buffer's encoding scheme.


Related Discussions:- Message passing in pvm

Network topologies- -fundamentals of networks, Network Topologies Topo...

Network Topologies Topology is study  of the  arrangement or  mapping of  the elements links nodes etc,  of a network especially the physical and logical inter connections bet

Explain the multipath resistance, Explain the Multipath resistance The ...

Explain the Multipath resistance The chipping codes used for CDMA not only exhibit low cross-correlation but also low autocorrelation. Thus, a version of the signal that is del

Define the term - graphics interchange format, Define the term - Graphics I...

Define the term - Graphics Interchange Format A type of graphics file found frequently on the .net. A picture of a vice-president, for example, may appear on the Intranet as

How is computer networks used in sales and marketing, Q. How is computer ne...

Q. How is computer networks used in sales and marketing?  Marketing and sales:   Computer networks are used extensively in both marketing and sales organizations. Marketing pr

Determine the signal bandwidth and the amplitudes, 1. A low voltage digital...

1. A low voltage digital device has a low state of 0 V and a high state of 1.8 V. It generates a signal train of high pulses at a rate of 1 MHz, these pulses having a 10 ns width a

Determine the relation between storage size and genomes, Genome4U is a scie...

Genome4U is a scientific research project at a large university in the United States. Genome4U has recently started a large-scale project to sequence the genomes of 250,000 volun

What is nos, What is NOS? NOS, or Network Operating System, are special...

What is NOS? NOS, or Network Operating System, are specialized software whose major task is to give network connectivity to a computer in order for it to be able to converse wi

Barters, What is a OSI layer 2 device called a "barter"?

What is a OSI layer 2 device called a "barter"?

Write Your Message!

Captcha
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