Distributed e Sys
Distributed e Sys
Packet contains destination address, user data and error correction codes.
Sending data size is not exactly fit into packet but processing elements must take
care of packet
The data to be transmitted from one PE to another may not fit exactly into the
size of the data payload on the packet. It is the responsibility of the transmitting PE
to divide its data into packets; the receiving PE must of course reassemble the
complete data message from the packets.
Arbitration scheme
The device that is allowed to initiate transfers on the bus at any given time is
called the bus master
1. Fixed-priority arbitration : High priority devices always get chance to
transmit data. If low priority device and high priority device are ready to
transmit data, then high priority device will transmit data then low priority
device will transmit data.
2. Fair arbitration schemes : This scheme take care of starvation. Round-robin
arbitration is the most commonly used of the fair arbitration schemes. The PCI
bus requires that the arbitration scheme used on the bus must be fair, although
it does not specify a particular arbitration scheme. Most implementations of
PCI use round-robin arbitration.
Crossbar network
A bus topology provides limited available bandwidth. Since all devices
connect to the bus, communications can interfere with each other. For reducing
communication conflicts, other network topology can be used.
A crossbar network uses an p x m grid of switches to connect p inputs to m
outputs in a non-blocking manner. A connection of one processor to a given memory
bank does not block a connection of another processor to a different memory bank.
There must be p x b switches. It is reasonable to assume that b>p.
A link carries one message; a switch can process up to two messages at the
same time. Crossbar is not fault tolerant, failure of any switchbox will disconnect
certain pairs.
Message Passing Programming
A message-passing system is a subsystem of distributed operating system that
provides a set of message-based IPC protocols, and does so by shielding the details
of complex network protocols and multiple heterogeneous platforms from
programmers. It enables processes to communicate by exchanging messages and
allows programs to be written by using simple communication primitives, such as
send and receive.
Transport layer provides message-based programming interface : send_msg
(adrs, datal);
Data must be broken into packets at source, reassembled at destination.
Data-push programming : receivers respond to new data.