Changes between Version 3 and Version 4 of GEC21Agenda/ChoiceNet/run_tests_part2


Ignore:
Timestamp:
10/17/14 13:02:42 (9 years ago)
Author:
xinming@umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ChoiceNet/run_tests_part2

    v3 v4  
    4040
    4141
    42 == Test using wget ==
     42== Test 1: wget ==
    4343
    4444First start a simple http server on H1:
     
    5353}}}
    5454
    55 The ping is used to let the controller know the existence of H1.
     55The ping is used to let the controller know the existence of H1. This only needs to be done once after the ChoiceNet server start..
    5656
    5757We then use wget on the other terminal of H2
     
    7474Password: customer
    7575
    76 After you paid, click the "Return to marketplace@choicenet.info". After the webpage redirection, the marketplace will be notified about this payment, and the download should start. You will see the output on TERMINAL 3:
     76[[Image(screenshot_SDN_03.jpg, 50%)]]
     77
     78[[Image(screenshot_SDN_04.jpg, 50%)]]
     79
     80After you have paid, click the "Return to marketplace@choicenet.info". After the webpage redirection, the marketplace will be notified about this payment, and the download should start. You will see the output on TERMINAL 3:
    7781
    7882
     
    9094The download speed should match the speed you select in the ChoiceNet App.
    9195
     96
     97== Test 2: mplayer ==
     98
     99One possible use case of ChoiceNet is the on-demand online video streaming. In this test, we are using mplayer to stream a video from H1 to H2, and print the statistics on H2. You will see the playback quality varies for different choices.
     100
     101The steps of testing with mplayer is similar to testing with wget, just repeat the commands in Test 1, but replace the wget command with the following command:
     102
     103'''On TERMINAL 3 (H2 node)'''
     104
     105{{{
     106ping 10.10.4.1 -c 1
     107mplayer http://10.10.1.1:8080/sample.mp4 -vo null -nosound
     108}}}
     109
     110After you have paid for the path service, you can see the streaming starts and the statistics print on H2. If you choose the 1 Mbps link, you will notice the cache utilization is below 50% and the performance issue warning.
     111
     112[[Image(screenshot_SDN_02.jpg, 60%)]]