
1) What can this simulator simulate?

This version of web cache simulator "webc" can do simulations for these caching
algorithms: LRU, LFU, SIZE, PARTITIONED CACHE.

   
2) Configurating the parameters of the simulation

"webc" reads trace from a file (or standard input by default), and put the
simulation results to a specified file (or standard output by default).
There is also a file called "script file" working for this program. The script
file specifies which caching algorithms and what parameters the simulator
should simulate. You can conveniently config this file to let the simulator
run different experiments.
   
For the full list of the command line arguments, you may type "webc -h" to
get them.
   
   
3) The format of traces

This simulator "webc" reads traces in the following format (6 fields per line):

       server  path  size  cost  last_modify  timestamp

Please note that the "server" and "path" must be mapped to numbers before
a trace can be fed into the simulator.

Original traces may have different formats.
  (Please refer to their websites for their detailed formats respectively.)
  (The sample trace I included here is from NLANR.)

You should write small programs to convert the original traces from their
original formats to the above format required by our simulator "webc".

