AccuracyThe overall goal for accuracy is that the data received at the destination must be the sameas the data sent by the source. Typical causes of data errors include power surges orspikes, impedance mismatch problems, poor physical connections, failing devices, andnoise caused by electrical machinery. Sometimes software bugs can cause data errorsalso, although software problems are a less common cause of errors than physical layerproblems. Frames that have an error must be retransmitted, which has a negative effect onthroughput. In the case of IP networks, Transmission Control Protocol (TCP) providesretransmission of data.For WAN links, accuracy goals can be specified as a bit error rate (BER) threshold. If theerror rate goes above the specified BER, the accuracy is considered unacceptable. Analoglinks have a typical BER threshold of about 1 in 105. Digital circuits have a much lowererror rate than analog circuits, especially if fiber-optic cable is used. Fiber-optic linkshave an error rate of about 1 in 1011. Copper links have an error rate of about 1 in 106.For LANs, a BER is not usually specified, mainly because measuring tools such as protocol analyzers focus on frames, not bits; however, you can approximate a BER by comparing the number of frames with errors in them to the total number of bytes seen by themeasuring tool. A good threshold to use is that there should not be more than one badframe per 106bytes of data.On shared Ethernet, errors are often the result of collisions. Two stations try to send aframe at the same time and the resulting collision damages the frames, causing cyclicredundancy check (CRC) errors. Depending on the size of the Ethernet network, many ofthese collisions happen in the 8-byte preamble of the frames and are not registered bytroubleshooting tools. If the collision happens past the preamble and somewhere in thefirst 64 bytes of the data frame, this is registered as a legal collision, and the frame iscalled a runt frame. A general goal for Ethernet collisions is that less than 0.1 percent ofthe frames should be affected by a legal collision (not counting the collisions that happenin the preamble).A collision that happens beyond the first 64 bytes of a frame is a late collision. Late collisions are illegal and should never happen. Ethernet networks that are too large experience late collisions because stations sending minimum-sized frames cannot hear otherstations within the allowed timeframe. The extra propagation delay caused by the excessive size of the network causes late collisions between the most widely separated nodes.Faulty repeaters and network interface cards (NIC) can also cause late collisions.Collisions should never occur on full-duplex Ethernet links. If they do, there’s probably aduplex mismatch. Collisions on a properly configured full-duplex link have no meaning.Both stations sending at the same time is normal. Receiving while sending is normal. So,Chapter 2: Analyzing Technical Goals and Tradeoffs 39there is no need for collision detection and collisions shouldn’t occur. Chapter 3 has moreto say about duplex mismatch problems and how to recognize if they cause errors onyour networks.Collisions also never occur on WAN links. Unfortunately, the output of the show interface serialcommand on Cisco routers includes a collision count. It should be ignored.Cisco programmers used a template for this part of the output. The template is based onthe output from the show interface ethernetcommand. There are no collisions on a serialinterface, regardless of the encapsulation or technology. Collisions occur only on carriersense multiple access (CSMA) networks including Ethernet, 802.3, LocalTalk, Aloha, and802.11 networks. Collisions are a normal part of the “management-by-contention”approach that defines CSMA. (And although LocalTalk and 802.11 use CSMA with collision avoidance, collisions can still occur.)Accuracyusually refers to the number of error-free frames transmitted relative to thetotal number of frames transmitted. Accuracy can also characterize how often the network reorders sequences of packets. Packet reordering occurs in many situations, including the use of parallel switching fabrics within a single network device and the use of parallel links between routers. Although upper-layer protocols, such as TCP and Real-TimeTransport Protocol (RTP), correct for the reordering of packets, the problem can causeminor performance degradation. Some applications don’t use a protocol that corrects theproblem and thus might be more severely affected. Because the problem is often corrected, it can be hard to detect. IP routers are not designed to detect, let alone correct, packet reordering, and because they do not detect this condition, they cannot report theproblem to network management software. Measurements must be made at end hosts.For example, you could use a protocol analyzer on an end-station host to detec
đang được dịch, vui lòng đợi..
