Choosing Server - VoIP.ms Wiki

Choosing Server

From VoIP.ms Wiki

Revision as of 18:05, 18 March 2013 by Neocypher (Talk | contribs)
Jump to: navigation, search

Serverlocation3.png

Contents

Choosing a Server

VoIP.ms offers 13 different servers, but which one should you choose? One misconception is that you should pick the closest to your location, however this is not needed most of the time, for example, if you are in the USA any of the US servers will provide a really good latency and service quality, you may also want to know that there is a network tool that will help you when deciding which server you want to use, generally named a "ping", which will provide you the latency between you and the server, therefore the server which provides you less latency, should be used.


Atlanta, GA: atlanta.voip.ms 
Chicago, IL: chicago.voip.ms 
Dallas, TX: dallas.voip.ms 
Houston, TX: houston.voip.ms 
Los Angeles, CA: losangeles.voip.ms 
New York, NY: newyork.voip.ms 
Seattle, WA: seattle.voip.ms
Tampa, FL: tampa.voip.ms 
Montreal 2,QC: montreal2.voip.ms 
Toronto 2, ON: toronto2.voip.ms 
Montreal,QC: montreal.voip.ms 
Toronto, ON: toronto.voip.ms 
London, UK: london.voip.ms

What is a Ping?

Ping is a standard tool, used to test network connections. Mostly used to determine if a server or device can be reached across the network and the latency of the response.(the time it takes to send a packet to the destination and for it to return to your computer)

Ping tools are part of Windows, Mac OS X and Linux as well as some routers.

How does the ping work?

It sends request messages to a target network address or DNS names at periodic intervals and measure the time it takes for a response message to arrive and return.(better known as latency).

How to send a ping?

If pings results are not consistent, you may have an issue with Jitter, you can work around with this issue by adjusting the "Network Jitter Level" setting on your VoIP device. Usually a ping of under 150 ms is recommended in order to have good quality. The latency time to the server is important however there are also other factors that could affect the quality of the calls such as packet loss (VoIP communications are very sensitive to this), and the jitter level of your Internet connection.

The following is the output of running ping with the target losangeles.voip.ms.

#ping losangeles.voip.ms
Ping to losangeles.voip.ms [67.215.241.250] with 32 bytes de datos:
Response from 67.215.241.250: bytes=32 time=67ms TTL=52
Response from 67.215.241.250: bytes=32 time=69ms TTL=52
Response from 67.215.241.250: bytes=32 time=68ms TTL=52
Response from 67.215.241.250: bytes=32 time=67ms TTL=52
ping statistics from 67.215.241.250:
4 packets transmitted, 4 received, 0% packet lost. rtt min/avg/max/mdev = 67ms, 69ms, 67ms
  #!/bin/sh
  # Ping several servers and display Latency, Jitter and Packet Loss 
  #
  # First, create a text file with all servers you want to ping - one host name per line. 
  # The list of voip.ms servers is available at http://wiki.voip.ms/article/Choosing_Server
  myHF="voip_ping_hosts.txt"
  # Sample file:
  #    toronto.voip.ms
  #    montreal.voip.ms
  #    seattle.voip.ms
  #    chicago.voip.ms
  #    newyork.voip.ms
  #
  echo "============================================"
  printf "%-20s %7s %8s %6s\n" "VoIP Server" "Latency" "Jitter" "Loss"
  echo "============================================"
  cat ${myHF} |\
  while read myLn
  do
     ping -c 3 -w 5 -q $myLn |\
     awk '/^PING / {myH=$2}
          /packet loss/ {myPL=$6}
          /min\/avg\/max/ {
             split($4,myS,"/")
             printf( "%-20s    %3.1f    %1.3f   %4s\n", myH, myS[2], myS[4], myPL)
         }'
  done
  echo "============================================"

Output:

  ============================================
  VoIP Server          Latency   Jitter   Loss
  ============================================
  toronto.voip.ms         68.3    0.439     0%
  montreal.voip.ms        89.6    0.197     0%
  seattle.voip.ms         71.2    0.387     0%
  chicago.voip.ms         71.6    0.084     0%
  newyork.voip.ms         79.1    0.411     0%
  ============================================

Latency and its importance

Latency is very important for Voip, this will determine the time that will take for the data package transmission to reach the destination. A high latency will lead to a delay and echoes in the communication.

Latency is measured in milliseconds (ms) For example: a latency of 150ms is barely noticeable so is acceptable. Higher than that, quality starts to suffer. When it gets higher than 300 ms, it becomes unacceptable.

Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
VoIP.ms Blog
Configuration
Guides (English)
Guides (Français)
Guías (Español)
Toolbox