wiki:DSC/dc_trial1

Version 5 (modified by seskar, 11 years ago) ( diff )

Darpa Hurdle3 with OMF-5.4

Description

Use OEDL script to execute hurdle3 transmit and receive benchmark scripts from the grid.

Hardware / Software Resources utilized

  1. Two grid nodes with USRPs.
  2. baseline-gnu-12-04-32bit.ndz: disk image loaded onto nodes. This image has all the prerequisite software to configure the USRPs.
  3. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. More information of this generator can be found here.
  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.
  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).

Set up

  • After logging into grid console, make sure all nodes are turned off (in the example below, turn off all the nodes in the grid):
    username@console.grid:~$ omf tell -a offh -t system:topo:all
    
  • Verify state of node before continuing. Make sure nodes are in the POWEROFF state.
    username@console.grid:~$ omf stat
    
  • Image nodes (this will image all nodes with USRPs with SBX daughtercards):
    username@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t inventory:topo:sbx -r 20
    
  • After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot
    username@console.grid:~$ omf tell -a offh -t inventory:topo:sbx
    
  • Turn nodes back on and verify they are in POWERON state
    username@console.grid:~$ omf tell -a on -t inventory:topo:sbx
    
  • Download the OEDL experiment script to your local directory.
    username@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb
    

Run the experiment script

  • 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.
    username@console.grid:~/UHD$ omf exec dc.rb
    
  • The output should look similar to the following:
    username@console.grid:~/UHD$ omf-5.4 exec dc.rb
    
     INFO NodeHandler: OMF Experiment Controller 5.4 (git 578791f)
     INFO NodeHandler: Slice ID: default_slice (default)
     INFO NodeHandler: Experiment ID: default_slice-2013-05-03t09.28.31.114-04.00
     INFO NodeHandler: Message authentication is disabled
     INFO Experiment: load system:exp:stdlib
     INFO property.resetDelay: resetDelay = 230 (Fixnum)
     INFO property.resetTries: resetTries = 1 (Fixnum)
     INFO Experiment: load system:exp:eventlib
     INFO Experiment: load system:exp:winlib
     INFO Experiment: load dc.rb
     INFO property.rxnode: rxnode = "node1-2.grid.orbit-lab.org" (String)
     INFO property.txnode: txnode = "node20-20.grid.orbit-lab.org" (String)
     INFO property.freq: freq = "1900000000" (String)
     INFO property.runtime: runtime = "300" (String)
     INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
     INFO exp: Give machines some time to warm up
     INFO exp: Request from Experiment Script: Wait for 1s....
     INFO [0xb703c740] (main.cpp:558) - Starting the server at
     INFO [0xb582cb40] (main.cpp:514) - Starting UDP receiver server at 5103
     INFO [0xb682eb40] (main.cpp:466) - Starting UDP sender server at 5101
     INFO [0xb602db40] (main.cpp:481) - Starting TCP receiver server at 5102
     INFO [0xb702fb40] (main.cpp:431) - Starting TCP sender server at 5100
     INFO exp: Request from Experiment Script: Wait for 1s....
    OK INFO exp: Request from Experiment Script: Wait for 1s....
    OK INFO exp: Request from Experiment Script: Wait for 1s....
    OK INFO exp: Start benchmark_rx,tx
     INFO exp: Request from Experiment Script: Wait for 300s....
     INFO exp: Stop eveything
    OK INFO exp: Request from Experiment Script: Wait for 5s....
     INFO exp: Finish it.
     INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     INFO NodeHandler:
     INFO NodeHandler: Shutting down experiment, please wait...
     INFO NodeHandler:
     INFO run: Experiment default_slice-2013-05-03t09.28.31.114-04.00 finished after 5:16
    
    
    

Attachments (1)

  • dsc-h3.rb (4.1 KB ) - added by seskar 11 years ago. OEDL script for DSC H3-like tutorial

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.