Is it possible to run SCTP over Iperf in DCE?

162 views
Skip to first unread message

nishad samant

unread,
Oct 28, 2015, 5:06:25 AM10/28/15
to ns-3-users
it is important for a project i am working on where i compare the performance of SCTP and TCP using iperf as a generator

I was wondering if there is a way i can configure iperf to support SCTP instead of the udp or tcp it already does in DCE. if yes...can someone please guide me to the proper documentation where i can find the procedure to achieve that?

Konstantinos

unread,
Oct 28, 2015, 5:48:37 AM10/28/15
to ns-3-users
Hi Nishad,

There are modified versions of IPERF that support SCTP.

For that you might need to replace the IPERF used in DCE by default and use your own.

nishad samant

unread,
Oct 28, 2015, 6:01:39 AM10/28/15
to ns-3-...@googlegroups.com

Hello Sir,

I was checking out the same thing. Do I just make some changes and build them again with DCE? or is the procedure more involved...can you just push me towards where I can find documentation wherein it is explained how to use external tools and integrate them with DCE?

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/dJOjJDUlKNY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Konstantinos

unread,
Oct 28, 2015, 7:28:27 AM10/28/15
to ns-3-users


On Wednesday, October 28, 2015 at 10:01:39 AM UTC, nishad samant wrote:

Hello Sir,

I was checking out the same thing. Do I just make some changes and build them again with DCE? or is the procedure more involved...can you just push me towards where I can find documentation wherein it is explained how to use external tools and integrate them with DCE?

On 28-Oct-2015 3:18 pm, "Konstantinos" <dinos.k...@gmail.com> wrote:
Hi Nishad,

There are modified versions of IPERF that support SCTP.

For that you might need to replace the IPERF used in DCE by default and use your own.

On Wednesday, October 28, 2015 at 9:06:25 AM UTC, nishad samant wrote:
it is important for a project i am working on where i compare the performance of SCTP and TCP using iperf as a generator

I was wondering if there is a way i can configure iperf to support SCTP instead of the udp or tcp it already does in DCE. if yes...can someone please guide me to the proper documentation where i can find the procedure to achieve that?

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/dJOjJDUlKNY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.

nishad samant

unread,
Nov 5, 2015, 9:38:26 PM11/5/15
to ns-3-...@googlegroups.com
Hi Konstantinos,

i want to generate the executable for the new iperf3 application i want to run in dce.
In the manual for building the executable, they ask to use the configure file in the iperf3.1 forlder and also supply additional tags to flags can be specified in ther terminal itself after ./configure

My query is, do i use both the -fPIC and -pie flags together while compiling the whole program to generate the executable? or do i run each file in /src seperately? build objects for each file
 using -fPIC and then make the executable with -pie?

Regards,

Nishad Samant

On Wed, Oct 28, 2015 at 4:58 PM, Konstantinos <dinos.k...@gmail.com> wrote:


On Wednesday, October 28, 2015 at 10:01:39 AM UTC, nishad samant wrote:

Hello Sir,

I was checking out the same thing. Do I just make some changes and build them again with DCE? or is the procedure more involved...can you just push me towards where I can find documentation wherein it is explained how to use external tools and integrate them with DCE?

On 28-Oct-2015 3:18 pm, "Konstantinos" <dinos.k...@gmail.com> wrote:
Hi Nishad,

There are modified versions of IPERF that support SCTP.

For that you might need to replace the IPERF used in DCE by default and use your own.

On Wednesday, October 28, 2015 at 9:06:25 AM UTC, nishad samant wrote:
it is important for a project i am working on where i compare the performance of SCTP and TCP using iperf as a generator

I was wondering if there is a way i can configure iperf to support SCTP instead of the udp or tcp it already does in DCE. if yes...can someone please guide me to the proper documentation where i can find the procedure to achieve that?

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/dJOjJDUlKNY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/dJOjJDUlKNY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

Matt Anonyme

unread,
Nov 6, 2015, 7:26:47 AM11/6/15
to ns-3-users
To compile iperf3 you will need to change the makefile a bit https://github.com/esnet/iperf/issues/298 .

Also you would need to write a patch similar to iperf2's to have a wait version. I know someone succeeded in doing it but I don't think he made the patch available yet.

nishad samant

unread,
Nov 12, 2015, 5:07:40 AM11/12/15
to ns-3-users
I made the appropriate changes in compiling the iperf 3 dce fix that i got from github on this link
https://github.com/teto/iperf/tree/dce_fix

then i put that folder in myscripts and configured the application using

$ ./configure CFLAGS="-g -U_FORTIFY_SOURCE -fPIC" LDFLAGS="-pie -rdynamic" --with-pic --enable-shared --prefix=~/dce/dce-linux-1.7/source/ns-3-dce/build

to put the iperf dyn executable in its proepr place
i made a corresponding dce application test file based on the original dce-iperf.cc and changed the binary in it to the binary i created of iperf3.1.
i made the appropriate wscript file.
i have appended both in the post.

Now, when i ran ./waf

it built succesfully, but twhen i run it i get this error message

relocation error: /usr/lib/x86_64-linux-gnu/libicuuc.so.52: symbol tzname, version GLIBC_2.2.5 not defined in file libc.so.6 with link time reference
Command ['~/dce/dce-linux-1.7/source/ns-3-dce/build/bin/dce-iperf'] exited with code 127


and not just that; now i cant run any program; even when i try to run dce-iperf itself; i get the sam error.

What did i do wrong? what seems to be the problem?

Please help.

Regards,

Nishad Samant

nishad samant

unread,
Nov 12, 2015, 5:33:57 AM11/12/15
to ns-3-...@googlegroups.com
Also; when i run it on dce basic mode; i get this error

/home/sammy/dce/source/ns-3-dce/build/myscripts/iperf3/bin/iperf3-test: relocation error: elf-cache/0/libiperf.so.0: symbol __h_errno_location, version GLIBC_2.2.5 not defined in file 0001.so.6 with link time reference
Command ['/home/sammy/dce/source/ns-3-dce/build/myscripts/iperf3/bin/iperf3-test'] exited with code 127

Matt

unread,
Nov 12, 2015, 6:33:12 AM11/12/15
to ns-3-users
For the last error, checkout my pull request:
https://github.com/direct-code-execution/ns-3-dce/pull/13

As for tzname, I don't remember implementing it, hence you may have to
do it yourself. There are some explanations on how to do it if you
search the DCE website and the archives.

nishad samant

unread,
Nov 16, 2015, 9:47:20 AM11/16/15
to ns-3-...@googlegroups.com
I tried it, just as mentioned, it didnt work. I get the same error repeatedly in DCE ns3.
Not to mention; in DCE-linux i found that tzname is from time.h which is already implemented in the native call list of DC. I still get the error not just for iperf3; but now even for DCEs inbuilt iperf.

I have no clue what seems to be the issue

Regards,

Nishad

Matt Anonyme

unread,
Jan 15, 2016, 8:31:41 AM1/15/16
to ns-3-users
Could you open a ticket https://github.com/direct-code-execution/ns-3-dce/issues with the errors you have and eventually the script / logs (export NS_LOG="*")
Reply all
Reply to author
Forward
0 new messages