this post was submitted on 16 Jun 2023
22 points (100.0% liked)

Linux

48372 readers
1894 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello! I'm trying to ping some lemmy instances to understand which one is the faster, so I'm just using the ping command:

$ ping lemmy.ml
PING lemmy.ml (54.36.178.108) 56(84) bytes of data.
64 bytes from lemmy.ml (54.36.178.108): icmp_seq=1 ttl=49 time=24.4 ms

ping lemmy.world
PING lemmy.world (135.181.143.230) 56(84) bytes of data.
64 bytes from static.230.143.181.135.clients.your-server.de (135.181.143.230): icmp_seq=1 ttl=52 time=58.2 ms

but if I try with certain instances:

ping vlemmy.net
PING vlemmy.net (109.78.160.70) 56(84) bytes of data.




it just hangs there, forever. if I try to ctrl+C it, it displays

^C
***
vlemmy.net ping statistics
***
13 packets transmitted, 0 received, 100% packet loss, time 12267ms

why does this happens? I can perfectly visit vlemmy.net from my browser so I really can't understand whay is this happening

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (4 children)

ping nowadays is overrated anyway. If a server responds to ICMP and how fast it does it does not really say much about "how fast" a website is. It only tells you that a) ICMP requests and responses are not blocked and b) how fast ICMP requests get answered.

That's it. It may not even tell you that a website is online because a load balancer may be responding to the ICMP request while the hosts behind it are offline.

People value ping responses way too highly.

httping may be a better tool to measure "how fast" a website is responding.

[–] [email protected] 6 points 1 year ago (1 children)

Also every major browser has a tool for timing and seing how long a site and it's components load. You could test it with that but even then; load times will vary slightly depending on what the instances have to load.

But probably a better way than pings ¯_(ツ)_/¯

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Correct, especially with all the dynamic loading and rendering websites nowadays do measuring in a web browser is waaay better than doing ICMP/ping requests or even httping requests.

It depends on what you are trying to measure ofc but ICMP/ping does not tell you almost anything about how fast a website is.

[–] raspberriesareyummy 3 points 1 year ago (1 children)

People value ping responses way too highly.

I beg to differ. Not everyone's use of the internet is limited to http(s) - ping is an invaluable tool to determine round trip times of the underlying network infrastructure & therefore assess e.g. the potential throughput of TCP based protocols for given window sizes. Also, to assess delay in UDP based communication.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Yeah that's what I was saying though. OP was not measuring that, that's my point.

[–] tubbadu 2 points 1 year ago

httping may be a better tool to measure “how fast” a website is responding.

this works well, thank you! the results are similar to the ones obtained with ping, but vlemmy.net and other instances that ping couldn't reach are correctly measured. seems that lemm.ee is the fastest for me

[–] [email protected] 2 points 1 year ago

Ping is still very good because IMCP it is built into almost all network interfaces. So it it is a great tool if you want to check if a host is reachable from the device. But yeah, it is different than anything that has to do with websites.