Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Technical question about pinging
Old 09-11-2008, 12:53 AM Technical question about pinging
Experienced Talker

Posts: 38
Name: jim
Trades: 0
The short version of my question is: if a server is busy processing data, will this result in long ping response time to a user? For example, if a small number of web visitors were writing large files to a web storage site, would this affect the ping time? Or is ping time only an indication of network issues, like whether the server is having trouble handling packets, or the number of users is near capacity, etc? Maybe someone else can help me with the terminology here.
jwriter is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-11-2008, 02:15 AM Re: Technical question about pinging
ssandecki's Avatar
SEO Addict

Latest Blog Post:
Wordpress SEO Plugins
Posts: 295
Name: Stephen
Location: Chicago, IL
Trades: 0
Ping messaures the time it takes to reach one computer to another via the internet; I would believe in theory if a server was busy it would take long for it to reply to another computer, therefore increase the ping response.
__________________

Please login or register to view this content. Registration is FREE
- Learn how to get a cash advance on your pending lawsuit; if you lose your lawsuit you don't pay it back!
ssandecki is offline
Reply With Quote
View Public Profile Visit ssandecki's homepage!
 
Old 09-11-2008, 04:27 AM Re: Technical question about pinging
Average Talker

Posts: 17
Trades: 0
That is correct. the appropriate response to ping, is pong. It has to bounce back, so if the server is busy the ping time is longer... However, it does not require intense hard drive access, users uploading large files should hardly affect it...
TheException is offline
Reply With Quote
View Public Profile
 
Old 09-11-2008, 05:49 AM Re: Technical question about pinging
damien_ls's Avatar
Layershift

Posts: 474
Name: Damien
Trades: 0
It's very important to understand that the default protocol used for the ping command is ICMP. The significance of this is that many routers will deprioritise ICMP traffic and therefore this will show (in a traceroute for example) as an increase in latency - potentially even a timeout. There is also the issue of firewalls dropping such traffic completely...

So yes, ping is a useful diagnostic tool - but don't misunderstand the significance of it: generally it's useful for detecting a large discrepency and/or determining if a particular IP location can be reached. No/slow response doesn't necessarily tell you anything of interest...

Specifically in terms of your question: the network layer of the OS is responsible for handling ping responses, and therefore if the server/computer doesn't have spare CPU cycles to process the request (or if the network interface itself is highly loaded) this will cause a delay in the response or basically cause packet loss. However, it should be noted that NICs can include a significant amount of their own processing power (not certain whether or not they can response to ping requests fully independent of the OS though??). Also in most cases the CPU will probably have some spare cycles as there's a good chance it will be waiting for some disk I/O to some extent.

There are also other things that might cause increased latency such as duplex mis-match between server/switch, or bad wiring.

All of that stuff aside, I'd be interested to know more about what made you ask this question in the first place? I assume that you have some kind of problem which you are attempting to troubleshoot via ping and would like to understand your results in more detail...?

Ping itself doesn't tell you much about what's going on with the server and why you may be experiencing some kind of slowdown/issue; for example if you website is taking a while to load, a common reason could be due to Apache and/or MySQL requiring optimisation to handle the amount of traffic better. In the case of Apache you could be waiting for a free connection slot to become available to answer you, or MySQL may just be processing queries slowly due to inappropriate cache/buffer config. etc. (which would slow down loading/generating database driven pages).

High amounts of disk I/O (for any reason, but one example could be thrashing caused by swapping) will obviously slow down any disk related operation such as reading files from your website to process a page, or loading up database tables etc.

It's difficult to determine the full reason for a problem like this without the ability to examine all of the details around it.
__________________

Please login or register to view this content. Registration is FREE
:: DDS & Dedicated, UK & USA-based
Please login or register to view this content. Registration is FREE
, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2003)
damien_ls is offline
Reply With Quote
View Public Profile
 
Old 09-11-2008, 06:15 AM Re: Technical question about pinging
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Short answer is No it won't.

ping time is ONLY a measure of the time it takes for the network interface to respond.
How busy the server is won't affect it significantly. As at worst, NIC service requests are handled by an interrupt on whichever bus the card is plugged into so the ICMP request will be handled quickly, but the cards used now are DMA, where the NIC has it's own controller to respond to ICMP echo requests (pings) and handle data transfers so the server CPU doesn't even get involved in the process.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-11-2008, 09:12 AM Re: Technical question about pinging
SiberForum's Avatar
canadian

Posts: 1,497
Trades: 0
Ping describes only network issues. That is not an index of web hosting. Speed of downloading file is index for web hosting service.
__________________

Please login or register to view this content. Registration is FREE
SiberForum is offline
Reply With Quote
View Public Profile
 
Old 09-11-2008, 11:48 AM Re: Technical question about pinging
ssandecki's Avatar
SEO Addict

Latest Blog Post:
Wordpress SEO Plugins
Posts: 295
Name: Stephen
Location: Chicago, IL
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Short answer is No it won't.

ping time is ONLY a measure of the time it takes for the network interface to respond.
How busy the server is won't affect it significantly. As at worst, NIC service requests are handled by an interrupt on whichever bus the card is plugged into so the ICMP request will be handled quickly, but the cards used now are DMA, where the NIC has it's own controller to respond to ICMP echo requests (pings) and handle data transfers so the server CPU doesn't even get involved in the process.
So, for example a web server that has a high load process won't increase the ping responses?
__________________

Please login or register to view this content. Registration is FREE
- Learn how to get a cash advance on your pending lawsuit; if you lose your lawsuit you don't pay it back!
ssandecki is offline
Reply With Quote
View Public Profile Visit ssandecki's homepage!
 
Old 09-12-2008, 05:01 AM Re: Technical question about pinging
~ServerPoint~'s Avatar
Defies a Status

Posts: 1,687
Name: Travis
Trades: 0
Quote:
So, for example a web server that has a high load process won't increase the ping responses?
Exactly. That does not depend on the server
__________________
ServerPoint.com - a true hosting company since 1998
Web Hosting, colocation,
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
~ServerPoint~ is offline
Reply With Quote
View Public Profile
 
Old 09-12-2008, 05:11 AM Re: Technical question about pinging
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by ssandecki View Post
So, for example a web server that has a high load process won't increase the ping responses?
Not significantly.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-12-2008, 09:14 PM Re: Technical question about pinging
Experienced Talker

Posts: 38
Name: jim
Trades: 0
Quote:
Originally Posted by damien_ls View Post

All of that stuff aside, I'd be interested to know more about what made you ask this question in the first place? I assume that you have some kind of problem which you are attempting to troubleshoot via ping and would like to understand your results in more detail...?
First, thanks to all who have helped me understand a little more about where things happen on the network layers etc. The subject came up because I was having a discussion with an admin whose site was running really slow when trying to upload to the site. He suggested I ping his site and compare the response time with other websites, but I thought that was a pretty bogus test. As I suspected, NICs can have a significant amount of processing power and a speedy ping response doesn't really tell me if his database is handling data poorly. At least that's the consensus I am getting from this thread. I assume that when his application tells my application "OK, I can take more data now" that this really has nothing to do with activity at the network layer. I will suggest to my friend that he look at his Apache and/or MySQL optimization. Thanks again for helping me with the terminology.
jwriter is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Technical question about pinging
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31257 seconds with 12 queries