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

Re: [ns] How to monitor TCP througput?



Agent/LossMonitor cannot be used with TCP flows: it does not provide the 
necessary functionnalities for handshaking and stuff.

TCP troughput could be observed from trace files postprocessing thought. There 
are a few examples in tcl/ex and tcl/test. grep for awk.

> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to 
[email protected] using -f
> From: Chris Develder <[email protected]>
> To: [email protected]
> Subject: [ns] How to monitor TCP througput?
> Date: Thu, 2 Mar 2000 18:39:14 +0100
> MIME-Version: 1.0
> Content-Transfer-Encoding: 8bit
> 
> Hi,
> 
> I'm a _very_ novice user of ns, and have a problem with monitoring TCP 
traffic.
> I've been searching the mailing list for an answer, but didn't find one. (The
> question I have is not a new one though: it has been asked before (see
> http://www-mash.cs.berkeley.edu/dist/archive/ns-users/0002/0030.html). But the
> replies never really provided a solution to the problem, I think.)
> 
> QUESTION:
> How can TCP throughput be monitored?
> When you want to create a TCP flow, you attach an Agent/TCP to the source 
node,
> and an Agent/TCPSink to the destination node, and connect them, right?
> So where do you have to insert the Agent/LossMonitor, which should give you
> the bytes_ received etc.?
> 
> Kind regards,
> Chris.
> 

Tarik