[Ns-developers] NS3 - Queue Scheduler

Hagen Paul Pfeifer hagen at jauu.net
Tue Apr 1 10:11:30 PDT 2008


* Mathieu Lacage | 2008-04-01 08:44:32 [-0700]:

>I am not really sure I understand your question exactly but I will try
>to answer anyway.
>
>1) In a parallel simulation where you run a set of separate parallel
>partitions, there is no constraint on which algorithm and data structure
>you use to sort and schedule events within that partition. So, working
>on parallel simulations does not mean adding new event scheduling
>algorithms and data structures

Right, no doubt. The only reason I asked was that there are some major changes
on the scheduler in ns-2 (2.33). If the answer was yes then I had studied had
to study the new algorithm too. So consider this question as an additional
hint. And of course Mathieu: I will not add any new event scheduling algorithm
or data structure - of course! ;)

Sorry for my misleading expressions - it was a trivial question about 
changes in the scheduler algorithm in the near future. 

>2) Adding support for parallel simulations which is really transparent
>to the user would require that you can ensure the _exact_ same
>whole-simulation event ordering in both the parallel and non-parallel
>cases. To do this in a not-too-ineficient way will most likely require
>that you change the sorting key even in the non-parallel case so, that
>will require a few (hopefully small) changes to the current in-tree
>schedulers.

Right, so far I read ~5 papers of Fujimoto - so you can assume that I am more
or less familiar what must be done to parallelize an algorithm - at least
theoretical ... ;)

Best regards, Hagen


-- 
Hagen Paul Pfeifer <hagen at jauu.net>  ||  http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is. 




More information about the Ns-developers mailing list