Home > Common Problem > How to solve network delay

How to solve network delay

(*-*)浩
Release: 2019-06-10 11:06:46
Original
5197 people have browsed it

In many games, the term network delay often appears. Some players have high delay and some have low delay. Network latency refers to the round-trip time for a data packet to be sent from the user's computer to the website server and then immediately returned from the website server to the user's computer. In layman's terms, it is the time it takes for data to be transferred from one side of the computer to the other.

How to solve network delay

The origin of network delay (Recommended learning: PHP video tutorial)

A signal There is a delay between its sending and its final acceptance. Every network is subject to this latency. For example, when you type a key on your computer to save a file to the network, the file's data must pass through a network interface card, a hub in the network, a switch or router, and more before it reaches the server's hard drive. cables and network interface cards on the server side. Although electrons travel quickly, they still have to go through the process of transport. There is bound to be a short delay between the moment you type a key and the moment the server receives the data. This delay is called latency.

At the same time, when connecting multiple network segments, the delay on the network will also increase. In order to limit latency and avoid associated errors, each type of media is assigned a maximum number of connection segments.

Causes of high latency

High network latency may be due to the following reasons:

1. The number of routing hops between the local machine and the server excessive. Since the transmission speed of light/electricity is very fast, their propagation time in the physical medium is almost negligible, but the processing time of the router to forward the data packet is not negligible. When there are too many route forwarding processes in the link from the local machine to the server, the network delay will be obvious.

2. The network bandwidth is not enough. Excluding other factors, if the client and server are directly connected through a router, but the bandwidth is only 10Kbps, but there are multiple applications that need to transmit data that far exceeds the bandwidth of 200Kbps, this will cause a large amount of data loss, which will manifest as a response delay. hour.

3. Insufficient processing bandwidth. Excluding other factors, if the client and server are directly connected through a router and the bandwidth is sufficient, but the server's processing power is insufficient, response delays will also occur.

Solution

Computers with local dial-up Internet access

1. Generally, the high network delay of playing games on computers with local dial-up Internet access is due to the current The network usage is too high. Many people will say, I don’t have any software open on my computer. How can the network usage be high? In fact, this is related to the background processes of many current players. For example, after installation of pps, Qvod, Baidu Video and other players, the process will automatically start every time the computer is turned on, and local resources will be continuously uploaded, causing the network speed to be very slow.

2. The solution is very simple, just close this process. Press ctrl alt delete at the same time to bring up the task manager, and then click "Processes".

3. Find the three processes of "PPSAP", "QvodTerminal.exe", and "baidup2pservice.exe", select them, and click "End Process" - "OK".

4. Then click "Start" - "Run" - enter "msconfig", press Enter, click "Start", uncheck the three processes mentioned in step 3 above, and then click " OK" and select "Start the computer without restarting yet". In this way, these processes will not start automatically next time you turn on the computer.

For more PHP-related technical articles, please visit the PHP Graphic Tutorial column to learn!

The above is the detailed content of How to solve network delay. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template