[ns] JoBS Queue : can I manage more than 4 classes ?

Lei Liang l.liang at eim.surrey.ac.uk
Thu May 27 02:20:37 PDT 2004


Hi, Fabio,
  regarding your first question, i suggest you go to have a look at the
.cc and .h files for the jobs and markers. they are in the /queue
directory. If yo wanna increase the number of the class, you will have ot
modify the source code.
  for your second question, i don't know more than you. but you can
actually use more node and each of them running one appliation. of course,
it depends on what you are gonna do.
cheers,
lei

On Thu, 27 May 2004, Fabio Arnò wrote:

>
> Hi ,
> I'm looking for some kind of Queue-class which could provide me service and
> loss differentiation .
> I've tried with CBQ. While it provides service differentiation like
> different band assignments and different max-delay for each class, all the
> same it's quite hard to control the loss rate (I've tried assigning
> different buffer sizes to the queues , etc....) .
> Now I'm focusing on JoBS queue, but I've got some problems . My main problem
> is the following :
>
> JoBS queue can provide just 4 classes , while I need 6 classes .
> How can I increase (if it's possible) the number of classes ?
>
> Moreover, I have another question , less important than the first one .
> I've got a source which acts like a server, with several TCP Agents attached
> to different kinds of applications , for different node-clients .
> I need to classify each stream from a particular TCP agent (on the single
> server) to a particular TCP sink in a specific class .
> I figure out I should bind the agent flow-ID of a stream to the class I
> choose for it , like it happens for the CBQ type .
> How can I do it ?
>
> All the NS-2 Manual says about  is :
>
> <<   set router(1) [$ns node]
>      set router(2) [$ns node]
>
>      set source [$ns node]
>
>     $ns_ simplex-link $source $router(1) $bw $delay Marker
>
>     $q marker_type <1>
>
> ->  $q marker_class <1|2|3|4>   :    For a deterministic marker, selects
> which class packets should be marked with.     >>
>
> With this last command I'd  just mark every packet from the NODE "source"
> with the same class_ID .
> Then should I separate the different applications running on my server-node
> and attach them to different nodes ?
>
>
> Thank you in advance and thanks for your attention .
>
> Fabio Arnò .
>
>



More information about the Ns-users mailing list