[ns] Simulation of i.i.d Bernoulli arrivals

2009-10-06 Thread Prajjwal Devkota
Hi list, I need to simulate traffic which resembles iid Bernoulli arrivals with a given rate and fixed frame size. I tried a Poisson traffic model, but my results did not completely match the ones I wanted to reproduce, though the overall behavior was similar. I am suspecting a traffic issue, a

[ns] Virtual Output Queuing simulation on ns-2

2009-08-04 Thread Prajjwal Devkota
Hi Everyone, I need to simulate a switch that does Virtual Output Queuing, and I have been searching the net for this. So far, I have not been able to find anything related in either the ns-2 sites, or through a cursory look at the code. In the worst case, I guess I would have to make do with n

Re: [ns] Droptail queue per-flow rate limiting using TokenBucket (or other mechanism?)

2009-08-04 Thread Prajjwal Devkota
instructions in the original code to see how to use it/install it. If you need more detailed instructions, let me know, and I will update the page. Prajjwal On Thu, Jul 16, 2009 at 11:32 PM, Prajjwal Devkota wrote: > Just to let anyone who is interested know, since I didn't receive any > sug

Re: [ns] Droptail queue per-flow rate limiting using TokenBucket (or other mechanism?)

2009-07-16 Thread Prajjwal Devkota
u/delaybox/), which seems to be interesting, but for my requirements, simply re-using the code above seems to be good enough so far. I Prajjwal On Tue, Jul 14, 2009 at 8:02 PM, Prajjwal Devkota wrote: > Hi list, > > I am currently doing some ethernet level rate limiting simulations using > n

[ns] Droptail queue per-flow rate limiting using TokenBucket (or other mechanism?)

2009-07-14 Thread Prajjwal Devkota
Hi list, I am currently doing some ethernet level rate limiting simulations using ns-2. I had been doing my simulations with a simple DropTail queue (by physically changing the link rate), but now, I am trying to see if I can apply a Token Bucket implementation to support multiple flows in a sim

Re: [ns] Generating packets on queue events

2008-10-28 Thread Prajjwal Devkota
It seems I pasted incompletely, sorry about that: On Tue, Oct 28, 2008 at 12:38 PM, Prajjwal Devkota <[EMAIL PROTECTED]>wrote: > Hi everyone, > > I am thinking of generating packets on certain queue events. The packets > would be: > >1. generated by the link laye

[ns] Generating packets on queue events

2008-10-28 Thread Prajjwal Devkota
Hi everyone, I am thinking of generating packets on certain queue events. The packets would be: 1. generated by the link layer (in real life, but not necessarily in ns-2, an approximation would do) 2. processed by the link layer on the receiving end, and acted upon I am thinking of th

[ns] Changing the bandwidth at link level during runtime in ns-2

2008-09-10 Thread Prajjwal Devkota
Hi Everyone, I am trying to change the bandwidth between two links at run-time using ns-2, at the link layer. For example, if the previous bandwidth between nodes n1 and n2 was 2Mbps, I would need to change it to 1Mbps at a certain instant. What I have done so far is to try to manually set the