Index of /rti/ebi/projects/proxy/static/experiment
Name Last modified Size Description
Parent Directory -
Copy (2) of simulato..> 13-Feb-1999 02:52 12K
Copy of simulator.pl 13-Feb-1999 02:52 12K
atp.pl 13-Feb-1999 02:54 9.1K
class_patterns.pl 13-Feb-1999 02:52 2.7K
comm_prompt.html 22-Feb-1999 00:08 5.6K
create_logs.pl 22-Feb-1999 00:20 631
delays.pl 13-Feb-1999 02:52 1.9K
ex_algo.pl 13-Feb-1999 02:53 21K
fifo.pl 22-Feb-1999 00:24 3.2K
filter.pl 22-Feb-1999 00:23 3.5K
find_nexts.pl 13-Feb-1999 02:53 1.3K
find_patterns.pl 13-Feb-1999 02:53 2.3K
find_relations.pl 13-Feb-1999 02:54 2.7K
find_transitions.pl 13-Feb-1999 02:54 2.6K
infinite.pl 22-Feb-1999 00:23 2.5K
infinite old.pl 13-Feb-1999 02:54 2.3K
lfd.pl 22-Feb-1999 00:23 4.4K
lru.pl 22-Feb-1999 00:24 5.9K
memuse.pl 13-Feb-1999 02:52 1.9K
merge.pl 13-Feb-1999 02:55 660
next_acc.pl 13-Feb-1999 02:55 2.4K
pd.pl 22-Feb-1999 00:24 15K
predict_delays.pl 13-Feb-1999 02:55 4.9K
report_delays.pl 13-Feb-1999 02:55 2.9K
rez_pred_delays.pl 13-Feb-1999 02:55 667
simulator.pl 13-Feb-1999 02:55 23K
sort_delays.pl 13-Feb-1999 02:55 2.4K
yeh.pl 13-Feb-1999 02:55 5.9K
README
- Requirements:
- Perl - I run simulations
with Perl for Windows but with minor changes they can be run under any
Unix-like OS. The only difference is that you have to add full path to
files which are processed under Unix and
#!/usr/local/bin/perl
(full path to Perl
interpreter) is necessary for scripts in Unix.
(e.g. filter.plwhich I run on Solaris)
- Basic knowledge of Perl
- Traces which can be obtained on address:
ftp://ftp.ircache.net/Traces/
for more information visit
http://ircache.nlanr.net/
Note: Those traces are updated daily.
- A lot of disk space for traces and a lot of
memory for simulation
- Installation:
- Download traces for number of days you want to
simulate
- Unzip
them in the same directory and add extension .trc
- Run
filter.pl to make one very large file. This program filters traces and
put only necessary data for every URL in that file. It also renames URLs
with numbers to reduce amount of data to be stored in the operating
memory during simulation.
- Run create_logs.pl to create
log files (only first time!).
- There
are few algorithms simulated fifo (fifo.pl), lru (lru.pl), lfd (lfd.pl), infinite (infinite.pl) and pd (pd.pl) (the one I'm currently working on)
- Run
- under
Windows type
perl filename.pl
or under Unix-like OS type
perl ./filename.pl
- for
some programs it is necessary to manually create log file. Create simple
and empty text file with required file name
- Report
- Results of a simulation are reported on the screen and in the log
file. Each algorithm has it's own log file and results of following
simulations are appended to previous results.
- hit
rate and weighted (byte) hit rate are reported
- expiration date is not accounted
- Example
- How to install simulator and start simulation
click here...
- Notes:
- Any bugs and questions forward to dwecci@sezampro.yu .
- Other files in the current directory are not
necessary for simulation and therefore are not explained. If you have
questions about them forward questions to dwecci@sezampro.yu .
- Have a nice simulation :) .