Hello again,
I did founfd out some pach that install another patch: wfq-1.2.1 ( 
http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run 
the example. I get an error like this:

invalid command name "Queue/WFQ"
    while executing
"Queue/WFQ create _o16 "
    invoked from within
"catch "$className create $o $args" msg"
    invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
    (procedure "new" line 3)
    invoked from within
"new Queue/$qtype"
    ("default" arm line 3)
    invoked from within
"switch -exact $qtype {
ErrorModule {
if { [llength $args] > 0 } {
set q [eval new $qtype $args]
} else {
set q [new $qtype Fid]
}
}
intserv {
set qtyp..."
    (procedure "_o3" line 14)
    (Simulator simplex-link line 14)
    invoked from within
"_o3 simplex-link _o10 _o13 5Mb 2ms WFQ"
    ("eval" body line 1)
    invoked from within
"eval $self simplex-link $n1 $n2 $bw $delay $type $args"
    (procedure "_o3" line 8)
    (Simulator duplex-link line 8)
    invoked from within
"$ns duplex-link $n0 $n1 5Mb 2ms WFQ"
    (file "example.tcl" line 12)

Like I didn't patch: ./patch "directory where ns appear". When I did patch 
again I get this message:

copying wfq files ... done
patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file 
Makefile.in.rej
patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch 
detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej
patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch 
detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej

Please HELP!



----- Original Message ----
From: KaLiF <[EMAIL PROTECTED]>
To: ns-users@isi.edu
Sent: Tuesday, June 5, 2007 3:33:29 PM
Subject: Weighted Round Robin



Hello,

I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest 
Queue, Total Queue Length and Total File Lenngth to simulate it for my project. 
At least one of them. Could anyone tell me from where I can find them? 

Although I have to find the sending delay in a wireless transmission between 10 
nodes, I found a file named cbrgen.tcl that I could modify, but the nodes 
(users) have diffrent type of rates (they are from diffrent type of QoS) and 
there I can  put only one rate in the variables; and what's the meaning of 
seeds.

 

I'm a beginner in NS, and because i don't know where to look, these things 
freak me and the License exam is at the door: knock, knock...

 

Thanks in advance.
 

Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din 
ceea ce n-ai de gind sa aplici





      Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 








 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

Reply via email to