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

Re: [ns] no ndatabytes_ in vegas?



On Wed, 8 Mar 2000, Chris Develder wrote:

> When trying to monitor throughput in TCP, I noticed the ndatabytes_ variable
> isn't incremented when using an Agent/TCP/Vegas... (It does work for the Tahoe,
> Reno and Newreno agents, though).
> 
> Is this a bug, or is there any reason why Vegas doesn't do this?

The lines
int bytes = hdr_cmn::access(p)->size();
ndatabytes_ += bytes;

appear to be missing from tcp-vegas.cc's void VegasTcpAgent::output
while all the other variants seem to use the standard TcpAgent::output
in tcp.cc.

This looks like a trivial fix to Vegas, but I'm not entirely sure why
Vegas seems to need its own output routine. Does this mean Vegas won't
interact fully with e.g. ECN either?

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>