A question about 5g Lena performarnce with a large number of UE-nodes

219 views
Skip to first unread message

jianming Yi

unread,
Aug 11, 2022, 5:10:47 AM8/11/22
to 5G-LENA-users
Hello everyone,

I used the example: lena-lte-comparison-campaign to do the simulation with 8284 UEs in UE-containner. There is a small modification: support the moving UEs. Also add one ability to read the trace file generated in SUMO and assign the position to the nodes. 

The simulation started from around 16 o'clock yesterday (11.08.2022). However, it is still in this status until now. Screenshot 2022-08-11 110016.png

I checked my CPU utilization and found that it uses one CPU to do this computation and think, if it is possible to use multi-thread to do this computation so that the computation can be accelerated. Have you this experience or give me one feedback, if ns-3 could do the multiple-thread?  Thank you for your help in advance!


Screenshot 2022-08-11 105630.png

Best regards
Charlie

Tom Henderson

unread,
Aug 11, 2022, 10:49:24 AM8/11/22
to jianming Yi, 5G-LENA-users

>
> I checked my CPU utilization and found that it uses one CPU to do this
> computation and think, if it is possible to use multi-thread to do this
> computation so that the computation can be accelerated. Have you this
> experience or give me one feedback, if ns-3 could do the
> multiple-thread?  Thank you for your help in advance!
>
ns-3 is not multi-threaded, and although it can be partitioned to run on
different CPUs or cores using MPI, it is difficult to do so on shared
wireless channels.

The LTE documentation states:

#. The simulator should scale up to tens of eNBs and hundreds of User
Equipment (UEs).

so running with thousands of UEs will likely require you to make some
modifications to the models to introduce more abstractions that are
compatible with your study.

- Tom

Guy Gabay

unread,
Oct 17, 2023, 11:06:25 PM10/17/23
to 5G-LENA-users
Hello, I would like to combine MPI with lena 5g moodle, I wanted to ask if this combination is possible?

ב-יום חמישי, 11 באוגוסט 2022 בשעה 17:49:24 UTC+3, Tom Henderson כתב/ה:

Tom Henderson

unread,
Oct 17, 2023, 11:53:34 PM10/17/23
to Guy Gabay, 5G-LENA-users
Presently, I believe that you need to partition the MPI nodes with
PointToPoint links; that is, you could have one 5G network on one node,
and a separate 5G network on another node, but you cannot split a single
5G network.
> --
> You received this message because you are subscribed to the Google
> Groups "5G-LENA-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to 5g-lena-user...@googlegroups.com
> <mailto:5g-lena-user...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/5g-lena-users/99c363d7-461a-4d07-bf67-59cbf92c80e6n%40googlegroups.com <https://groups.google.com/d/msgid/5g-lena-users/99c363d7-461a-4d07-bf67-59cbf92c80e6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Guy Gabay

unread,
Oct 21, 2023, 10:34:10 PM10/21/23
to 5G-LENA-users
Hi Tom, I've been trying to mix MPI module in some lena 5g codes,
every time i get an error:

NS_ASSERT failed, cond="tAbsolute.IsPositive()", +0.002000000s 0 file=/ns-allinone-3.38/ns-3.38/src/mpi/model/distributed-simulator-impl.cc, line=485
NS_FATAL, terminating.

Do you have any idea how to solve these?

ב-יום רביעי, 18 באוקטובר 2023 בשעה 06:53:34 UTC+3, Tom Henderson כתב/ה:

Tom Henderson

unread,
Oct 21, 2023, 11:10:51 PM10/21/23
to Guy Gabay, 5G-LENA-users

Guy Gabay

unread,
Oct 27, 2023, 9:59:43 PM10/27/23
to 5G-LENA-users
Hey Tom, I think I managed to solve the problem by uncommenting this line
I'm currently trying to run two networks at the same time and I encountered the same problem as here:


ב-יום ראשון, 22 באוקטובר 2023 בשעה 06:10:51 UTC+3, Tom Henderson כתב/ה:
Reply all
Reply to author
Forward
0 new messages