Explanation of test methods for layer-3 switches

Source: Internet
Author: User

The following tests on L2 and L3 switches are implemented through a series of frames/data packets of different sizes. The minimum valid frame is 64 bytes, and the maximum standard frame is 1518 bytes, next, we will study the technology of layer-3 switches.

Therefore, enterprise users must test the energy efficiency of switches through a certain performance test. This test is basically the same as the test method for determining the speed and function. In this article, we will discuss the power consumption test, measurement methods, and various indicators of LAN switches.

When talking about lan energy consumption efficiency and time consumption, we can consider the following measurement methods:

1. system throughput

In general, throughput is the most important test element in the performance test of a layer-3 switch. This is also an important factor in measuring power consumption. These test numbers are combined with the measured power consumption to calculate the throughput per watt of electricity. We recommend that the tester calculate the bandwidth (Mbps/W) forwarded per watt of power per second ). Of course, you can also choose Gbps. You can also use raw data to calculate the amount of money required to transmit data per shard per second.

Another important reason for throughput measurement is that some manufacturers choose to implement a network connection structure that does not provide wire speed throughput to all additional interfaces. This type of switch has many plug-in modules or backboards, which may use less power than a layer-3 switch that provides full line rate throughput.

Without throughput measurement, we mistakenly conclude that low-capacity devices are more efficient than switches capable of delivering larger throughput when transmitting data from the same number of ports. Only by taking the throughput calculation into account can we associate the reached throughput with the consumed power.

2. Power Factor

In this case, it is equally important to determine the efficiency of the electric energy consumed by the device under test as that consumed by the measurement. Therefore, the power factor should be taken into account when testing the energy efficiency of a vswitch ". According to Wikipedia, power factor refers to the actual power of the "apparent power" load. The underutilized power means that a device consumes more energy than it actually can. In the long term, the cost is much higher than the required cost.

The power factor is a number between 0 and 1, where 1 represents the maximum or 100% efficiency. Some testing tools automatically calculate this value. The most obvious power consumed by a system is the product of the RMS Value of the voltage and the current flowing through the device. Here we assume that the waveform is of the same phase.

The power supplier uses this value to evaluate the total power consumption. The problem is that, due to a series of complex devices in the network, the voltage and current waveforms are not in the same phase. This measurement is only available when the AC power supply is involved, and this method is not available for DC systems.

3. Communication Load

Communication load must be considered when testing power consumption. It is important to consider different load levels to obtain precise information about the energy consumption of different levels of network activity. Note that the connected port and open port State not only mean that the cable is connected, but also indicate that the physical layer and the MAC layer are active. Serial number port status communication load.

1. None connected

2. None of the active (connected and open)

3 activity 0%

4 activity 50%

5 activity 100%

4. Frame/packet size

This is critical. Historically, two-layer and three-layer switches are tested through a series of frames/data packets of different sizes. The minimum valid frame is 64 bytes, and the maximum standard frame is 1518 bytes, in addition, the size of some tested data frames has also changed.

Data frames of 128, 256, 512, and 1024 bytes are commonly used. Some tests also include non-standard large data frames. For example, some tests use a test frame of up to 16000 bytes. However, a typical test uses a data frame of 9 KB or 9128 bytes. Of course, if we only want to test the power consumption of Layer 2 or Layer 3 switches, we do not need to use so many data frames for comprehensive testing. Although there is no industry standard for testing the power consumption of large data frames.

However, users should remember that in general, we should avoid testing with only 64-byte data frames. This test forces the switch to process the maximum number of data packets (the number of data packets is naturally larger), so that the power consumption reaches the maximum.

In contrast to the above situation, if your test uses a data frame of 1518 bytes or larger, this reduces the number of data frames to be processed per unit of time (of course, this depends on the device architecture used), thus reducing power consumption. In any case, the tester should pay attention to the size of the data frame used in a specific test.

Tests on layer-4 and higher-level switches need to take into account the actual communication flow (for example, session establishment, data transmission, and session removal ). In terms of its nature, this communication mainly consists of multiple data frames (packets. Therefore, if the tester wants to test such a high-rise switch, it is not advisable to consider only one type of data frame.

  1. Data Interface Types of each Gigabit Switch
  2. Learn how LAN switches solve Network Security Problems
  3. Comprehensive analysis of basic functions of security Switches
  4. PythonAndroid looks deeply at the new layer-3 Switch Technology
  5. Analyze the structure and application of the application layer switch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.