QUIC + LTE simulation on ns3

357 views
Skip to first unread message

hy zhao

unread,
Mar 2, 2017, 9:15:18 AM3/2/17
to ns-3-users
Hello everyone!
   
       I want to test the QUIC over wireless networks.The first step is to simulate the QUIC on NS3.
Does anyone do such research now?

many thanks

hy zhao

unread,
Mar 22, 2017, 2:34:30 AM3/22/17
to ns-3-users
up

在 2017年3月2日星期四 UTC+8下午10:15:18,hy zhao写道:

Konstantinos

unread,
Mar 22, 2017, 5:47:53 AM3/22/17
to ns-3-users
Hi,

There is no QUIC implementation for ns-3.
Contributions are welcome.

K.

Alexandros Mitsouli

unread,
May 13, 2024, 6:05:35 AM5/13/24
to ns-3-users
Hello, I am using Ubuntu18.04 LTS Bionic Beaver, and ns3.32, firstly i tried to implement the quic module through this repo(https://github.com/signetlabdei/quic-ns-3), many errors occured accordign to recognition of the quic helper. I also tried from the nsnam app store, copying the module in the contrib directory and then configuring and building it, it was succesfull but i still could not run any examples. Finally I am trying the procedure from the standalone quic module repo. I did everything, copied the module in the src directory, and the helpers/models to the applications module. It talked about editting the cmake list of the applications module which i dont have by default. I noticed that it said to "patch" the wscript file of the applications module , so i assumed that is what it meant by editting the cmake list file. So I added the necessary modules in the wscript. It build succesfully the first time but i still could not run any examples from the quic module. When tried to run an example, this is the error that occured. What am i Doing wrong? Please if someone till now has been able to sucessfully implement the module , i would appreciate the help.
errro.png

Tommaso Pecorella

unread,
May 13, 2024, 7:02:33 AM5/13/24
to ns-3-users
Mmm.... confusion in the instructions.

FOR THE FUTURE READER: the following instructions are valid for a very limited period of time. They could be invalid even tomorrow morning.
If you (the user in the future) use them and they don't work, I'll automatically assume you're dumber than a pile of rocks and you shouldn't be allowed to use (or even be near) a computer.

1) download ns-3.41
2) "cd contrib"
4) cd quic
5) git checkout release-3-41
6) cd ../.. (the ns-3 root directory)
7) ./ns3 configure --enable-example
8) try to run "./ns3 run quic-variants-comparison-bulksend" - it should work.

If 8 doesn't work, then there's an installation issue.

If 8 works, then you can either:
1) copy the scripts you want to run to the scratch folder, or
2) modify the file "contrib/quic/examples/CMakeLists.txt".

There's no need to modify any other cmake file, and you must forget about waf - we don't use it anymore.

Last but not least, mind that you might need to update the compiler, check the ns-3 installation manual for the exact requirements. Unfortunately Ubuntu 18.04 is unsupported by ns-3 (too old), so also using a newer Ubuntu is advisable.

Tommaso Pecorella

unread,
May 13, 2024, 7:03:24 AM5/13/24
to ns-3-users
--enable-example is --enable-examples (I missed the trailing s)

Alexandros Mitsouli

unread,
May 13, 2024, 3:41:40 PM5/13/24
to ns-3-users
Hello mr Tommaso, 
8 actually worked! Thank you so much for the help i really appreciate it, indeed the compiler needed an update which I did too, although still not a problem regarding my Ubuntu version thankfully! I have 2 more questions if you could clarify the answers for me as well..The quic examples, besides quic-variants-comparison-bulksend still do not run.(The following error appears:File "./ns3", line 1914, in <module>
    main()
  File "./ns3", line 1861, in main
    raise Exception("Couldn't find the specified program: %s" % target_to_run)
Exception: Couldn't find the specified program: quic-pacing
)
Should this mean that I need to add them in the Cmakelists file of quic examples?And then run them just like the bulk send from ns3 -dev directory?Since copying them to scratch and running them does not work. Also, according to the ''very limited period of time '' issue, since i downloaded everything , it should work for the near future right?


Regards,
Alexander

Gabriel Ferreira

unread,
May 13, 2024, 3:52:46 PM5/13/24
to ns-3-users
If quic-pacing doesn't show up, you either

1. didn't enable examples (you can check with ./ns3 show config)
2. quic isn't enabled (you can check with ./ns3 show config)
3. this isn't the correct name of the target (you can see a list with ./ns3 show targets)
4. if you put quic into the contrib directory and is using 3.36, you need to put the contrib libraries to the linking list for scratches (see https://gitlab.com/nsnam/ns-3-dev/-/blob/master/scratch/CMakeLists.txt#L71).
Reply all
Reply to author
Forward
0 new messages