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

Re: FlowID number wraps around at 255.



Hi, Haobo,
Thank you for giving guidance last time. I have another NS problem, and
desperately need help.
I am adding the dynamic window advertisement feature to fullTcp. I need
your suggestion how to start. 

Thanks

Ming

On Tue, 14 Dec 1999, Haobo Yu wrote:

> I assume you were using PagePool/WebTraf. It sets the fid_ of the tcp
> agents in PagePool/WebTraf::launch-req{} in tcl/webcache/webtraf.tcl. The
> object id is got from WebPage::LASTOBJ_ in webcache/webtraf.cc (triggered
> in WebPage::expire()). 
> 
> As you can see, LASTOBJ_ is a global integer so I don't see why it would
> wrap around at 255. 
> 
> - Haobo
> 
> BTW, I tested it with tcl/ex/large-scale-web-traffic.tcl, and I could not
> see the flowid wrap around in the output ns trace file. 
> 
> On Tue, 14 Dec 1999, Peter Pieda wrote:
> 
> > Hello,
> > 
> > Is there a way to prevent the FlowId wrap around of 255?
> > 
> > I haven't been able to track down where the fid_ is incremented or wrapped
> > around, etc.
> > Checked out the defination of FlowId, int fid_, and it allows for a much
> > larger range of flowIds than 255.
> > 
> > I'm using the PagePool/WebModel. In this model, each object has a TCP
> > connection
> > with a FlowId allocated for it. i.e. If you have 1 session, 2 pages, and 3
> > objects per page,
> > the values of FlowId include 1,2,3,4,5,6. 
> > 
> > Therefore, If I have in total more than 255 objects to be transmitted, the
> > FlowIds
> > start to be repeated.
> > 
> > I'm trying to track the transactions per second for example, so I
> > trace the number of FlowIds being used, or repeated etc. This works ok. 
> > But, depending on the # of concurrent Objects and the # of Clients/Servers,
> > this method
> > won't work. 
> > 
> > Thanks for your help.
> > 
> > Peter
> > 
> > 
> > 
> > > -----Original Message-----
> > > From:	Yung Yi [SMTP:[email protected]]
> > > Sent:	Tuesday, December 14, 1999 1:45 AM
> > > To:	George Khoury (ERA)
> > > Cc:	ns-users
> > > Subject:	Re: RTP/UDP
> > > 
> > > If you can get help about RTP,
> > > Just see
> > > $ns/rtp.cc, session-rtp.cc
> > > $ns/tcl/rtp/*.
> > > 
> > > You are right.
> > > In ns , rtp and udp is not separated from each other.
> > > 
> > > ----- Original Message ----- 
> > > From: George Khoury (ERA) <[email protected]>
> > > To: <[email protected]>
> > > Sent: Tuesday, December 14, 1999 7:13 AM
> > > Subject: RTP/UDP
> > > 
> > > 
> > > > Hi all ns-users,
> > > > 
> > > > I have a question regarding the protocol suite RTP/UDP.
> > > > 
> > > > I would like to use the suite RTP/UDP in my simulations but I don't know
> > > how to do it. In ns RTP and UDP are separate agents thus I cant use them
> > > together in the same node.
> > > > 
> > > > I have looked in udp.cc and could see that the udp header is using the
> > > rtp header but I couldn't understand in which way.
> > > > 
> > > > I would appreciated if someone could give some advice.
> > > > 
> > > > Thanks in advance
> > > > 
> > > > Best Regards
> > > > 
> > > > George 
> > > > 
> > > > 
> > 
> 
>