Packet Size: There Is A Significant Relationship Between Packet Size and Transmission Time
The document discusses packet size and transmission time. It finds that breaking a message into smaller packets reduces transmission time, until the packets get too small and the overhead of packet headers starts to outweigh the benefits. It also compares circuit switching and packet switching networks, finding that circuit switching has less delay once a connection is established, while packet switching has more variable delays at each node. Finally, it describes the X.25 standard which defines the interface between devices and packet-switched networks, including physical, link and packet transmission levels.
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views
Packet Size: There Is A Significant Relationship Between Packet Size and Transmission Time
The document discusses packet size and transmission time. It finds that breaking a message into smaller packets reduces transmission time, until the packets get too small and the overhead of packet headers starts to outweigh the benefits. It also compares circuit switching and packet switching networks, finding that circuit switching has less delay once a connection is established, while packet switching has more variable delays at each node. Finally, it describes the X.25 standard which defines the interface between devices and packet-switched networks, including physical, link and packet transmission levels.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 17
Packet Size
There is a significant relationship between
packet size and transmission time. Assume that there is a virtual circuit from station X through nodes a and b to station Y.
The message comprises 40 octets of data, 3 octets of header.
Entire message: 43 octets then the packet is first transmitted from station X to node a.
When the entire packet is received, it can then be transmitted from a to b. When the entire packet is received at node b, it is then transferred to station Y. Ignoring switching time, total transmission time is 129 octet-times ( transmissions). Suppose we break the message up into two packets, each containing 20 octets of the message and, of course, 3 octets each of header. Node a can begin transmitting the first packet as soon as it has arrived from X, without waiting for the second packet. Because of this overlap in transmission, the total transmission time drops to
92 octet-times By breaking the message up into five packets, each intermediate node can begin transmission even sooner and the savings in time is greater, with a total of
77 octet-times The process of using more and smaller packets eventually results in increased, rather than reduced delay. This is because each packet contains a fixed amount of header, and more packets mean more of these headers. Comparison of Circuit Switching and Packet Switching For circuit switching
There is a certain amount of delay before the message can be sent.
First, a Call Request signal is sent through the network, to set up a connection to the destination. If the destination station is not busy, a Call Accepted signal returns. Note that a processing delay is incurred at each node during the call request; this time is spent at each node setting up the route of the connection.
On the return, this processing is not needed because the connection is already set up.
After the connection is set up, the message is sent as a single block, with no noticeable delay at the switching nodes. Virtual circuit: Quite similar to circuit switching.
A virtual circuit is requested using a Call Request packet, which incurs a delay at each node. The virtual circuit is accepted with a Call Accept packet. In contrast to the circuit-switching case, the call acceptance also experiences node delays, even though the virtual circuit route is now established. The reason is that this packet is queued at each node and must wait its turn for transmission. Once the virtual circuit is established, the message is transmitted in packets. It should be clear that this phase of the operation can be no faster than circuit switching, for comparable networks. This is because circuit switching is an essentially transparent process, providing a constant data rate across the network. Packet switching involves some delay at each node in the path. Worse, this delay is variable and will increase with increased load. Datagram packet switching
It does not require a call setup.
Thus, for short messages, it will be faster than virtual circuit packet switching and perhaps circuit switching.
However, because each individual datagram is routed independently, the processing for each datagram at each node may be longer than for virtual circuit packets.
Thus, for long messages, the virtual circuit technique may be superior. X.25 For Circuit-switching network: transparent comm. path
For Packet-switching networks The attached stations must organize their data into packets for transmission.
This requires a certain level of cooperation between the network and the attached stations. This cooperation is embodied in an interface standard.
The standard used for traditional packet-switching networks is X.25. X.25 is an ITU-T standard that specifies an interface between a host system and a packet-switching network.
The functionality of X.25 is specified on three levels:
Physical level Link level Packet level Physical Level:
It deals with the physical interface between an attached station (computer, terminal) and the link that attaches that station to the packet- switching node.
Link Level:
It provides for the reliable transfer of data across the physical link, by transmitting the data as a sequence of frames.
Link level standard:
It is referred to as LAPB (Link Access ProtocolBalanced).
LAPB is a subset of HDLC. Packet level:
It provides a virtual circuit service. This service enables any subscriber to the network to set up logical connections, called virtual circuits, to other subscribers.
User data are passed down to X.25 level 3, which appends control information as a header, creating a packet.
This control information serves several purposes, including 1. Identifying by number a particular virtual circuit with which this data is to be associated 2. Providing sequence numbers that can be used for flow and error control on a virtual circuit basis.
The entire X.25 packet is then passed down to the LAPB entity, which appends control information at the front and back of the packet, forming a LAPB Frame. Each X.25 data packet includes send and receive sequence numbers.
The send sequence number, P(S), is used to number sequentially all outgoing data packets on a particular virtual circuit.