Changes between Version 19 and Version 20 of Tutorials/oMF/tut2
- Timestamp:
- Oct 20, 2014, 4:07:48 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/oMF/tut2
v19 v20 1 = Exercise 2: Measuring Performance of a MobilityFirst Router =1 = Exercise 2: Measuring Performance of a !MobilityFirst Router = 2 2 3 3 [[TOC(Tutorials/oMF*, depth=2)]] … … 8 8 === Objective === 9 9 10 In this exercise, we will try to drive synthetic traffic through the router and measure key performance characteristics such as throughput and forwarding latency. Since MobilityFirst presents a hop-by-hop block data transport, we can vary the unit size of the data block and observe it's impact on the performance. We will also try to visualize the performance results using OMF's result service by installing an OML-enabled monitor on the routers.10 In this exercise, we will try to drive synthetic traffic through the router and measure key performance characteristics such as throughput and forwarding latency. Since !MobilityFirst presents a hop-by-hop block data transport, we can vary the unit size of the data block and observe it's impact on the performance. We will also try to visualize the performance results using OMF's result service by installing an OML-enabled monitor on the routers. 11 11 12 12 === Pre-requisites === … … 218 218 ==== Setting up the 'OML enabled Monitor on Routers Application' ==== 219 219 220 At this point, the network topology described and initialized in Exercise 1 is up and functional. In order to produce synthetic traffic, we will use mfping to send packets between the hosts. In order to perform more advanced network measurements, other applications are also available, such as a modified version of the commonly used application ''iperf''. In addition to the deployment specified in exercise 1, we install OML-enabled statistics monitor for MobilityFirst routers.220 At this point, the network topology described and initialized in Exercise 1 is up and functional. In order to produce synthetic traffic, we will use mfping to send packets between the hosts. In order to perform more advanced network measurements, other applications are also available, such as a modified version of the commonly used application ''iperf''. In addition to the deployment specified in exercise 1, we install OML-enabled statistics monitor for !MobilityFirst routers. 221 221 222 222 The entire script is available as part of the tutorial package as orbit/tutorial/scripts/exercise2.rb … … 251 251 }}} 252 252 253 As seen above, the OML enabled monitor will work with the MobilityFirst router that will enable us to track and visualize the forwarding performance of MFRs. In order report statistics to the OML server, the monitor periodically queries the monitor through the control port (''ctrl_port'' in our script)253 As seen above, the OML enabled monitor will work with the !MobilityFirst router that will enable us to track and visualize the forwarding performance of MFRs. In order report statistics to the OML server, the monitor periodically queries the monitor through the control port (''ctrl_port'' in our script) 254 254 255 255 … … 324 324 }}} 325 325 326 The result service supports either dumping of the entire database or a SQL-like querying option to selectively retrieve required measurement data. The below HTTP request shows an example query to retrieve the reported statistics from the OML enabled monitor for MobilityFirst Routers. In order to see the results the following web page should be retrieved using any browser. The following URL should be typed in the browser:326 The result service supports either dumping of the entire database or a SQL-like querying option to selectively retrieve required measurement data. The below HTTP request shows an example query to retrieve the reported statistics from the OML enabled monitor for !MobilityFirst Routers. In order to see the results the following web page should be retrieved using any browser. The following URL should be typed in the browser: 327 327 328 328 {{{ … … 342 342 343 343 == Finish == 344 345 Once the application has successfully completed its task, follow these steps to complete the experiments: 346 * Kill the ''mfping'' server using Ctrl-C on the corresponding node. 347 * On the grid's console running the experiment script, interrupt the experiment using the Ctrl-C key combination. 348 This will stop all the applications and will conclude the experiment.