Debian Codegraph @

tcl/ex/red-pd/README

raw
1
2 Requirements:
3
4 1. Make sure you have the following binaries in your PATH variable
5 1. ns
6 2. gnuplot
7 3. gv
8 4. awk
9 5. grep
10 6. sort
11
12 2. perl is installed in /usr/bin/perl
13
14 3. csh is installed in /bin/csh
15
16 4. If you are running from a remote machine, the DISPLAY variable should be set correctly (for popping up the graphs automatically).
17
18 If any of the first 3 requirements are not met, you will have to modify the scripts in the right places.
19
20 Instructions for running the simulations are relative to the version of the RED-PD paper at http://www.cs.washington.edu/homes/ratul/red-pd/paper_quals.ps
21 The working directory is assumed to be ~ns/tcl/ex/red-pd
22 The commands shown below assume that all files ending in '.sh' and '.pl' are executable (can be made so using chmod +x <filename>). If that is not the case run 'file.sh' and 'file.pl' using 'csh file.sh' and 'perl file.pl' respectively.
23
24 As a result of running the scripts, the graphs will be created as postscript files in the appropriate directories. They will also pop up automatically at the end of simulation.
25
26 To run all the simualtions at one go
27 % runall.sh
28
29 Figure 9 and 16 (probability of identification)
30 % PIdent/PIdent.sh
31
32 Figure 10
33 % allUDP/allUDP.sh
34
35 Figure 11
36 % mix/mix.sh
37
38 Figure 12
39 % response/response.sh
40
41 Figure 13
42 % varying/varying.sh
43
44 Figure 14
45 % allTCP/allTCP.sh
46
47 Figure 15
48 % singleVsMulti/singleVsMulti.sh
49
50 Figure 16
51 same as Figure 9 (above)
52
53 Figure 17
54 % testFRp/testFRp.sh
55
56 Figure 18
57 % testFRp_tcp/testFRp_tcp.sh
58
59 Figure 19 and 20
60 % web/web.sh
61
62 Figure 21 and 22
63 % tfrc/tfrc.sh
64
65 Figure 23
66 % multi/multi.sh
67
68 Figure 24
69 % pktsVsBytes/pktsVsBytes.sh
70 % pktsVsBytes/pktsVsBytesA.sh
71