Changes between Version 59 and Version 60 of GeniTmixCalibTutorial
- Timestamp:
- 06/19/14 20:45:28 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeniTmixCalibTutorial
v59 v60 50 50 }}} 51 51 52 2. '''Edit the tmix.conf''' file using a terminal text editor such that your Crecv and Cinit lines are the following. 52 2. '''Repeat''' for the other node. 53 54 3. '''Edit the tmix.conf''' file on both nodes using a terminal text editor such that your Crecv and Cinit lines are the following. 53 55 {{{ 54 56 Cinit_Trace = /opt/tmix-1.2/data/1of10.cinit.tcvec … … 63 65 Note that the filenames are swapped on the "right" node. All you should need to change is what is after "data/" and before ".cinit" or ".crecv". You are now ready to run the tmix experiment. 64 66 65 3. Tmix relies upon a pre-determined start time to synchronize tmix on the two nodes. On both nodes run the following command to determine the time and date:67 4. Tmix relies upon a pre-determined start time to synchronize tmix on the two nodes. On both nodes run the following command to determine the time and date: 66 68 {{{ 67 69 date … … 70 72 Decide on a start time about a minute or two in the future, relative to the time displayed by the date command. It should be far enough in the future for you to issue the following command on both nodes and allow tmix to initialize. 71 73 72 4. Finally, execute the following command on both nodes:74 5. Finally, execute the following command on both nodes: 73 75 {{{ 74 76 tmix -s HH:MM:SS tmix.conf … … 76 78 where HH:MM:SS is the chosen start time in hours minutes and seconds. 77 79 78 5. Tmix on both hosts will load the data files and then wait until the designated start time.80 6. Tmix on both hosts will load the data files and then wait until the designated start time. 79 81 You will see "Running for 720 seconds" once tmix is ready to go. When the start time arrives, Tmix will start running for 12 minutes (a 10 minute experiment plus 2 minutes of buffer). You will not see any indication on the terminal that it has started running. 80 82 81 6. One way to verify that tmix is running is to open another SSH terminal to either node and type:83 7. One way to verify that tmix is running is to open another SSH terminal to either node and type: 82 84 {{{ 83 85 top … … 85 87 This shows a listing of the most active processes. You should see tmix at the top of the list once it starts. Top can also give you an indication of what percentage of the CPU tmix is using ( in the %CPU column). If you see numbers near 80% or 90% you are near the capacity of the number of connections that this pair of nodes can simulate. To exit top type 'q'. 86 88 87 7. Once the experiment is complete, a list of statistics will be output to the console. Also, a set of log files with extentions .ert, .trt, .unc, .rt, and .ts will be created in the directory. While tmix runs it is customary to experience a few errors, where connections fail to open or close. It is also customary to see several errors at the end of the experiment indicating that some connections failed to close. If, however, you see a steady stream of errors, something is wrong or you are trying to simulate too much traffic. Type "Ctrl-c" on both terminals, and verify your tmix.conf file, and ensure you followed the above directions.89 8. Once the experiment is complete, a list of statistics will be output to the console. Also, a set of log files with extentions .ert, .trt, .unc, .rt, and .ts will be created in the directory. While tmix runs it is customary to experience a few errors, where connections fail to open or close. It is also customary to see several errors at the end of the experiment indicating that some connections failed to close. If, however, you see a steady stream of errors, something is wrong or you are trying to simulate too much traffic. Type "Ctrl-c" on both terminals, and verify your tmix.conf file, and ensure you followed the above directions. 88 90 89 8. To determine the number of bytes transferred during your experiment type the following on the '''"right"''' SSH terminal:91 9. To determine the number of bytes transferred during your experiment type the following on the '''"right"''' SSH terminal: 90 92 {{{ 91 93 bytesTxfrd tmixTutorial.rt … … 93 95 Plotting this number in relation to the number of connection vectors for several experiments using different portions of traffic will allow us to determine at what point we can no longer reliably emulate traffic with a single pair of nodes. Running this command on the "left" node will give us the number of bytes in the opposite direction. This is not what we want to plot, however, because the bytes transferred in the opposite direction were less for the monitored link, and therefore are not the "weakest link", and will not be impacted as much when resources are saturated. 94 96 95 9. To return to your home directory type:97 10. To return to your home directory type: 96 98 {{{ 97 99 cd .. … … 99 101 100 102 == D Iterate == 101 [[Image(calibration.png, 550, nolink, right)]] '''Repeat steps 1 through 9of section C''' for various input files (i.e. 1of02.cinit.tcvec), and plot the resulting bytes transferred. You should reach a point where the linear growth stops. You can use the following table to record your results.103 [[Image(calibration.png, 550, nolink, right)]] '''Repeat steps 1 through 10 of section C''' for various input files (i.e. 1of02.cinit.tcvec), and plot the resulting bytes transferred. You should reach a point where the linear growth stops. You can use the following table to record your results. 102 104 103 105