This is a word that you have probably heard before, especially if you are a fan of video games. If you’ve never heard of it, then by chance, this article will deal with the notion of ping.
This is a word we quite often hear in the world of computing, The Packet Internet Groper, can, when we use the word in the first sense, be seen as a sonar. Today, the term is also used in the “current” language, to designate the latency that exists between two machines.
What is the Ping
Ping is an existing computer command since the mid-1980s, which is used to find out if a network machine is online, and to calculate the time it takes for a signal to arrive. I was talking about sonar a little higher, simply because, if we think about it, the operating principle is exactly the same.
A sonar sends a sound in the water, which will be echoed and returned by the obstacles. By listening to these “returns”, it is possible to determine the distance to which the obstacle is located or even its shape. The Ping command works in the same way, we send data packets to a target, another machine, and we wait for his answer. As we know when the package was issued, when it comes back, we know the time it took to go back and forth.
Let’s explain this a bit more technically, the ping command uses the ICMP protocol, a protocol that makes it easy to diagnose the conditions for transmitting computer data. Two functions of this protocol are used by ping, echo request, and echo reply. If you speak a little English, as you have already understood, the machine on which the ping is executed sends an echo request to the target machine, which upon receipt, responds with an echo reply.
The ping test command is used extensively by network administrators and individuals who are very familiar with the things of computing. Indeed, there is no easier way to know if a network device is running or not, or if there is a network problem between the transmitter and the target.
For example, in business, imagine that the network administrator wants to know if the post 83, having for IP 192.168.1.83 (yes the park has been done!), Is lit or not. A simple ping on this IP will immediately give him the answer (if the network is working properly). Either the command ends and then the computer is turned on, or all packets are lost and then the PC is turned off.
Ping is a bit of the basis of network diagnostics.
To use the Ping command (under Windows), you will have to open what is called a command prompt. To do this, there are several ways, the easiest way is to right click on the start button, and choose “Command Prompt”. There it will be necessary to type “Ping ‘the IP address or the name of the machine'”.
Let’s try a ping test with our blog:
The answer informs us of several things. Firstly, the machine hosting the blog is on, as the packets are back. And secondly, the average ping on 4 trials is 25 ms. As you can see it is also a good way to find an IP from a domain name.
It is possible to use different arguments to modify the basic command, for example, to use a specific number of packets, or to let the packet send until it is manually terminated, or specify a maximum response time. You can know all these arguments by entering “Ping /? In the command prompt.
What is a Good Ping?
The ping, the response time between two machines is influenced by a multitude of things! Already, the one that must come first to mind is the geographical distance. It is quite logical that the further away a machine is, the longer it takes the signal to reach and return. If you ping a server located in France, the response time will be smaller than if the server is located in China, for example.
The number of jumps that will achieve the order before arriving safely is also a determining factor. This number of jumps represents the number of machines through which the command will pass before reaching its target.
Finally, the quality of the equipment through which the request will be made is also important.
In addition, the ping does not have the same impact depending on the use of the server that will be made. For example, a ping may be higher if you visit a website without it being necessarily very disturbing. On the other hand, in the field of video games, the ping must be as low as possible.
Indeed, if you are reading an article on a site, the response time will feel the display of the (or) page (s). But then, it will have more influence, since you use a static content. The page is loaded on your computer, then there is nothing to load and the connection is no longer used.
On the contrary, with an online game server, the communications are constant, the response time is then of decisive importance for the player. If the ping is too high, your actions in play will be late on the screen. The more nervous a game is, the more it will require a low ping.
One could say that for an FPS, a type of game very nervous, above 100 pings, it becomes difficult. But it’s very subjective, players will complain about their ping when it reaches 30 or 40, others get to play with 100 or 120 pings. It all depends on your playing habits and the ping you are used to. For me who enjoys a very fast Fiber connection for several years, a bad ping is a ping of more than 30 Ms. However in some areas of France you can not even approach this value because of the quality of your Internet connection.
One last small precision. The ping of a machine can be used to conduct DDoS attacks, denial of service attacks. This kind of attack overloads a network infrastructure, or server, to make it inoperative. Many institutions (for example) or cautious people set their machines to not respond to ping requests. So that means that a server that does not respond to ping is not necessarily offline.