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

Electronic mail - application layer, Electronic Mail One  of the  most...

Electronic Mail One  of the  most popular internet  services is electronic mail ( e mail). At  the beginning  of the internet era teh message sent by  electronic  mail were sh

State the benefits of infrared light, State the benefits of Infrared light ...

State the benefits of Infrared light Infrared light does not penetrate walls or other opaque objects. This has two benefits: First, infrared communications can be more simply

What is wan, What is WAN? A wide area network is defines a LAN o...

What is WAN? A wide area network is defines a LAN of LANs. WANs connect LANs that might be on opposite sides of a building, across the country or around the world.  WANS

What is client/server, What is client/server? Client/server is a type o...

What is client/server? Client/server is a type of network wherein one or more computers act as servers. Servers give a centralized repository of resources like printers and fil

What are the ethernet frame fields, Ethernet Frame Fields Preamble ...

Ethernet Frame Fields Preamble - seven bytes of alternating 0s also 1s to notify receiver of incoming frame and to provide synchronization SFD (Start frame delimiter)

Little spider, #question.what can we do with a spider when it red?.

#question.what can we do with a spider when it red?.

Distinguish cisc and risc, Question 1 Distinguish CISC and RISC Question ...

Question 1 Distinguish CISC and RISC Question 2 Write a short note on Asynchronous Transfer Mode of transmission Question 3 Explain various client/server applications using Ja

Briefly describe how the file system is organized in unix, Question: a)...

Question: a) Briefly describe how the file system is organized in Unix. b) What is the importance of the "touch" command. Give one of its disadvantage. c) Name three d

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