Re: [ns] Strange problem with AWK

2006-12-08 Thread Alexander Sayenko

Hi

We had the same problems on one workstation. There are two workstations with
Fedora Core 4 Linux. Everything is fine on the first workstation, the second
one has this problem. I have tried to solve it by installing different
versions of AWK - same result. I presume it is not AWK but some library,
maybe glibc, which is responsible for converting the floating-point values.
The only difference between these workstations is that they have different
regional settings. Could it be so that AWK uses somehow those settings and
expect different floating-point separator, i.e. 3.2 and 3,2?

Let me know if you solve it.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


Hi,

I am currently running crazy with a very simple AWK skript... but for any
reason awk does not read any floating point variables from my trace file


BEGIN{
}

{
time = $3
printf("Time: %.6g\n", $3)
}
END{
}
-

The problem is, that I the script just prints the first number and ignors
all other digits

e.g. 0.499890716 --> 0

I also tried printing it as a string, that works, but I cannot use it for
any calculation...

Please help!!








___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/579 - Release Date: 07.12.2006




Re: [ns] DiffServ and signalling protocol messages

2006-11-30 Thread Alexander Sayenko

Hi

You make take a look at the following IETF RFC 4594 document
http://www.ietf.org/rfc/rfc4594.txt. It reserves some DSCP value for the
signalling protocols.

However, note that the DiffServ implementation in NS-2 does not support DSCP
values higher than 40. Thus, you may need this patch
http://www.cc.jyu.fi/~sayenko/src/dsred.diff

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi,
>
> I have a question regarding DiffServ and signaling
> protocol message. Does the signaling protocol messages
> will  be given the same priority as real time data
> packets in DiffServ?
>
> Thank you very much.
>
> Regards,
>
> Ben
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.409 / Virus Database: 268.15.2/559 - Release Date: 30.11.2006
>
>



[ns] OTcl and documentation

2006-11-27 Thread Alexander Sayenko

Hi

Does anybody know/use a well-proven solution to generate a documentation
from the OTcl code? I tried to find a one, but failed.

* Doxygen does not support OTcl, though it supports Python like comments
which can simplify adding support for the OTcl.

* The OTcl package comes with the otcldoc script, but it generates HTML
output only. I would prefer to have a possibility to control which output I
would like to use.

* There are several scripts that convert the Tcl code into something like C
code so that the Doxygen can parse them but it seems that the OTcl is not
suppported.

Other solutions?

It seems that the NS-2 community would benefit from such a tool since the
main documentation has not been updated for years, while the NS-2 code
changes all the time. It would also eliminate a need to write the same text
twice. Personally, I would like to see the OTcl extension for the Doxygen
program because the NS-2 has both the C++ and OTcl code. Does anybody know
FLEX well enough to extend the Doxygen scanner.l file ? :-)

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



[ns] WFQ v1.2.5

2006-11-22 Thread Alexander Sayenko

Hi

A new version of WFQ for the NS-2 simulator is available.
http://www.cc.jyu.fi/~sayenko/src/wfq-1.2.5.tar.gz
  
The new version solves several small compilation problems that you can
experience if you use the latest gcc compiler versions. This version has
been tested with the following NS-2 versions:
v2.27, v.2.28, v2.29 and v2.30.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



Re: [ns] Fwd: Help with WFQ-Scheduler for Wireless networks

2006-10-24 Thread Alexander Sayenko

Hi

You can find WFQ implementation at my Web page, here it is
http://www.cc.jyu.fi/~sayenko/src/wfq-1.2.4.tar.gz. However, due to a small
bug it is not possible to attach it to the wireless interface in NS-2, NS-2
just crashes. I have fixed it but a new version is not released.

In any case, applying WFQ to the 802.16 networks is not a good idea since
you will introduce unnecessary complexities. Due to the fact that the WiMAX
frame is always fixed and the slots are of the fixed duration, it is more
efficient to rely upon the RR schedulers. If you are interested I can send
you a paper written by our research group with the simulation results from
NS-2.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi
>
> I am trying to find the Scheduler based on Weighted Fair Queuing for
> Wireless Networks especially 802.16, but couldn find.
>
> Any advice on WFQ Scheduler in NS2 in the latest version??Cud find one
> which is for ns2.1b6.
>
> So for higher versions it might work but not with the patch command
> but manually.So how do I do that ,if not with the patch command. I
> dont understand how manually it is to be done.
> Basically , can someone guide me in making WFQ work for ns2.29.
>
> I am new to NS, so sorry if am asking for too much.
>
> I would really appreciate if I get a solution.
> Thanks in advance.
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.11/493 - Release Date:
23.10.2006
>
>



Re: [ns] RSVP-TE implementation

2006-09-27 Thread Alexander Sayenko

Hi

There was (I hope that there also is) some RSVP-TE implementation. Just
browse NS-2 mailing archive.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi all
> is there any tested RSVP-TE implementation under ns-2 ?
> Thanks
> Ramzi Tka
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 26.09.2006
>
>



[ns] Fw: RSVP and NS2

2006-09-27 Thread Alexander Sayenko

> Hi
>
> Officially is it not included in NS-2. You can use RSVP implementation
from
> my Website:
> http://www.cc.jyu.fi/~sayenko/src/ns2rsvp-1.3-ns2.28.diff.gz
>
> Sincerely,
> Alexander Sayenko (PhD)
> Senior Assistant
> Telecommunication laboratory, MIT department
> University of Jyvaskyla, Finland
>
>
> >
> > Is Resource reSerVation Protocol (RSVP) included in NS2 package?
> >
> > -- 
> > Pragasen Mudali
> > Research Student
> > University of Zululand
> >
> >
> >
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date:
26.09.2006
> >
> >
>



Re: [ns] wimax ns-2 implementation

2006-08-04 Thread Alexander Sayenko

Hi

There is no need to implement several channels. Since CID is carried in the
WiMAX MAC header, it is enough to analyse this value when a packet arrives.
Of course, you have to set it to the correct value when you send a packet.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi all,
> I'am developping 802.16 extensions to NS-2. And I'am focusing on mesh
mode.
> The problem is that 802.16 networks uses the concept of CID (Connection
ID)
> at MAC layer instead of Mac Address. Or NS-2 Channel class which is
> responsible of delivering the packets to destinations uses mac address.
> Should I make a little development to extend the Channel class so it could
> manipulate CIDs?. Or there some others ideas?
> Have you some suggestions for me please !
> Thanks a lot
> best regards
> Ramzi tka
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 03.08.2006
>
>



Re: [ns] NOAH Patch with NS-2.2[789]

2006-07-28 Thread Alexander Sayenko

Hi

I have been using this NOAH patch with ns-2.28. Hope it also works with
other versions.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



>
> Hi guys,
>
> I have been fightin with the NOAH patch for over sometime now. Has anybody
> worked on NOAH extension for NS2 before? I tried patchin (atleast followin
d
> instructions on the NOAH page which do not include recompilin NS2 even
> though if I try recompilin it fails).
>
> I really need to make this work. Any suggestion will be appreciated. Note,
> If there's any alternative of extension that can perform the
Infrastructure
> Network facility of wireless communication btw mobile nodes will b
> appreciated.
>
> Pls, anybody with success story on NOAH with NS-2.29, NS-2.28,
> NS-2.27should pls share it.
>
> Thnx.
>
> Lekkie.
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27.07.2006
>
>


Re: [ns] Service based classification for SFQ/DRR

2006-07-25 Thread Alexander Sayenko


Hi

>  How your implementation works?

Just classical WRR/DRR schedulers, nothing special expect the LLQ which you
can turn on/off.

> Do you compare your queue with RED, Green?

Since RED is the queue management algorithm while WRR/DRR is the resource
sharing algorithm, I do not consider them as mutually execlusive solutions
but the complementary ones. I have been using WRR in conjunction with RED in
the DiffServ framework. I have not tried Green.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>  How your implementation works? Do you compare your queue with RED, Green?
> Alexander Sayenko wrote:
> > Hi
> >
> > Just for you to know, DRR/WRR and scheduling disciplines that support
> > flow-based and class-based resource sharing were already implemented in
this
> > package http://www.cc.jyu.fi/~sayenko/src/ns2rr-0.0.3.tar.gz. They also
> > support LLQ in the so-called alternate priority mode. However,
class-based
> > scheduling does not support SFQ.
> >
> > Sincerely,
> > Alexander Sayenko (PhD)
> > Senior Assistant
> > Telecommunication laboratory, MIT department
> > University of Jyvaskyla, Finland
> >
> >
> >
> >>
> >
> >
>
> --
--
> > 
> >
> >
> >
> >> Hello,
> >>  I changed SFQ/DRR to support service based classification for SFQ/DRR.
> >> Please take a look at this queueing and give me results about your
ideas
> >> and evaluation.
> >>
> >> -- 
> >> Best Regards,
> >> S.Mehdi Sheikhalishahi,
> >> Bye.
> >>
> >>
> >>
> >
> >
>
> --
--
> > 
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
21.07.2006
> >
> >
>
>
> -- 
> Best Regards,
> S.Mehdi Sheikhalishahi,
> Bye.
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 24.07.2006
>
>



Re: [ns] Install the GPRS module

2006-07-24 Thread Alexander Sayenko

Hi

 Here is the noah.patch, maybe it will help.

 Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland

>
> >
> >
>
>
> --
--
> 
>
>
> > Hello all
> > I want to try GPRS simulation using Network Simulator. I have gotten
that
> gprs module but I can't install it successfully,when i run "ns",mistake
show
> as:invalid command name "Agent/NOAH" while executing "Agent/NOAH; set
sport_
> 0"
> > i guess the noah was not installed.but i dont know how to install
> it,anybody knows?
> > can you mail me the answer?
> > thanks
> >
> >
> >
>
>
> --
--
> 
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21.07.2006
>


Re: [ns] Service based classification for SFQ/DRR

2006-07-24 Thread Alexander Sayenko

Hi

Just for you to know, DRR/WRR and scheduling disciplines that support
flow-based and class-based resource sharing were already implemented in this
package http://www.cc.jyu.fi/~sayenko/src/ns2rr-0.0.3.tar.gz. They also
support LLQ in the so-called alternate priority mode. However, class-based
scheduling does not support SFQ.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>






> Hello,
>  I changed SFQ/DRR to support service based classification for SFQ/DRR.
> Please take a look at this queueing and give me results about your ideas
> and evaluation.
>
> -- 
> Best Regards,
> S.Mehdi Sheikhalishahi,
> Bye.
>
>






No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21.07.2006



Re: [ns] Help needed on RSVP !

2006-06-12 Thread Alexander Sayenko

Hi

I have seen earlier this error message. It seems that you have an old OTcl
version, try to install a more recent one. If it does not work, contact me.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi ;;
>
>   I try to RSVP implementation from Mr. Alexander Sayenko, but in the make
step I get this error:
>


g_test -I. -I/home/asma/ns-allinone-2.28/tclcl-1.16 -I/home/asma/ns-allinone
-2.2
>


8/otcl-1.9 -I/home/asma/ns-allinone-2.28/include -I/home/asma/ns-allinone-2.
28/i
>


nclude -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I
./ad
>


c -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
 -I.
>


/mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./
diff
>


usion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./mac/8
02_1
>   1e -I./wpan -o rsvp/rsvp-link.o rsvp/rsvp-link.cc
>   rsvp/rsvp-link.cc: In constructor `RSVPChecker::RSVPChecker()':
>   rsvp/rsvp-link.cc:47: error: call of overloaded `bind(const char[5],
nsaddr_t*
>  )' is ambiguous
>   /home/asma/ns-allinone-2.28/tclcl-1.16/tclcl.h:182: error: candidates
are: void
>
>  TclObject::bind(const char*, unsigned int*) 
>   /home/asma/ns-allinone-2.28/tclcl-1.16/tclcl.h:183: error:
void
>
>  TclObject::bind(const char*, int*) 
>   make: *** [rsvp/rsvp-link.o] Error 1
>
>
>
>   I am using ns-allinone-2.28 on the Cygwin environment.
>   any advice??!!
>
>   Sincerely,
>   Asma
>
>
>
>
> >Hi  >  >I support the following implementation:
>http://www.cc.jyu.fi/~sayenko/src/ns-2.28-rsvp2.diff.gz. The patch also
>installs the test scripts in tcl/ex/rsvp  >  >Sincerely,  >Alexander
Sayenko (PhD)  >Assistant  >Telecommunication laboratory, MIT department
>University of Jyvaskyla, Finland  >  >  >>  >>  >>  >> Hi all!  >>  >>   IS
any of u ppl working on RSVP using NS-2???  >>   If so, then do send me some
example codes or some links where I can get  some direction about where shd
I start 4m??  >>  >>   Thanks in advance,  >>   Deepti.  >>  >>
 >> -  >>  Jiyo cricket on Yahoo! India
cricket  >> Yahoo! Messenger Mobile Stay in touch with your buddies all the
time.
>
>  Send instant messages to your online friends
http://uk.messenger.yahoo.com
>
>
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02.05.2006
>
>



Re: [ns] how to get current date ($ns now) in c++?

2006-05-17 Thread Alexander Sayenko

Hi

>From C++ use it is better to use:
Scheduler::instance().clock()

You can also call the Otcl code from C++, but the former will call C++
again. So if you use C++, call C++ functions directly. Here is the Otcl
solution

Tcl& tcl = Tcl::instance();
tcl.evalf("[Simulator instance] now");

Then analyse tcl.result()

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



Dear NS-users

I am modifying an extension of ns (RSVP-TE\ns), and at some point I need to
have an access to the current date (given in tcl by $ns now). I don't know
how to do this. I suppose I could use something like:

Tcl& tcl = Tcl::instance();
tcl.evalf("%d now", my_simulator_instance);

but I don't know how to refer to the simulator instance.

I would be very grateful if you could help me on this topic.

Mit freundlichen Grüßen, with kind regards, cordialement,

--
Gilles BERTRAND
Telecom INT (GET) - University of Stuttgart
--



-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02.05.2006




[ns] DiffServ in NS

2006-05-16 Thread Alexander Sayenko

 Hi

 I have seen a patch on somebody's web page that enables this feature. If I
 find it, I will let you know.

 In any case, if you are not afraid of coding, then take a look dsPolicy.cc,
 PolicyClassifier::mark() does the marking based on the policy and policer
 entries. You can extend it as you want.

 Sincerely,
 Alexander Sayenko (PhD)
 Assistant
 Telecommunication laboratory, MIT department
 University of Jyvaskyla, Finland


> >
> > Hello all,
> >
> > I need to do flow classification based on source&dest port ID and not
node
> > ID as it is proposed in the DiffServ module provided within NS. Do you
> know
> > a simple way to achieve flow classification using source&dest port ID ?
> >
> > Best regards,
> > Julien.
> >
> >
> >
> > -- 
> > Internal Virus Database is out-of-date.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date:
02.05.2006
> >
> >
>



Re: [ns] How can I estimate delay in Diffserv

2006-05-04 Thread Alexander Sayenko

Hi

First, if you want to estimate the delay, you need AWK or perl script to
analyse the trace file. Second, there is no such a thing as a class delay.
You can estimate mean delay of packets belonging to some class (or the
maximum delay), but you still need to analyse the trace file.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>
> Dear Ns-users:
>  I have a question about Ns 2.27:
>  I am training in Diffserv.
>  How can I estimate delay for each class?
>  Send me a TCL file that estimated delay please.
>
> yours,
>  ghazale khojaste
>
>
> -
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates starting at 1¢/min.



Re: [ns] Weight of a queue

2006-05-02 Thread Alexander Sayenko

Hi

There are two ways:

* You can call the OTcl code from your C++ code. This is a correct way from
the interface point of view. However, if you want to do it quite often, then
it is better to call C++ function directly

* You can call dsREDQueue::setQueueWeights (int queuenum, int weight). I
think no comments are necessary, the interface is quite straightforward (see
dsred.{cc,h}). The only thing you should remember about is the fact that
these functions can be changed easily in the future.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi fellow,
> I'm dealing with diffserv ns2 module. Is there a way to change in the
> c++ code the weight of a queue for WRR scheduling algorithm ?
>
> Thanks a lot
> Daniele
>



Re: [ns] DRR QUEUE

2006-04-25 Thread Alexander Sayenko

Hi

Use the following implementation of DRR for NS-2
http://www.cc.jyu.fi/~sayenko/src/ns2rr-0.0.3.tar.gz. It also contains with
several examples.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>






>
> is there a way to give each flow different quantum_ ?
>
>
> thnx
>
> _
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>



Re: [ns] Help needed on RSVP !

2006-03-31 Thread Alexander Sayenko

Hi

I support the following implementation:
http://www.cc.jyu.fi/~sayenko/src/ns-2.28-rsvp2.diff.gz. The patch also
installs the test scripts in tcl/ex/rsvp

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>
>
> Hi all!
>
>   IS any of u ppl working on RSVP using NS-2???
>   If so, then do send me some example codes or some links where I can get
some direction about where shd I start 4m??
>
>   Thanks in advance,
>   Deepti.
>
>
> -
>  Jiyo cricket on Yahoo! India cricket
> Yahoo! Messenger Mobile Stay in touch with your buddies all the time.



Re: [ns] need RSVP/ns example scripts

2006-03-27 Thread Alexander Sayenko

Hi

Here they are.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



Dear Ns users,

I need some TCL script examples for the RSVP/ns patch from Marc Greis.

Due to some prior (and modified) NS nstallations, I cannot use the standard
patch to install RSVP/ns, I would therefore be very grateful if you could
send me some tcl example files (in a zip or tar.gz file please (but if it is
not possible a copy and paste in the body of an e-mail is ok too ;o) )).

many thanks!

Mit freundlichen Grüßen, with kind regards, cordialement,

--
Gilles BERTRAND
Telecom INT - University of Stuttgart
--


Re: [ns] WFQ floating point exception

2006-03-14 Thread Alexander Sayenko

Hi

There is a newer version, wfq-1.2.4. Try it. If it does not work, contact me
since I support WFQ.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hello,
>
> Running my WFQ simulation returns just "Floating point exception". I tried
running wfq-1.2.3/example.tcl, but it returns the same. I cannot figure out
what is wrong, please help
>
> Thanks, Adnan Huremovic



Re: [ns] SIP patch

2006-03-13 Thread Alexander Sayenko

Hi

This  error means that NS-2 does not know anything at all about the 
Application/Traffic/SipUdp class. Indeed, I have looked through the code, there 
is no line that registers such a class. Buggy patch :-(

However, as I have understood from the implementation, the Agent/UDP/UDPSIP is 
responsible for carrying SIP messages, while Application/Traffic/SipUdp is just 
some class that generates traffic. Basically, you can attach any traffic type 
you need since the main functionaly is implemented in Agent/UDP/UDPSIP.

So, you can take a test script and use, for instance, CBR traffic type instead 
of Application/Traffic/SipUdp. Ideally, it would be nice if some of the 
developers clarify this problem.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland

  - Original Message - 
  From: Krzysztof Mendyk 
  To: Alexander Sayenko 
  Sent: Sunday, March 12, 2006 5:14 PM
  Subject: Re: [ns] SIP patch


  Hi

  Thank you very much for your help. I did everything you wrote me. I also had 
to add line

virtual void recv_msg_from_udp_(int nbytes, const char* msg=0){};to app.h.
  But when I try to run ns I have an error and I don't know what to do.

ns:[code omitted because of length]: invalid command name 
"Application/Traffic/SipUdp"while executing"Application/Traffic/SipUdp set 
burst_time_ 0   "I f you have t! ime and you know what I did wrong can 
you help me please?
  Thanks in advance.
  Chris

  Alexander Sayenko <[EMAIL PROTECTED]> wrote:
Hi

I have tried to apply this patch, there are indeed several problems that you
can solve easily and contribute a new patch for ns-2.29.

Failed hunks in common/packet.h:

Basically, everything you need in common/packet.h is PT_SIP (hunk #1m it
succeeded) and name_[PT_SIP] = "sip"; in class p_info (hunk #2, it has
failed). Remaining hunks are not necessary, they are just some garbage.

Failed hunks in Makefile.in:

Many hunks in Makefile.in has failed, but some of them are also garbage.
Just add a new line to the list of objects to compile
sip/sip_udp.o apps/udp_sip \

Failed hunks in trace/trace.cc:

It seems that the purpose of those modifications! is just to put more
information about each packet into the trace file. Nice, but test scripts
should run without those changes, unless they analyse the trace at the end
of simulation. Just remove hunks that relate to the trace.cc file

So, you can take the original patch, remove all the hunks that relate to
the common/packet.h, Makefile.in, and trace/trace.cc files, then make
manually changes in the common/packet.h and Makefile.in files as I have
explained above, try to compile and run. If something goes wrong, you can
contact me. Unfortunately, I have no time at the moment to do it :-(

Also, you may be interested in the SIP implementation that is in the
attachement. I have no idea whether it is a completely different
implementation or just an older version of SIP you are trying to install in
NS-2.29.

Good luck !

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University ! of Jyvaskyla, Finland


>
> Hi
> I download SIP patch from
http://www.tti.unipa.it/~fasciana/patch/patch-ns2_2.26sip-udp_v1.0 This
patch is for ns-2.26 and I use ns-2.29. I don't know why but I can't install
ns-2.26 on my computer. I use Mandriva Linux 2006.
>
> Does anyone know how to change this patch to be good for my ns-2.29. I
tried almost everything but I don't know how to add this patch.
>
> It is really important for me. Please help.
>
> Thanks in advance.
> Chris
>
>
>
> -
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!





--
  Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


Re: [ns] SIP patch

2006-03-11 Thread Alexander Sayenko

Hi

I have tried to apply this patch, there are indeed several problems that you
can solve easily and contribute a new patch for ns-2.29.

Failed hunks in common/packet.h:

Basically, everything you need in common/packet.h is PT_SIP (hunk #1m it
succeeded) and name_[PT_SIP] = "sip"; in class p_info (hunk #2, it has
failed). Remaining hunks are not necessary, they are just some garbage.

Failed hunks in Makefile.in:

Many hunks in Makefile.in has failed, but some of them are also garbage.
Just add a new line to the list of objects to compile
sip/sip_udp.o apps/udp_sip \

Failed hunks in trace/trace.cc:

It seems that the purpose of those modifications is just to put more
information about each packet into the trace file. Nice, but test scripts
should run without those changes, unless they analyse the trace at the end
of simulation. Just remove hunks that relate to the trace.cc file

So, you can take the original patch, remove all the hunks that relate  to
the common/packet.h, Makefile.in, and trace/trace.cc files, then make
manually changes in the common/packet.h and Makefile.in files as I have
explained above, try to compile and run. If something goes wrong, you can
contact me. Unfortunately, I have no time at the moment to do it :-(

Also, you may be interested in the SIP implementation that is in the
attachement. I have no idea whether it is a completely different
implementation or just an older version of SIP you are trying to install in
NS-2.29.

Good luck !

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi
>   I download SIP patch from
http://www.tti.unipa.it/~fasciana/patch/patch-ns2_2.26sip-udp_v1.0 This
patch is for ns-2.26 and I use ns-2.29. I don't know why but I can't install
ns-2.26 on my computer. I use Mandriva Linux 2006.
>
>   Does anyone know how to change this patch to be good for my ns-2.29. I
tried almost everything but I don't know how to add this patch.
>
>   It is really important for me. Please help.
>
>   Thanks in advance.
> Chris
>
>
>
> -
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


Re: [ns] VoIP

2006-03-07 Thread Alexander Sayenko

Hi

Since many VoIP codecs send data at the constant rate, you can use normal
UDP/CBR application to simulate VoIP. You have to set appropriate parameters
so that the rate and the packet size correspond to the codec you use.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi
>   I am looking for any information (examples, web links) about how to
generate VoIP traffic in ns2.
>
>   I would appreciate your help. Thanks in advance.
>   Chris
>
>
> -
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.



Re: [ns] Problem compiling ns-2.29 with WFQ mod for Nortel Diffserv

2006-03-02 Thread Alexander Sayenko

RE: [ns] Problem compiling ns-2.29 with WFQ mod for Nortel DiffservHi

Nice to hear that they work in NS v2.29. I had no time to test these modules in 
the new version.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland

  - Original Message - 
  From: Dahshan, Mostafa H. 
  To: Alexander Sayenko ; ns-users@ISI.EDU 
  Sent: Friday, March 03, 2006 5:47 AM
  Subject: RE: [ns] Problem compiling ns-2.29 with WFQ mod for Nortel Diffserv


  OK I downloaded http://www.cc.jyu.fi/~sayenko/src/diffserv_wfq.diff and 
http://www.cc.jyu.fi/~sayenko/src/dsred.diff to the ns-allinone-2.29 directory. 
Edited both files replacing 2.28 with 2.29. Then:

  patch -p0 < diffserv_wfq.diff
  patch -p0 < dsred.diff

  That worked!

  Thank you very much for your help.

  Mostafa Dahshan

  -Original Message-
  From: Alexander Sayenko [mailto:[EMAIL PROTECTED]
  Sent: Thu 3/2/2006 2:00 AM
  To: Dahshan, Mostafa H.; ns-users@ISI.EDU
  Subject: Re: [ns] Problem compiling ns-2.29 with WFQ mod for Nortel Diffserv

  Hi

  Use the following implementation of WFQ for DiffServ, it works
  http://www.cc.jyu.fi/~sayenko/src/dsred.diff

  Sincerely,
  Alexander Sayenko (PhD)
  Assistant
  Telecommunication laboratory, MIT department
  University of Jyvaskyla, Finland


  >
  > Hello,
  >
  > I need to use WFQ scheduler for Diffserv simulation. The only module
  available seems to be the "WFQ Scheduler for Nortel DiffServ" available at
  http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
  http://www.tik.ee.ethz.ch/~fiedler/provisioning.html. That module seems to
  have outdated versions of dsred.cc and dsred.h. When I overwrite the files
  that come with the ns-allinone distribution package, I get compilation
  errors like this:
  >
  > diffserv/dsred.h: In constructor `dsREDQueue::dsREDQueue()':
  > diffserv/dsred.h:219: warning: `dsREDQueue::link_' will be initialized
  after
  > diffserv/dsred.h:180: warning:   `WFQdsHandler dsREDQueue::wfq_hand'
  > diffserv/dsred.cc:87: warning:   when initialized here
  > diffserv/dsred.cc: In member function `virtual int
  dsREDQueue::command(int, const char* const*)':
  > diffserv/dsred.cc:799: error: no matching function for call to
  `redQueue::config(int, const char* const*&)'
  > diffserv/dsredq.h:66: note: candidates are: void redQueue::config(int,
  int, const char* const*)
  > make: *** [diffserv/dsred.o] Error 1
  > Ns make failed!
  > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
  >
  >
  > I have tried to import the modifications from the dsred.h and dsred.cc
  into the ones that come with the current dist but I was never successful to
  get it to compile.
  >
  > I would appreciate any help.
  >
  > Thank you.
  >
  > Mostafa Dahshan
  >




Re: [ns] Problem compiling ns-2.29 with WFQ mod for Nortel Diffserv

2006-03-02 Thread Alexander Sayenko

Hi

Use the following implementation of WFQ for DiffServ, it works
http://www.cc.jyu.fi/~sayenko/src/dsred.diff

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hello,
>
> I need to use WFQ scheduler for Diffserv simulation. The only module
available seems to be the "WFQ Scheduler for Nortel DiffServ" available at
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
http://www.tik.ee.ethz.ch/~fiedler/provisioning.html. That module seems to
have outdated versions of dsred.cc and dsred.h. When I overwrite the files
that come with the ns-allinone distribution package, I get compilation
errors like this:
>
> diffserv/dsred.h: In constructor `dsREDQueue::dsREDQueue()':
> diffserv/dsred.h:219: warning: `dsREDQueue::link_' will be initialized
after
> diffserv/dsred.h:180: warning:   `WFQdsHandler dsREDQueue::wfq_hand'
> diffserv/dsred.cc:87: warning:   when initialized here
> diffserv/dsred.cc: In member function `virtual int
dsREDQueue::command(int, const char* const*)':
> diffserv/dsred.cc:799: error: no matching function for call to
`redQueue::config(int, const char* const*&)'
> diffserv/dsredq.h:66: note: candidates are: void redQueue::config(int,
int, const char* const*)
> make: *** [diffserv/dsred.o] Error 1
> Ns make failed!
> See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
>
>
> I have tried to import the modifications from the dsred.h and dsred.cc
into the ones that come with the current dist but I was never successful to
get it to compile.
>
> I would appreciate any help.
>
> Thank you.
>
> Mostafa Dahshan
>



Re: [ns] Implementation of WRED

2006-03-01 Thread Alexander Sayenko

Re: [ns] Implementation of WREDHi

Those policy, edge and core routers are not complicated, especiall if 
everything you want to test is WRED. Furthermore,  you can always create a 
simple DiffServ network, which has only the edge router.

source -- edge -- destination

If you do not want to configure all the policies and meters, you can always use 
the so-called NULL meter.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland

  - Original Message - 
  From: #LIM XIAOWEI# 
  To: Alexander Sayenko 
  Sent: Wednesday, March 01, 2006 12:07 PM
  Subject: RE: [ns] Implementation of WRED


  Hi!
  Thank you so much, it has given me a direction.
  However in Diffserv, we would need to define the policy, edge and core 
routers. How should we define it in this case if we want to use wred?
  Just to clarify, can i say that dsred and wred are similar?

  thanks!
  zoe


--
  From: Alexander Sayenko [mailto:[EMAIL PROTECTED]
  Sent: Wed 3/1/2006 5:52 PM
  To: #LIM XIAOWEI#; ns-users@ISI.EDU
  Subject: Re: [ns] Implementation of WRED


  Hi

  The implementation of WRED is available is a part of the DiffServ framework.
  Thus, you can either use the DiffServ framework or take a look at the
  implementation and port it to the NS-2 basic scheduling framework.

  Sincerely,
  Alexander Sayenko (PhD)
  Assistant
  Telecommunication laboratory, MIT department
  University of Jyvaskyla, Finland


  >
  > Hi!
  >
  > Would need to enquire, how do we implement WRED into NS-2?
  > Is there any websites that would help me if i want to implement WRED into
  NS-2?
  > I can't seem to find any relevant ones.
  >
  > Thanks!
  > zoe




Re: [ns] Ns-users Digest, Vol 26, Issue 24

2006-02-24 Thread Alexander Sayenko

Hi

There is no difference between the WFQ and CBWFQ from the viewpoint of
functioning (see previous posts concerning this topic). The only difference
is how the input classifier works and which packets are put in each queue.
You can use the following implementation
http://www.cc.jyu.fi/~sayenko/src/wfq-1.2.4.tar.gz
to use the both approaches.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>






Hi all,

i need some help with implementing CBQ into WFQ. I have written the program
for the flow based WFQ but i want to have a better comparision on individual
packet components therefore in need to implement class based WFQ.  Can
someone advice me on this

Regards,
Geraldine



From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Fri 2/24/2006 4:00 AM
To: ns-users@ISI.EDU
Subject: Ns-users Digest, Vol 26, Issue 24



Send Ns-users mailing list submissions to
ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ns-users digest..."


Today's Topics:

   1. help bug in fulltcp with AODV and DSDV !! (hamdi benmessaoud)
   2. Re: Xgraph under ns-allinone-2.29/cygwin/winXP (Bruno)
   3. Number of connections (Sasan Sahraei)
   4. using MAC/Simple in wireless ad-hoc simulation (kaibai)
   5. [bug] configure script for otcl (Ethan Giordano)
   6. wireless examples with access point models? (George P Nychis)
   7. Problem in sending Packets in Wireless Adhoc networks (A Anupama)
   8. Re: Problem during Scheduling a packet to send URGENT...
  Pls Help... (A Anupama)
   9. Re: wireless examples with access point models? (Martina Umlauft)
  10. Re: wireless examples with access point models? (Martina Umlauft)
  11. IP Traffic (Matthew Jakeman)
  12. Energy Model Help (Janet Adams)
  13. Re: Problem during Scheduling a packet to send URGENT...
  Pls Help... (Michele Battelli)
  14. multicast DM mode with Link state dynamic routing (mei)
  15. "cwmin_" or "CWMin_" in 802.11 MAC? (ozgur ekici)
  16. MAC/Simple has bug?! (kaibai)
  17. Help required regarding HCCA & EDCA (Ritwik Mitra)


--

Message: 1
Date: Wed, 22 Feb 2006 21:13:02 +0100 (CET)
From: hamdi benmessaoud <[EMAIL PROTECTED]>
Subject: [ns] help bug in fulltcp with AODV and DSDV !!
To: ns_users 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

 hi All,
  I simulate a network with FullTcp agent ; it works well with the protocol
DSR ;but it don't work with AODV and DSR
  one ne-users tells me that the problem were the size of the the paquet
header ,I mean that with AODV and DSDV the size of the paquet becomes 40 and
fulltcp can't accept this .
  So it tells me to add IP header to the headersize/les function
  but I don't know how can I do this
  please if some one has the the solution to my problem can help !!!

  Thank you in advance




-
 Nouveau : t?l?phonez moins cher avec Yahoo! Messenger ! D?couvez les tarifs
exceptionnels pour appeler la France et l'international.T?l?chargez la
version beta.

--

Message: 2
Date: Thu, 23 Feb 2006 00:01:44 +0100
From: "Bruno" <[EMAIL PROTECTED]>
Subject: Re: [ns] Xgraph under ns-allinone-2.29/cygwin/winXP
To: <[EMAIL PROTECTED]>, 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="iso-8859-1"

I'm using NS 2-28 and I found xgraph.exe in the folder "xgraph-12.1" of ns
sources and also a symbolic link to this file in the bin folder as I use
install.sh to compile ns in cygwin.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: mercredi 22 f?vrier 2006 17:05
To: Cenker Demir
Cc: ns-users@ISI.EDU
Subject: Re: [ns] Xgraph under ns-allinone-2.29/cygwin/winXP


Sorry for your your valued time...
Actually I don't know from where I could pring this xgraph.exe file.

I looked for it in my c drive but I did not find it,
I found the follwoing files:
xgraph.c
xgraph.h
xgraph.man
xgraph.o
xgraph.pl

but there is no xgraph.exe

thank you very much for your help

Quoting Cenker Demir <[EMAIL PROTECTED]>:

> Hello,
>
> copy your xgraph exe under your /bin/ directory. Then, make sure that
> you have the right permission settings for that tr file.
>
> regards
> Cenker
>
&

[ns] New version of RSVP

2006-02-18 Thread Alexander Sayenko

Hi

A new version of the RSVP protocol for NS-2 is available. It contains
several fixes for memory leaks and provides better organization of the
internal data structures. The functionality is the same.

http://www.cc.jyu.fi/~sayenko/src/ns-2.28-rsvp2.diff.gz

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



Re: [ns] Fw: AQM and scheduling

2006-01-31 Thread Alexander Sayenko

Hi

In DiffServ framework you can use the desired AQM with the required
scheduling discipline, in particular WFQ (available as a patch,
http://www.cc.jyu.fi/~sayenko/src/diffserv_wfq.diff).

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>
> - Original Message - 
> From: Adnan Huremovic
> To: ns-users@isi.edu
> Sent: Tuesday, January 31, 2006 3:25 PM
> Subject: AQM and scheduling
>
>
> Is there a way to combine AQM techniques like RED or RIO with scheduling
disciplines like WFQ or DRR, (or it is only possible to do with FIFO)?
> Thanks, Adnan Huremovic



[ns] New version of COPS

2006-01-31 Thread Alexander Sayenko

Hi 

A new version of the COPS protocol for the NS-2 simulator is available:

http://www.cc.jyu.fi/~sayenko/src/ns2cops-0.7.tar.gz

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



Re: [ns] Floating Point Exception in DiffServ application

2006-01-15 Thread Alexander Sayenko

Hi

Due to some changes made between ns v2.27 and v2.28, some DiffServ examples
fail with this error. Make sure that you set the mean packet size. It must
help.

Sincerely,
Sayenko Alexander
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
>






Hi all
I'm new to this mailing list and NS
i've a problem, i'm trying to write a script to simulate a diffserv, but
when i tried to run the sctipt i got floating point exception.
my script is attached, i couldn't found the reason
any help needed
thanks
best regards

The output is as follows:
[EMAIL PROTECTED] workspace]# ns ns-5.tcl
Policy Table(2):
Flow (1 to 5): TSW2CM policer, initial code point 10, CIR 100.0 bps.
Flow (0 to 5): TSW2CM policer, initial code point 0, CIR 100.0 bps.

Policer Table:
TSW2CM policer code point 0 is policed to code point 0.
TSW2CM policer code point 10 is policed to code point 11.
TSW2CM policer code point 11 is policed to code point 0.

Floating point exception
[EMAIL PROTECTED] workspace]#


The code is attached



Re: [ns] Difference between red.cc and queue.cc

2006-01-06 Thread Alexander Sayenko

Hi

queue.h declares a common class for all underlying queueing mechanisms,
while red.h, cbq.h and so on are particular implementations. Just take a
look at the class definitions.

I have to mention that I do not like an approach taken in NS-2 since it
makes many people, and especially beginners, believe that RED is a queueing
mechanism. Strictly saying, RED is the active queue management mechanism
while algorithms, such as CBQ and WFQ, are scheduling mechanisms. However,
NS-2 treats them similarly and that's why it is not possible to use RED and,
say, WFQ simultaneously (except the DiffServ framework, of course).

Sincerely,
Sayenko Alexander (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi!
>
>
>
> There is a question that we would like to seek your expertise on and that
is the queue control. We understand and have found the queue control files
available in NS-2 such as RED.CC, FAIR QUEUING.CC...and QUEUE.CC .
>
> However, there are certain areas that we don't quite understand.
>
> 1) What is the difference between queue.cc and red.cc since they are both
queing methods?( We understand that RED is part of QUEUE hierarchy)
>
>
>
> 2) How do we integrate red.cc into the network we are simulating? Do we
save it as a queue.cc file before compiling?
>
>
>
>Looking forward to your reply=)
>
>
>
>Regards,
>
>Zoe
>



Re: [ns] New version of WFQ

2005-12-20 Thread Alexander Sayenko

Hi

This is the WFQ discipline that works in the NS-2 general scheduling
framework, not DiffServ.

Sincerely,
Sayenko Alexander
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


> Hi Alex, this WFQ is for intserv?
> Regards,
>
> Augusto
>
>
> - Mensagem Original ----
> De: Alexander Sayenko <[EMAIL PROTECTED]>
> Para: ns-users@isi.edu 
> Assunto: [ns] New version of WFQ
> Data: 14/12/05 14:02
>
> >
> >
> > Dear NS users
> >
> > I am pleased to announce a new version of WFQ. Basically, it provides
the
> > same functionality comparing to the previous version, but now it can
> applied
> > easily
> > to several versions NS-2. It has been tested with v2.27, v2.28, and
v2.29.
> >
> > http://www.cc.jyu.fi/~sayenko/src/wfq-1.2.4.tar.gz
> >
> > Sincerely,
> > Sayenko Alexander
> > Assistant
> > Telecommunication laboratory, MIT department
> > University of Jyvaskyla, Finland
> >
> >
> >
> >
> > 
> _
> E-mail
> enviado pelo Webmail da Fesurv
> www.fesurv.br - (64) 3620.2200 - Rio
> Verde - Goiás
>