What is Sockets

Ginni
Updated on 30-Jul-2021 14:46:29

2K+ Views

Sockets are used to provide the capability of making connections from one application running on one machine to another running on a different machine. A socket abstraction consists of the data structure that holds the information needed for communication, and the system calls that manipulate the socket structure. Once a socket is created, it can be used to wait for an incoming connection (passive socket) or can be used to initiate a connection (active socket).A client can establish an active connection to a remote server by creating an instance of a socket. To establish a server connection and bind it ... Read More

Routing Potential Problems in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:45:02

487 Views

Several possible problems can result from the use of certain routing mechanisms in message-passing systems. These include deadlock, livelock, and starvation, which are as follows −Deadlock − When two messages each hold the resources required by the other to move, both messages will be blocked. This is called a deadlock. It is a phenomenon that occurs whenever there exists a cyclic dependency on resources. Management of resources in a network is the responsibility of the flow control mechanism used. Resources must be allocated in a manner that avoids deadlock.Livelock − Livelock describes a situation in which a message keeps going ... Read More

Routing in Message Passing Networks in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:43:00

790 Views

Routing is defined as the techniques used for a message to select a path over the network channels. Formally speaking, routing involves the identification of a set of permissible paths that may be used by a message to reach its destination, and a function, h, that selects one path from the set of permissible paths.A routing technique is said to be adaptive if, for a given source and destination pair, the path taken by the message depends on network conditions, such as network congestion.Routing techniques can also be classified based on the method used to make the routing decision as ... Read More

Bus-Based Symmetric Multiprocessors in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:40:02

1K+ Views

Shared memory systems can be designed using bus-based or switch-based interconnection networks. The simplest network for shared memory systems is the bus. The bus/cache architecture alleviates the requirement for expensive multiport memories and interface circuitry and the need to adopt a message-passing paradigm when developing application software.The bus may get saturated if multiple processors are trying to access the shared memory (via the bus) simultaneously. A typical bus-based design uses caches to solve the bus contention problem. High-speed caches connected to each processor on one side and the bus on the other side mean that local copies of instructions and ... Read More

What is Benchmark Performance?

Ginni
Updated on 30-Jul-2021 14:38:28

3K+ Views

Benchmark performance refers to the use of a set of integer and floating-point programs (known collectively as a benchmark) that are designed to test different performance aspects of the computing system(s) under test. Benchmark programs should be designed to provide fair and effective comparisons among high-performance computing systems. For a benchmark to be meaningful, it should evaluate faithfully the performance for the intended use of the system.The examples of benchmarks are the Dhrystone and Whetstone benchmarks. These are synthetic (not real) benchmarks intended to measure the performance of real machines.The Dhrystone benchmark addresses integer performance. It consists of 100 statements ... Read More

Specifications of the Microcontroller Used in Arduino Uno

Yash Sanghvi
Updated on 30-Jul-2021 14:35:57

604 Views

Arduino Uno uses ATmega328P as the microcontroller. Its specifications are given below −Operating Voltage2.7-5.5VTemperature Range( C)-40 to 85Number of Pins32Programmable I/O pins23Number of PWM Pins6ADC8 channel, 10-bit resolutionFlash Memory32 kBSRAM2 kBEEPROM1 kBFlash Read/Write Cycles10000EEPROM Read/Write Cycles100000UART1SPI2I2C1Timers2 8-bit timers and 1 16-bit timerReal Time CounterYesThroughputUp to 16 MIPS at 16 MHz

Mesh Connected Networks in Computer Architectures

Ginni
Updated on 30-Jul-2021 14:34:25

1K+ Views

It is a point-to-point connection to other nodes or devices. All the network nodes are connected. Mesh has n (n-1)/2 physical channels to link n devices. Mesh architecture with wrap-around connections forms a torus. Several routing mechanisms have been used to route messages around meshes. One such routing mechanism is known as dimension-ordering routing. Using this technique, a message is routed in one given dimension at a time, arriving at the proper coordinate in each dimension before proceeding to the next dimension.There are two techniques to transmit data over the Mesh topology that are as follows −RoutingIn routing, the nodes have a routing logic, ... Read More

Cube Connected Networks in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:32:08

1K+ Views

Cube-connected networks are patterned after the n-cube structure. An n-cube (hypercube of order n) is defined as an undirected graph having 2n vertices labeled 0 to 2n - 1 such that there is an edge between a given pair of vertices if and only if the binary representation of their addresses differs by one and only one bit. In a cube-based multiprocessor system, processing elements are positioned at the vertices of the graph. Edges of the graph represent the point-to-point communication links between processors.Each processor in a 4-cube is connected to four other processors. In an n-cube, each processor has ... Read More

Types of Static Interconnection Networks in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:31:17

5K+ Views

Static (fixed) interconnection networks are characterized by having fixed paths, unidirectional or bidirectional, between processors. Two types of static networks can be identified. These are completely connected networks (CCNs) and limited connection networks (LCNs).Completely Connected NetworksIn a completely connected network (CCN) each node is connected to all other nodes in the network. Completely connected networks guarantee fast delivery of messages from any source node to any destination node (only one link has to be traversed).Since every node is connected to every other node in the network, routing of messages between nodes becomes a straightforward task. Completely connected networks are, however, ... Read More

Blocking and Non-Blocking Networks in Computer Architecture

Ginni
Updated on 30-Jul-2021 14:29:32

4K+ Views

Blocking NetworksBlocking networks possess the property that in the presence of a currently established interconnection between a pair of input/output, the arrival of a request for a new interconnection between two arbitrary unused input and output may or may not be possible. Examples of blocking networks include Omega, Banyan, Shuffle–Exchange, and Baseline. Consider, for example SEN, as shown in the figure.In the presence of a connection between input 101 and output 011, a connection between input 100 and output 001 is not possible. This is because the connection 101 to 011 uses the upper output of the third switch from ... Read More

Advertisements