You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 41 Next »

Authors: R. Les Cottrell SLAC; Sadia Rehman, Amber Zeb NUST; Zafar Gilani SLAC & NUST; Umar Kalim Virginia Tech

Deployment

Monitoring Hosts

In 2010, following a series of workshops and site visits, the team at NUST and SLAC worked with Pakistan’s Education and Research Network (PERN) and Pakistani Universities to put together an end-to-end (E2E) network monitoring infrastructure for PERN connected higher education sites. By the end of 2010 they had have installed the PingER monitoring tools and started gathering data at 18 sites in Pakistan. This includes 4 sites (NUST, COMSATS, PERN and NCP/Quaid-i-Azam) which have been in place for a longer time. In addition they are working on a further 8 monitoring sites. Over 2010 the number of monitoring host – remote host pairs (both in Pakistan) has increased from about 30 to over 220.

Pakistan is divided into five regions: Islamabad, Lahore, Peshawar, Quetta and Karachi. These regions are chosen on a geographical basis and the hosts included in each region are all in close proximity. It is expected that hosts in one region show a similar behavior while accessing hosts in another region. This helps in analyzing which region has better infrastructure and connectivity.

As the map below shows, Pakistan’s backbone is laid out from North to South and West to East. Peshawar region connects directly to Islamabad; Islamabad connects directly only to Lahore apart from Peshawar; Lahore accesses Karachi via Faisalabad and Quetta can only access rest of the country via Karachi.

Map of the PERN backbone. Source: the Higher Education Commission, Pakistan.

The difficulty of the installations has varied from site to site. The technical installation of the software etc. has been simple and not resulted in delays. The delays between deciding to install a monitoring host and gathering measurements from the host have mostly been due to: machine availability; getting administrative approval within university;getting access to the concerned local people, and delays in making the DNS record entry. Note we still do not have a DNS entry for the  Lahore School of Economics, and had to enhance our software tools to accommodate this. Problems once it starts taking data are poor power availability, lack of backup power and access to the site when there are problems that needs physical access. The table below shows the history of the installation and remarks concerning the difficulty of installation and the reliability of the host:

Table of Pakistani PingER Monitoring sites, the URLs of the monitoring host,s the date of installation and first data, the location and remarks on installation and reliability.

Monitoring Site

URLs

Installed (Month/year)

1st Data Gathered (Month/year)

City

State

Remarks

School of Electrical Engineering and Computer Sciences, NUST

monitor.niit.edu.pk

1/2005

2/2005

Islamabad

Punjab

Reliable

COMSATS University

pinger.comsats.edu.pk

2/2007

3/2007

Islamabad

Punjab

Temporary power problems

Pakistan Education Research Network PERN, Islamabad

pinger.pern.edu.pk

4/2007

5/2007

Islamabad

Punjab

Reliable

NCP, Quaid-e-Azam University

pinger-ncp.ncp.edu.pk

4/2007

5/2007

Islamabad

Punjab

Reliable

UET at Lahore

pinger.uet.edu.pk

7/2009

8/2009

Lahore

Punjab

Reliable

International Islamic University at Islamabad

vle.iiu.edu.pk

4/2010

4/2010

Islamabad

Punjab

Reliable

Lahore School of Economics

111.68.102.40 (we still do not have a DNS registration)

4/2010

8/2010

Lahore

Punjab

Reliable, but unable to get DNS

University of Balochistan

pinger.uob.edu.pk

4/2010

4/2010

Quetta

Balochistan

Power problems

University of Arid Agriculture at Rawalpindi

pinger.uaar.edu.pk

6/2010

9/2010

Islamabad

Punjab

Lack of will

UET at Taxila

pinger.uettaxila.edu.pk

6/2010

6/2010

Islamabad

Punjab

Power, interest & expertise problems

Agriculture University of Peshawar

pinger.aup.edu.pk

6/2010

6/2010

Peshawar

Khyber Pakhtunkhwa

?

UET at Peshawar

pinger.nwfpuet.edu.pk

6/2010

6/2010

Peshawar

Khyber Pakhtunkhwa

Power & Backup problems

NED University of Engineering & Technology

npm.neduet.edu.pk

8/2010

8/2010

Karachi

Sindh

Reliable

Allama Iqbal Open University

pinger.aiou.edu.pk

10/2010

11/2010

Islamabad

Punjab

Expertise and sub-netting problems

Punjab University, ITC, Department

pinger-itc.pu.edu.pk

10/2010

11/2010

Lahore

Punjab

Reliable

National College of Arts

pinger.nca.edu.pk

10/2010

12/2010

Lahore

Punjab

Reliable

Hazara University at Mansehra

pinger.hu.edu.pk

10/2010


Peshawar

Khyber Pakhtunkhwa

?

KUST at Kohat

pinger.kohat.edu.pk

10/2010

12/2010

Peshawar

Khyber Pakhtunkhwa

Power, Backup & Expertise problems

FAST at Peshawar

pinger.pwr.nu.edu.pk

10/2010

12/2010

Peshawar

Khyber Pakhtunkhwa

Power, interest, experience

University of Science & Technology at Bannu

pinger.ustb.edu.pk

10/2010


Peshawar

Khyber Pakhtunkhwa

Power, interest & expertise

FAST at Lahore

pinger.lhr.nu.edu.pk

11/2010

12/2010

Lahore

Punjab

Power

University of Sindh at jamshoro

pinger.usindh.edu.pk

12/2010

12/2010

Karachi

Sindh

Reliable

Isra University at Hyderabad

pinger.isra.edu.pk

12/2010

12/2010

Karachi

Sindh

Reliable

Lahore College for Women University

pinger.lcwu.edu.pk

12/2010

12/2010

Lahore

Punjab

Reliable

Pakistan Education Research Network PERN, Quetta

pingerqta.pern.edu.pk

12/2010

12/2010

Quetta

Balochistan

?

In addition work is in progress to install: BUITMS in Quetta, Bolochistan; Sindh Agriculture University Tandojam in Karachi, Sindh; NCEMB University in Punjab, Lahore; Virtual University Lahore, Ounjab; Air University in Islamabad, Punjab, Kinnaired College for Women in Lahore, Punjab.

The growth in the number of monitors and host pairs being monitored over 2010, is seen below (spreadsheet ):

Map of sites

The locations of the Pakistani monitoring (red) and remote(red and blue) hosts are seen in the PingER maps below.



Pakistani PingER sites with lines showing the minimum RTT in msec. seen from NUST

Details of PingER sites in Islamabad, the lines show the average RTT seen from NUST

Details of PingER sites in Islamabad, the lines show the minimum RTT from PERN

It is interesting to see (right hand map above) the large differences in minimum  RTT between PERN and say NCP (at Quaid i Azam university in N.E. Islamabad) of < 10msec (blue line or more exactly 1.3msec) and that between PERN and NUST in the S.W. corner of between 40-80msec (red line or more exactly 44msec.). Presumably this is due to the routing of PERN connections in Islamabad region.

Also interesting to see (middle map above) is that the connection from NUST to the DSL site (blue line) is much less than that to the physically closer NUST host. This host (lo-0-gw.dsl.net.pk(203.82.63.254)) is connected via a Micronet broadband connection rather than most of the other hosts which are connected via Nayatel to the PERN backbone. Nayatel in turn owns Micronet. The route from SEECS to the DSL host goes via Nayatel as far as we can trace it. Thus the link from SEECS to PERN which goes via Nayatael may go to a Nayatel Point of Presence at the same location as the DSL host and then to the PERN metroplitan ring. This may be the cause for the lower minimum RTT to the DSL host.

Archive, analysis site

IN 2010, a second instance of the SLAC archive-analysis site was set up at NUST. This provides backup for data and access, and improved performance for Pakistani users. The NUST hosts are are connected (see the traceroute) to PERN via Nayatel.

Measurements

Using PingER, the monitoring hosts ping each remote host with 10 pings every 30 minutes. From this data we are able to measure minimum and average Round Trip Times (RTT), jitter, loss, unreachabilty (all 10 pings fail) and derive throughput and Mean Opinion Score (MOS). The data is gathered from the monitoring sites on a daily basis by the archiving  sites at NUST, SLAC and FNAL.

Results

Unreachability

A host is considered unreachable if none of the pings sent to it are responded to.  To illustrate this we chose a reliable host at SLAC  (pinger.slac.stanford.edu) and analyzed the unreachability of Pakistani hosts seen from SLAC.

Table of unreachability seen from SLAC to Pakistani hosts in 2010. Higher values (bad) are colored redder. The data is sorted by increasing unreachability in Jan 2011. Spreadsheet

Chart of the unreachability of Pakistani hosts seen from SLAC Dec 2010 and Jan 2011

Smokeping examples of unreachabillty seen from SLAC for 120 days Oct 2010 - Jan 2011.

It is seen that several hosts exhibit high unreachability. The reasons behind the high unreliability are usually site specific and vary from lack of reliable power and a source of backup power, floods, lack of access to the site when there are problems that require physical access, lack of expertise, and lack of interest from a site.

RTT and Losses for 2010



 

The average of the minimum RTT measured between regions of Pakistan between Dec-2009 and November 2010. Spreadsheet

Various percentiles for the Inter Packet Delay Variation (IPDV or jitter) between Pakistani monitoring hosts and remote host pairs. The line shows the number of pairs with measurements contributing to the results. Spreadsheet

The blue dots are the median losses seen between all pairs of monitoring and  remote hosts for each month. The error bars show the extent of the 25 and 75 percentiles. The red dots are the number of pairs contributing to the packet loss measurements. Spreadsheet

 

The minimum RTT to Peshawar and to Islamabad (left hand graph) appears to have reduced dramatically after April 2010. This is partially due to bringing on new hosts that have lower RTT between them.  In April  there was a factor of 2 increase in the number of host pairs (this is seen in the middle and right hand graphs).

If we select the same host-pairs in both say Nov 2010 and April 2010 then the improvement ((ipdv(Apr)-ipdv(Nnov))/ipdv(Apr) in IPDV is about 47%. Thus things have improved with lower IPDVs for the selected host pairs, or in other words the improvement is not just that more recntly added hosts had lower IPDVs.

Throughput

We derive the throughput from the loss and RTT measurements as throughput = 1460*8[bits]/(RTT[msec]*sqrt(loss)) kbits/s. 

Median derived throughput (blue line) with the 25% and 75% seen from SLAC to hosts in Pakistan from Dec 2003 - Dec 2010. The number of hosts being monitored in Pakistan is seen in the brown line. Spreadsheet

Derved throughput between Pakistani region in 2010. Spreadsheet

 The derived throughput seen  from SLAC in the graph on the left, has increased by roughly a factor of 2 in 5 years. Within Pakistan (graph on the right) the throughput to Quetta is the poorest, followed by Karachi. Since most monitoring hosts are in the North of Pakistan, in particular in Islamabad, there are mainly long RTTs to Karachi and Quetta and hence low throughput (since throughput goes as 1/RTT.

Mean Opinion Score (MOS)

The telecommunications industry uses the Mean Opinion Score (MOS) as a voice quality metric. The values of the MOS are: 1= bad; 2=poor; 3=fair; 4=good; 5=excellent. A typical range for Voice over IP is 3.5 to 4.2 (see VoIPtroubleshooter.com). In reality, even a perfect connection is impacted by the compression algorithms of the codec, so the highest score most codecs can achieve is in the 4.2 to 4.4 range. Using the RTT, loss and jitter we derive the MOS.


Median MOS and Inter Quartile Range (IQR) between Pakistani hosts for 2010.

MOS between Pakistani regions

MOS for fixed set of Pakistani hosts by region

 It is apparent that the MOS is very variable, and according to the middle graph above appears to be decreasing (getting worse) in time (see left hand and middle graphs). Some of this decrease is due to bringing on new hosts that have poorer MOS performance. If we fix on jusr aggregating the performance for hosts pairs that have been monitored for the whole period we get the graph on the right. This set of hosts consists of: PK.NEDUET.EDU.N1, PK.COMSATS.EDU.N2, PK.NCP.EDU.N3, PK.NIIT.EDU.N2, PK.NIIT.EDU.N7, PK.AUP.EDU.N2, PK.PERN.EDU.N1, PK.UET.EDU.N2 and PK.LSE.EDU.N3. In any case the MOS is well above the threshold of 3.5 mentioned above, so VoIP calls within Pakistan between these hosts should be successful.

Alpha

The speed of light in fibre is roughly 0.66*c (where c is the speed of light in vacuum). Using 300,000km/s as c this yields Round Trip Distance = RTD[km]=100[km/msec]*minimum_RTT[msec] as a way to derive the distance between the two hosts making the minimum RTT measurement. This assume the minimum RTT is only affected by the transmission of light in the fibre (i.e. no delays due to network devices such as routers) and that the fibre route is direct (a great circle route) between the two hosts. The use of minimum RTT is meant to eliminate most network device delays for reasonable fast circuits (e.g. at 100Mbits/s assuming no queuing the router delays is ~ 0.12msec). To accomodate these extra delays one introduces a function alpha, so that RTD[km]=alpha*100[km/msec]*minimum_RTT[msec]. Large values of alpha close to one indicate a direct path, and small values usually indicate a very indirect path. This assumes no queuing and minimal network device delays. The chart below shows the alpha values between regions in Pakistan. It is based on the minimum RTTs seen between Dec 2009 and Nov 2010.

Average Alpha measured between regions of Pakistan with the standard deviations (as error bars) and the number of host pairs contributing to the measurement. Spreadsheet

It is seen that the links between Karachi and Lahore, Karachi and Islamabad, and Karachi and Peshawar are very direct (values of alpha close to one) and are also very consistent (low values of the standard deviations).  Islamabad and Quetta apparently are connected very indirectly (low value of alpha). Looking at the map at the top this makes sense since the route goes via Karachi in the South and then back northwards to Quetta. The links between Islamabad and Lahore, Islamabad and Peshawar and Lahore and Peshawar all have lower vales of alpha and thus appear to be more indirect and have higher variability. A common element in the links between these three regions is that they all pass through Islamabad (see PERN backbone map at top). 

Conclusions

  • An extensive end-to-end network monitoring infrastructure has been set up for PERN connected universities in Pakistan. Over the last year its has grown from 30 monitoring-remote node pairs to over 500 covering most of the major universities in the main regions of Pakistan. 
  • There is a great deal of variability in the reliability (unreachability) of hosts. Much of this is due to loss of power. An effort needs to be made to understand and improve power reliability and the provision of backup for several sites.
  • Given the measured MOS, VoIP tools such as Skype should work well between PERN connected hosts.
  • The low values of alpha lead to the conclusion that there may be a lot of indirect routing in the Islamabad region. Further work with PERN is required to see if this can be remedied.
  • The poor throughput performance to Quetta is understandable. More work need to be done to understand why Karachi looks so bad. 

Acknowledge

We acknowledge the patient and persistent efforts by Zeeshan and Fahad Gilani of NUST to spearhead the installations of PingER at the various sites. Anjum ? and Adnan Kianai led the efforts at NUST. The PingER map tool was developed by Faisal Zahid while at SLAC and turned out to be extremely effective in drilling down and understanding the connections. The Smokeping tool was developed by Fahad Satti while at SLAC. We also acknowledge the continued encouragement and support from Arshad Ali of NUST.

  • No labels