[Csci551-talk] Interesting Test Case for Freeloaders

nikhil bhatia nikhilbh at usc.edu
Fri Apr 22 01:24:25 PDT 2005


>>> Following is a sample test case appliicable to all R/S/T . Test this to see some interesting results.

# Sample config file for CS551 Project A - Spring 2005
R
# Number of clients (nodes)
# (Assign node ID sequentially starting from 0)
5
 
# Request timeout in seconds
20
 
# Packet delay and drop probability
#Node ID        Packet delay (in msec)  Packet drop probability   Freeloader
0               10                              0.01                Y
1               10                              0.01                Y
2               20                              0.8                   N
3               10                              0.01                N    
4               10                              0.2                  N
-1              0                               0
#termination of list

# Specify which node will have which files initially
#NODE ID        Filename      
3               foo
4               foo
-1              ---
#End of list
 
# Specify the download tasks
# This is specified by download start time (in seconds from the start of simulation) and file name
#NODE ID        Filename        StartTime
0               foo             20 
1               foo             30
2               foo             35
-1              ---             -1
#End of list







More information about the Csci551-talk mailing list