Creating a Network I/O Diagnosis Task
The tool supports network dialing tests, network load monitoring, packet loss diagnosis, and packet capture diagnosis for Ethernet NICs, providing reference data for locating network problems and optimizing network performance.
Prerequisites
At least one node has been installed successfully.
Creating a Network I/O Diagnosis and Analysis Task
- Click
next to System Diagnosis. - Set task parameters based on "Task Management" and Table 1.Figure 1 Creating a network I/O diagnosis task
Table 1 Parameters for creating a network I/O analysis task Parameter
Description
Task Name
Name of the task. The name must meet the following requirements:
- Contain only letters, digits, and special characters (including @#$ %^&*()[]<>._-!-+ and spaces).
- Contain 1 to 32 characters.
Diagnosis Object
Select Network I/O.
Diagnosis Scenario
Network I/O diagnosis scenario. The options are:
- Network dialing test
- Packet loss diagnosis
- Packet capture
- Network load monitoring
NOTE:Select either network dialing test or packet loss diagnosis. Packet capture and network load can be selected together.
Dialing Test Scenario
Dialing test scenario to be diagnosed. The default value is Connectivity. The options are as follows:
- Connectivity
- TCP
- UDP
IP Protocol Type
This parameter is mandatory when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to Connectivity.
IP protocol type to be diagnosed. The options are:
- IPv4
- IPv6
Node Information
This parameter is mandatory when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to Connectivity.
- Task Node: Enter the IP address of the server where the task is executed.
- Source IP Address (for IPv4): Enter the client IP address.
- Target Server IP Address: Enter the IP address of the target server.
- Source Network Port: This is required when an IPv6 address is used.
NOTE:You can click
to add a node or click
to delete a node.Networking Parameters
This parameter is mandatory when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
- Server Task Node
- Server IP Address
- Server Port
- Client Task Node
- Client IP Address
- Client Port
Report Interval (ms)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Interval for sending dialing test reports. The value ranges from 100 to 10,000, and defaults to 1,000.
Dialing Test Threshold
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
- Dialing Test Duration (s): The value ranges from 1 to 60, and defaults to 10.
- Total Length of Dialing Test Packets: The value ranges from 1 KB to 1,048,576 KB.
- Number of Dialing Test Packets: The value ranges from 1 to 10,000.
Dialing Test Packet Length
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario.
- If Connectivity is selected, the value ranges from 16 bytes to 65,507 bytes, and defaults to 56 bytes.
- If TCP is selected, the value ranges from 1 KB to 1,024 KB, and defaults to 128 KB.
- If UDP is selected, the value ranges from 16 bytes to 1,448 bytes, and defaults to 1,448 bytes.
Dialing Test Interval (ms)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario.
The value ranges from 10 to 10,000, and defaults to 1,000.
Dialing Test Duration (s)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario.
Dialing test duration. The value ranges from 1 to 60, and defaults to 10.
Fragmentation Policy
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to Connectivity. The default value is want.
- want: Fragmentation is disabled, even if packets are discarded.
- do: The packet is fragmented when it is too large.
- dont: No DF flag is set for fragmentation.
TTL
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to Connectivity.
Packet lifetime. The value ranges from 1 to 255, and defaults to 30.
Collection Duration (s)
This parameter is mandatory when Diagnosis Scenario is set to Network load.
Duration of load monitoring. The value ranges from 2 to 300, and defaults to 10.
Collection Interval (s)
This parameter is mandatory when Diagnosis Scenario is set to Network load.
Collection interval of load monitoring. The value ranges from 1 to 10, and defaults to 1.
Network Data Flow Statistics
This parameter is available when Diagnosis Scenario is set to Network load. It is disabled by default.
Enables or disables the network data traffic statistics function.
NOTE:After this configuration item is enabled, key functions in the kernel network protocol stack are traced and analyzed in the collection phase, which occupies a large number of system resources and increases the network latency.
This function is supported only by OSs with the kernel version 4.15.0 to 5.4.0 in the System Profiler compatibility list. The kernels of UOS 20 do not support this function.
Server CPU Affinity
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Configure the server CPU affinity and enter the CPU core ID.
Client CPU Affinity
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Configure the client CPU affinity and enter the CPU core ID.
Dialing Test Bandwidth
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Bandwidth for the dialing test. The unit is Mbit/s and Kbit/s.
Dialing Test Packet Length (byte)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Total length of a dialing test packet.
Dialing Test Packets
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Number of dialing test packets to be sent.
Number of Concurrent Connections
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Number of concurrent connections during a dialing test. The default value is 1.
Socket Buffer (byte)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
The value ranges from 1 to 425,984.
MSS (byte)
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP.
Maximum TCP fragment length. The value ranges from 88 to 1,460, and defaults to 1,460.
Support Zero Copy
This parameter is available under Dialing Test Advanced Parameters when Network dialing test is selected for Diagnosis Scenario and Dialing Test Scenario is set to TCP or UDP.
Indicates whether to support zero-copy data transmission.
Filter Criteria
This parameter is available when Packet loss diagnosis is selected for Diagnosis Scenario.
IP addresses and NIC names to be filtered.
Sampling Duration (s)
This parameter is mandatory when Packet loss diagnosis is selected for Diagnosis Scenario.
Sampling duration for packet loss diagnosis. The value ranges from 1 to 300, and defaults to 10.
Sample Kernel Packet Loss Call Stack
This parameter is available when Packet loss diagnosis is selected for Diagnosis Scenario. It is disabled by default. It samples the call stack of kernel packet loss.
Sampling Frequency (μs)
This parameter is mandatory when Packet loss diagnosis is selected for Diagnosis Scenario and Sample Kernel Packet Loss Call Stack is enabled.
Sampling frequency for packet loss diagnosis. The options are Custom and High Precision. The default value of Custom is 1 μs, and the default value of High Precision is 710 μs. The value ranges from 1 μs to 1,000 μs.
Size of the Collected File (MiB)
This parameter is available when Packet loss diagnosis is selected for Diagnosis Scenario and Sample Kernel Packet Loss Call Stack is enabled.
Size of the file to be sampled for packet loss diagnosis. The value ranges from 1 to 1,024, and defaults to 1,024.
Packet Capture Network Port
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
NIC for capturing network packets.
Filter Criteria
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
- IP Protocol Type (optional): IP protocol type for packet capture. You may select one or more protocols, or none.
- IP1
- Port1
- IP2
- Port2
- Transfer Direction: specifies the transfer direction of the captured packets. The value can be Send, Receive, or Both.
Packet Capture Duration (s)
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
Duration for capturing network packets. The value ranges from 1 to 300, and defaults to 10.
Number of Captured Packets
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
Number of packets to be captured. The value ranges from 1 to 10,000, and defaults to 1,000.
File Size
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
Size of the packet capture file. The value ranges from 10 MB to 1,024 MB, and defaults to 100 MB.
Number of Files
This parameter is mandatory when Packet capture is selected for Diagnosis Scenario.
Number of files for packet capture. The value ranges from 1 to 10, and defaults to 1.
- Click OK.
You can click the icons next to the task name to perform the following operations:
: stops the analysis task. After an analysis task is stopped, the collected information will be deleted.
: restarts the analysis task. You can modify task parameter settings and restart an analysis task. This button is available when a task is canceled or fails.
: performs the analysis again. The analysis task is renamed and restarted.
: deletes the analysis task. After a task is deleted, all data of this task will be deleted. Exercise caution when performing this operation.
: changes the task or report name. The report naming rule is the same as that of a task.
The collection and analysis task will not be interrupted if you exit or switch to another page.
After being authenticated, you can log in to the system again to view the execution progress of an ongoing task or the analysis report of a completed task.