[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web Traffic using Web Cache



Hi NS-users,
 
I use  ~ns/tcl/ex/simple-webcache-comp.tcl to implement  tcp/ip with Web traffics.
 
My final goal is to get TCP throughput and delay.
So I need to get these values like pdrops_, ... bind variables.
 
        set     pdrops          [$qmon_ set pdrops_]
        set     parrivals       [$qmon_ set parrivals_]
        set     fin_ack         [$tcp_src set ack_]
        set cwd [$tcp_src set cwnd_]
        set acwd [$tcp_src set awnd_]
        set rtt [$tcp_src set rtt_]
        set srtt [$tcp_src set srtt_]
 
can I get these values even if I use simple-webcache-comp.tcl?
if so, how?
 
This file seems to limit the freedom for TCP use.
 
Also, I need to assign flow_id manually for each tcp connection. without webtraffic (with ftp),
it is easy like $tcp_src set fid    1
but how to do in simple-webcache-comp.tcl  
 
Thanks you in advance.
 
Tai Suk Kim