Changes between Version 10 and Version 11 of DSC/dc_trial1


Ignore:
Timestamp:
Jun 16, 2013, 4:39:24 PM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DSC/dc_trial1

    v10 v11  
    99 1. Two grid nodes with USRPs.
    1010 2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the prerequisite software to configure the USRPs.
    11  3. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. [http://www.orbit-lab.org/wiki/Software/bAM/mInterf#InterferenceAggregateManager More information of this generator can be found here.]
    12  4. Packet server: This is server that resides on the grid console and used by a transmitting node to send data packets over the air via USRP.
    13  5. dc.rb: this is the ODEL experiment script to manage GNURadio code, interference service and packet server and execute the hurdle (i.e. run the transmit and receive scripts).
     11 3. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment; more information of the waveform generator service can be found [http://www.orbit-lab.org/wiki/Software/bAM/mInterf interference AM pages.]
     12 4. Packet server: This is server that resides on the grid console and is used by a transmitting node to send data packets over the air via USRP as well as by the receiving node to submit received packets for scoring.
     13 5. dsc-h3.rb: this is the ODEL experiment script to manage the nodes, interference service and packet server and execute the transmit and receive scripts.
    1414
    1515== Set up ==
     
    2626}}}
    2727
    28  * Image nodes (this will image all nodes with USRPs with SBX daughtercards):
     28 * Image the two nodes used in the tutorial (node1-1 and node20-20):
    2929{{{
    3030username@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t node1-1.grid.orbit-lab.org,node20-20.grid.orbit-lab.org -r 20
     
    4141}}}
    4242
    43  * Download the [attachment:dc.rb OEDL experiment script] to your local directory.
     43 * Download the [attachment:dc.rb OEDL experiment script for this tutorial] to your local directory.
    4444{{{
    45 username@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb
     45username@console.grid:~$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb
    4646}}}
    4747
    4848== Run the experiment script ==
    4949
    50  * Type to following command to run the experiment. This will start the packet server, configure and start the interference generator and finally kick off the transmit and receive benchmark scripts within the nodes.
     50 * Type to following command to run the experiment. This will start the packet server, configure and start the interference generator and finally kick off the transmit and receive benchmark scripts within the nodes. The actual transmission/reception will run for 100 seconds (which can be adjusted with the property at the top of the script).
    5151{{{
    52 username@console.grid:~/UHD$ omf exec dc.rb
     52username@console.grid:~$ omf exec dc.rb
    5353}}}
    5454
     
    5959 INFO NodeHandler: OMF Experiment Controller 5.4 (git 578791f)
    6060 INFO NodeHandler: Slice ID: default_slice (default)
    61  INFO NodeHandler: Experiment ID: default_slice-2013-06-14t17.59.37.994-04.00
     61 INFO NodeHandler: Experiment ID: default_slice-2013-06-16t11.47.35.694-04.00
    6262 INFO NodeHandler: Message authentication is disabled
    6363 INFO Experiment: load system:exp:stdlib
     
    6969 INFO property.rxnode: rxnode = "node1-1.grid.orbit-lab.org" (String)
    7070 INFO property.txnode: txnode = "node20-20.grid.orbit-lab.org" (String)
     71 INFO property.rate: rate = "1.25M" (String)
     72 INFO property.modulation: modulation = "bpsk" (String)
    7173 INFO property.freq: freq = "1900000000" (String)
    72  INFO property.runtime: runtime = "300" (String)
     74 INFO property.runtime: runtime = 100 (Fixnum)
    7375 INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
    74  INFO exp: Give machines some time to warm up
    75  INFO exp: Request from Experiment Script: Wait for 1s....
    76  INFO  17:59:47.921 (main.cpp:557) - Starting the server at
    77  INFO  17:59:47.922 (main.cpp:430) - Starting TCP sender server at 5100
    78  INFO  17:59:47.923 (main.cpp:465) - Starting UDP sender server at 5101
    79  INFO  17:59:47.923 (main.cpp:513) - Starting UDP receiver server at 5103
    80  INFO  17:59:47.923 (main.cpp:480) - Starting TCP receiver server at 5102
    81  INFO exp: Request from Experiment Script: Wait for 1s....
    82 OK INFO exp: Request from Experiment Script: Wait for 1s....
    83 OK INFO exp: Request from Experiment Script: Wait for 1s....
    84 OK INFO exp: Start benchmark_rx,tx
    85  INFO exp: Request from Experiment Script: Wait for 300s....
    86  INFO  17:59:51.650 (main.cpp:505) - Rx Thread count: 1
    87  INFO  17:59:55.070 (main.cpp:457) - Tx Thread count: 1
     76 INFO exp: Give machines some time to warm up :-)
     77 INFO exp: Request from Experiment Script: Wait for 2s....
     78 INFO exp: Starting the packet server
     79 INFO  11:47:49.031 - Starting the server at
     80 INFO  11:47:49.033 - Starting UDP sender server at 5101
     81 INFO  11:47:49.033 - Starting TCP receiver server at 5102
     82 INFO  11:47:49.033 - Starting UDP receiver server at 5103
     83 INFO  11:47:49.033 - Starting TCP sender server at 5100
     84 INFO exp: Configuring interference
     85 INFO exp: Starting interference
     86 INFO exp: Starting benchmark_rx
     87 INFO exp: Starting benchmark_tx
     88 INFO exp: Runing for 100 seconds...
     89 INFO exp: Request from Experiment Script: Wait for 100s....
     90 INFO  11:47:49.318 - Rx Thread count: 1
     91 INFO  11:47:50.910 - Tx Thread count: 1
    8892console.grid.orbit-lab.org
    8993INFO   OML Client V2.8.1 [Protocol V3] Copyright 2007-2012, NICTA
    9094INFO   Net_stream: connecting to host tcp://idb2.orbit-lab.org:3003
    91  INFO  18:00:10.070 (main.cpp:239) -  TIME = 15000 msec rx/tx/bad packets=521/1678/0 rx/tx bytes=750240/2416320 success=31.0489%
    92  INFO  18:00:25.070 (main.cpp:239) -  TIME = 30000 msec rx/tx/bad packets=1185/3279/0 rx/tx bytes=1706400/4721760 success=36.1391%
    93  INFO  18:00:40.070 (main.cpp:239) -  TIME = 45000 msec rx/tx/bad packets=2052/4880/0 rx/tx bytes=2954880/7027200 success=42.0492%
    94  INFO  18:00:55.070 (main.cpp:239) -  TIME = 60000 msec rx/tx/bad packets=2677/6481/0 rx/tx bytes=3854880/9332640 success=41.3054%
    95  INFO  18:01:10.070 (main.cpp:239) -  TIME = 75000 msec rx/tx/bad packets=3392/8082/0 rx/tx bytes=4884480/11638080 success=41.9698%
    96  INFO  18:01:25.070 (main.cpp:239) -  TIME = 90000 msec rx/tx/bad packets=4242/9683/0 rx/tx bytes=6108480/13943520 success=43.8087%
    97  INFO  18:01:40.070 (main.cpp:239) -  TIME = 105000 msec rx/tx/bad packets=4957/11283/0 rx/tx bytes=7138080/16248960 success=43.9295%
    98  INFO  18:01:55.070 (main.cpp:239) -  TIME = 120000 msec rx/tx/bad packets=5509/12885/0 rx/tx bytes=7932960/18554400 success=42.7551%
    99  INFO  18:02:10.070 (main.cpp:239) -  TIME = 135000 msec rx/tx/bad packets=6064/14485/0 rx/tx bytes=8732160/20858400 success=41.864%
    100  INFO  18:02:25.070 (main.cpp:239) -  TIME = 150000 msec rx/tx/bad packets=6713/16087/0 rx/tx bytes=9666720/23165280 success=41.7293%
    101  INFO  18:02:40.070 (main.cpp:239) -  TIME = 165000 msec rx/tx/bad packets=7044/17687/0 rx/tx bytes=10143360/25469280 success=39.8259%
    102  INFO  18:02:55.070 (main.cpp:239) -  TIME = 180000 msec rx/tx/bad packets=7704/19288/0 rx/tx bytes=11093760/27774720 success=39.9419%
    103  INFO  18:03:10.070 (main.cpp:239) -  TIME = 195000 msec rx/tx/bad packets=7714/20889/0 rx/tx bytes=11108160/30080160 success=36.9285%
    104  INFO  18:03:25.070 (main.cpp:239) -  TIME = 210000 msec rx/tx/bad packets=7714/22490/0 rx/tx bytes=11108160/32385600 success=34.2997%
    105  INFO  18:03:40.070 (main.cpp:239) -  TIME = 225000 msec rx/tx/bad packets=7714/24091/0 rx/tx bytes=11108160/34691040 success=32.0203%
    106  INFO  18:03:55.070 (main.cpp:239) -  TIME = 240000 msec rx/tx/bad packets=7714/25692/0 rx/tx bytes=11108160/36996480 success=30.0249%
    107  INFO  18:04:10.070 (main.cpp:239) -  TIME = 255000 msec rx/tx/bad packets=7714/27293/0 rx/tx bytes=11108160/39301920 success=28.2637%
    108  INFO  18:04:25.070 (main.cpp:239) -  TIME = 270000 msec rx/tx/bad packets=7714/28894/0 rx/tx bytes=11108160/41607360 success=26.6976%
    109  INFO  18:04:40.070 (main.cpp:239) -  TIME = 285000 msec rx/tx/bad packets=7714/30493/0 rx/tx bytes=11108160/43909920 success=25.2976%
    110  INFO exp: Stop eveything
    111 OK INFO exp: Request from Experiment Script: Wait for 5s....
    112  INFO  18:04:55.070 (main.cpp:249) - 300000 msec timeout reached - closing connection
    113  INFO  18:04:55.070 (main.cpp:252) -  TIME = 300000 msec rx/tx/bad packets=7714/32096/0 rx/tx bytes=11108160/46218240 success=24.0341%
     95 INFO  11:48:05.910 - t=15000 msec rx/tx/bad packets=580/1678/0 rx/tx bytes=835200/2416320 success=34.565%
     96 INFO  11:48:20.910 - t=30000 msec rx/tx/bad packets=1123/3279/0 rx/tx bytes=1617120/4721760 success=34.2482%
     97 INFO  11:48:35.910 - t=45000 msec rx/tx/bad packets=2019/4880/0 rx/tx bytes=2907360/7027200 success=41.373%
     98 INFO  11:48:50.910 - t=60000 msec rx/tx/bad packets=2678/6481/0 rx/tx bytes=3856320/9332640 success=41.3208%
     99 INFO  11:49:05.910 - t=75000 msec rx/tx/bad packets=3371/8081/0 rx/tx bytes=4854240/11638080 success=41.71%
     100 INFO  11:49:20.910 - t=90000 msec rx/tx/bad packets=4121/9683/0 rx/tx bytes=5934240/13943520 success=42.5591%
     101 INFO exp: Done! Stop eveything
     102 INFO exp: Request from Experiment Script: Wait for 5s....
     103 INFO  11:49:30.910 - 100 sec timeout reached - closing connection
     104 INFO  11:49:30.910 -  TIME = 100000 msec rx/tx/bad packets=4731/10750/0 rx/tx bytes=6812640/15480000 success=44.0093%
    114105INFO   Waiting for buffered queue reader thread to drain...
    115106INFO   Buffered queue reader thread finished OK...
    116  INFO  18:04:55.080 (main.cpp:349) - Tx Thread count: 0
    117  INFO exp: Finish it.
     107 INFO  11:49:30.912 - Rx Thread count: 0
     108 INFO  11:49:30.920 - Tx Thread count: 0
    118109 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
    119110 INFO NodeHandler:
    120111 INFO NodeHandler: Shutting down experiment, please wait...
    121112 INFO NodeHandler:
    122  INFO run: Experiment default_slice-2013-06-14t17.59.37.994-04.00 finished after 5:21
     113 INFO run: Experiment default_slice-2013-06-16t11.47.35.694-04.00 finished after 2:1
    123114}}}
    124115
     
    127118username@console.grid:~$ omf tell -a offh -t node1-1.grid.orbit-lab.org,node20-20.grid.orbit-lab.org
    128119}}}
     120
     121NOTES:
     122  * In case you interrupt the execution of the script, please make sure that both packet server process on the console and python processes on the nodes are terminated before running the experiment again
     123  * Please monitor the output of the script - if there are any errors indicated, more details can be found in /tmp/"Experimen ID".log ("Experiment ID" is unique to every experiment run and is indicated at the top of the console output - in case of the run shown above the "Experiment ID" is default_slice-2013-06-16t11.47.35.694-04.00 and the log file would be available in /tmp/default_slice-2013-06-16t11.47.35.694-04.00.log)