Hi,
I have some questions about http simulation First, what is the definition of ranvar-main-age. Does it mean the time for the server to renovate a page? Second, when I coded as below, the trace file is simply to understand. But after I coded the mainsize by random variables as below, the trace file became hardly to understand. Please help me.. TCL: set pgp [new PagePool/CompMath] $pgp set main_size_ 1000 ;# Size of main page $pgp set comp_size_ 5000 ;# Size of embedded object $pgp set num_pages_ 3 ;# Number of objects per compoud page TRACE FILE: r 31.43331 0 1 tcp 40 ------- 0 0.0 2.0 388 63 + 31.43331 1 2 tcp 40 ------- 0 0.0 2.0 388 63 - 31.43331 1 2 tcp 40 ------- 0 0.0 2.0 388 63 r 31.455913 1 2 tcp 40 ------- 0 0.0 2.0 388 61 r 31.457113 1 2 tcp 40 ------- 0 0.0 2.0 388 62 r 31.458313 1 2 tcp 40 ------- 0 0.0 2.0 388 63 + 31.458313 2 1 ack 1280 ------- 0 2.0 0.0 38982 64 - 31.458313 2 1 ack 1280 ------- 0 2.0 0.0 38982 64 r 31.483416 2 1 ack 1280 ------- 0 2.0 0.0 38982 64 + 31.483416 1 0 ack 1280 ------- 0 2.0 0.0 38982 64 - 31.483416 1 0 ack 1280 ------- 0 2.0 0.0 38982 64 r 31.50944 1 0 ack 1280 ------- 0 2.0 0.0 38982 64 But after I code the mainsize by random variables as below, the trace file become hardly to understand. TCL: set tmp [new RandomVariable/LogNormal] $tmp set avg_ 8.72 $tmp set std_ 2.16 set pgp [new PagePool/CompMath] $pgp set main_size_ $tmp ;# Size of main page $pgp set comp_size_ 5000 ;# Size of embedded object $pgp set num_pages_ 3 ;# Number of objects per compoud page set tmp [new RandomVariable/Constant] $tmp set val_ 10 $pgp ranvar-obj-age $tmp set tmp [new RandomVariable/Constant] $tmp set val_ 5 $pgp ranvar-main-age $tmp Trace file r 11.150106 1 2 tcp 40 ------- 0 0.0 2.0 1 2 r 11.150175 1 2 tcp 83 ------- 0 0.0 2.0 1 3 + 11.2 2 1 ack 40 ------- 0 2.0 0.0 1 4 - 11.2 2 1 ack 40 ------- 0 2.0 0.0 1 4 r 11.225003 2 1 ack 40 ------- 0 2.0 0.0 1 4 + 11.225003 1 0 ack 40 ------- 0 2.0 0.0 1 4 - 11.225003 1 0 ack 40 ------- 0 2.0 0.0 1 4 r 11.250035 1 0 ack 40 ------- 0 2.0 0.0 1 4 v 16.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}} v 21.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}}----------(how to explain it) v 26.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}}----------(how to explain it) v 31.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}} v 36.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}} v 41.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}} v 46.150175439999998 eval {set sim_annotation {S 2 INV _o64:0}} + 50 2 1 ack 40 ------- 0 2.0 0.0 1 5 Best regard,