Changes between Initial Version and Version 1 of DSC/dc_trial1


Ignore:
Timestamp:
May 3, 2013, 3:18:45 PM (11 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DSC/dc_trial1

    v1 v1  
     1= Darpa Hurdle3 with OMF-5.4 =
     2
     3== Description ==
     4Use OEDL script to execute hurdle 3 benchmark on the grid.
     5
     6In this tutorial we'll use the USRPs on the grid for FFT-based spectrum sensing. Each USRP (centered on a frequency with specified bandwidth) will collect data into an OML server for post processing. For details on available USRP2s on the grid, please see [http://www.orbit-lab.org/wiki/Documentation/USRP2_hw_map available USRP2 HW].
     7
     8== Hardware / Software Resources utilized ==
     9 1. Two grid nodes with USRPs.
     10 2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the precompiled - software required to configure the USRPs and analyze recorded data. The USRP2's interface with the node is already configured.
     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
     14== Set up ==
     15 * To get started first make a reservation on the [https://www.orbit-lab.org/schedule/ Orbit Scheduler] for using the Grid.
     16
     17 * After logging into grid console, make sure all nodes are turned off
     18{{{
     19nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210
     20}}}
     21
     22 * Verify state of node before continuing. Make sure all nodes are in the POWEROFF state.
     23{{{
     24nilanjan@console.grid:~$ omf stat
     25}}}
     26
     27 * Image nodes
     28{{{
     29nilanjan@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t system:topo:n210 -r 20
     30}}}
     31
     32 * After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot
     33{{{
     34nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210
     35}}}
     36
     37 * Turn nodes back on and verify they are in POWERON state
     38{{{
     39nilanjan@console.grid:~$ omf tell -a on -t system:topo:n210
     40}}}
     41
     42 * Download the OEDL experiment script to your local directory.
     43
     44== Run the experiment script ==
     45
     46 * 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.
     47{{{
     48nilanjan@console.grid:~/UHD$ omf exec dc.rb
     49}}}
     50
     51 * The output should look similar to the following:
     52{{{
     53nilanjan@console.grid:~/UHD$ omf-5.4 exec dc.rb
     54
     55 INFO NodeHandler: OMF Experiment Controller 5.4 (git 578791f)
     56 INFO NodeHandler: Slice ID: default_slice (default)
     57 INFO NodeHandler: Experiment ID: default_slice-2013-05-03t09.28.31.114-04.00
     58 INFO NodeHandler: Message authentication is disabled
     59 INFO Experiment: load system:exp:stdlib
     60 INFO property.resetDelay: resetDelay = 230 (Fixnum)
     61 INFO property.resetTries: resetTries = 1 (Fixnum)
     62 INFO Experiment: load system:exp:eventlib
     63 INFO Experiment: load system:exp:winlib
     64 INFO Experiment: load dc.rb
     65 INFO property.rxnode: rxnode = "node1-2.grid.orbit-lab.org" (String)
     66 INFO property.txnode: txnode = "node20-20.grid.orbit-lab.org" (String)
     67 INFO property.freq: freq = "1900000000" (String)
     68 INFO property.runtime: runtime = "300" (String)
     69 INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
     70 INFO exp: Give machines some time to warm up
     71 INFO exp: Request from Experiment Script: Wait for 1s....
     72 INFO [0xb703c740] (main.cpp:558) - Starting the server at
     73 INFO [0xb582cb40] (main.cpp:514) - Starting UDP receiver server at 5103
     74 INFO [0xb682eb40] (main.cpp:466) - Starting UDP sender server at 5101
     75 INFO [0xb602db40] (main.cpp:481) - Starting TCP receiver server at 5102
     76 INFO [0xb702fb40] (main.cpp:431) - Starting TCP sender server at 5100
     77 INFO exp: Request from Experiment Script: Wait for 1s....
     78OK INFO exp: Request from Experiment Script: Wait for 1s....
     79OK INFO exp: Request from Experiment Script: Wait for 1s....
     80OK INFO exp: Start benchmark_rx,tx
     81 INFO exp: Request from Experiment Script: Wait for 300s....
     82 INFO exp: Stop eveything
     83OK INFO exp: Request from Experiment Script: Wait for 5s....
     84 INFO exp: Finish it.
     85 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     86 INFO NodeHandler:
     87 INFO NodeHandler: Shutting down experiment, please wait...
     88 INFO NodeHandler:
     89 INFO run: Experiment default_slice-2013-05-03t09.28.31.114-04.00 finished after 5:16
     90
     91
     92}}}