Iterations

22 views
Skip to first unread message

Mohamed Mohsen

unread,
Apr 3, 2025, 10:47:59 AMApr 3
to 5G-LENA-users
So I am working on a custom RL based network scheduler using NS3+ 5G Lena + openGYM.
Currently I am trying to figure out a way to allow for my 5G Lena script to run for multiple iterations/cycles automatically for training purposes.
My question is has anyone here attempted to bake in something like that using 5G Lena? and if so how did you do it?  Thank you in advance!

Eduardo Fabricio

unread,
Apr 3, 2025, 11:14:30 AMApr 3
to Mohamed Mohsen, 5G-LENA-users
Yes, I did.

I manage it by creating a bash script and changing the variables through the command executed by the bash script. I think the point that you need to pay attention to is that you need to run each compilation for your new script again and wait for it to finish before starting the next one. If not, they will overwrite the files before starting the simulation process.
I used to have several simulations in parallel with 100% CPU usage, each in 32 threads CPU. You need to manage the processing type and memory use for them. You can also use a different simulation engine as described in https://www.nsnam.org/docs/manual/html/events.html.

Br,

Eduardo

--
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.
To view this discussion, visit https://groups.google.com/d/msgid/5g-lena-users/b59dc323-f78c-44a4-b433-47b949292130n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages