How can I implement mobile edge computing using ns3?(eg: Cloudlets) Please give me some guidelines of doing that..

1,706 views
Skip to first unread message

SUBIN JOSEPH

unread,
Jun 2, 2016, 7:40:17 PM6/2/16
to ns-3-users
I just wanted to compare the latency and reliability of edge computing over cloud computing.So I am thinking of simulating both edge and cloud computing using ns3?Is there any method to do that??

Konstantinos

unread,
Jun 3, 2016, 9:21:39 AM6/3/16
to ns-3-users
Hi Subin,

Implementing a MEC is not a simple task and is currently not available in ns-3. 
You need to specify several things, from required entities/functionality and protocols to be used.
Have a look at some reference architecture (e.g. ETSI MEC - http://www.etsi.org/deliver/etsi_gs/MEC/001_099/003/01.01.01_60/gs_MEC003v010101p.pdf) and begin implementing parts of the reference architecture. 

Regards,
K.

SUBIN JOSEPH

unread,
Jun 5, 2016, 12:17:15 PM6/5/16
to ns-3-users
Thanks for your reply..I got it..But how do we implement cloud system in ns3??

Konstantinos

unread,
Jun 5, 2016, 12:54:19 PM6/5/16
to ns-3-users
ns-3 is a network simulator.You simulate networks, not cloud services. 

SUBIN JOSEPH

unread,
Jun 5, 2016, 1:00:50 PM6/5/16
to ns-3-...@googlegroups.com
Thank you for your quick reply..I understand that..But I still have some doubts(might be basic one.)How can we simulate a many mobile systems which send packet to a central computer and send data back from central computer to those systems. Datas send to central computer from many wireless networks(more than one). 

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
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/V4-Pp6JZbmA/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 https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Konstantinos

unread,
Jun 5, 2016, 2:20:53 PM6/5/16
to ns-3-users
Creating a mobile network (LTE) and connecting it to a node is explained in the tutorial/examples. In each mobile network, the PGW is connected to that remote node.
You can create another mobile network (configuring correctly*) and connecting the new PGW to the same remote node. 
That remote node is your 'central computer' and you can create applications on that node to send traffic to the two mobile networks.
Instead of mobile networks, you can use WIFI or any other network.

(*) There might be some issues with the addressing since there is a default 7.x.x.x subnet assumed for the mobile network in ns-3. But this has been discussed in the list how to change it.

On Sunday, June 5, 2016 at 6:00:50 PM UTC+1, SUBIN JOSEPH wrote:
Thank you for your quick reply..I understand that..But I still have some doubts(might be basic one.)How can we simulate a many mobile systems which send packet to a central computer and send data back from central computer to those systems. Datas send to central computer from many wireless networks(more than one). 
On Sun, Jun 5, 2016 at 6:54 PM, Konstantinos <dinos.k...@gmail.com> wrote:
ns-3 is a network simulator.You simulate networks, not cloud services. 


On Sunday, June 5, 2016 at 5:17:15 PM UTC+1, SUBIN JOSEPH wrote:
Thanks for your reply..I got it..But how do we implement cloud system in ns3??

On Friday, 3 June 2016 15:21:39 UTC+2, Konstantinos wrote:
Hi Subin,

Implementing a MEC is not a simple task and is currently not available in ns-3. 
You need to specify several things, from required entities/functionality and protocols to be used.
Have a look at some reference architecture (e.g. ETSI MEC - http://www.etsi.org/deliver/etsi_gs/MEC/001_099/003/01.01.01_60/gs_MEC003v010101p.pdf) and begin implementing parts of the reference architecture. 

Regards,
K.

On Friday, June 3, 2016 at 12:40:17 AM UTC+1, SUBIN JOSEPH wrote:
I just wanted to compare the latency and reliability of edge computing over cloud computing.So I am thinking of simulating both edge and cloud computing using ns3?Is there any method to do that??

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
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/V4-Pp6JZbmA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.

Thiago Genez

unread,
Jun 1, 2017, 12:20:23 PM6/1/17
to ns-3-users
Hi,

Thank you for this question. Cloudlet is the buzz-word of the moment, and I would like to raise a question concerning this matter after one year that this post has been posted. 

a) Scenario description:
I am trying to create a "novel/crazy" mobile network (LTE) scenario where each eNB has a cloudlet directly attached to it. A cloudlet is considered to be a mini-datacenter or a rack of servers in this scenario. It is considered that an UE has personal VM for computation offloading purposes and this VM is not shared with other UE.  The aim of the cloudlets is to run UE's VMs only.  Cloudlets is considered to be inside the mobile network (mobile network operator's premises) and the communication among UEs and their VMs do not need to pass by SGW/PGW since cloudlets are not considered to be an "external network". 

b) Goal: As UE may change its eNB's connection due to its mobility in the mobile network, his/her VM needs to be migrated from one cloudlet to another with the purpose of maintaining a low network latency among them (UE <---> VM). In other words, VM needs to follow the UE (his/her "owner")

c) Question: Given this description and after reading loads of codes/documentations, I would like to know if I am able to use LTE (LENA) model to implement such scenario or it is recommended for me to use WIFI model instead. Apparently, I will have to use WIFI but I would like an advice. 

Sorry for my noob question, but I am a new ns-3 user. I really appreciate any help that this group can provide =)

Many thanks.
Thiago


To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

Harshit Gupta

unread,
Jun 9, 2017, 10:44:24 AM6/9/17
to ns-3-users
Yes Thiago. It is possible to create your "novel/crazy" LTE scenario. In fact, I have done exactly that in a very naive way. I created an LTE network where every eNB has an MEC Host connected to it. I haven't handled mobility as of now, but what I plan to do initially is to use the X2 interface to prevent loss of connectivity to a particular MEC Host. Migration is something even more complicated.

bilelc...@gmail.com

unread,
Jan 10, 2019, 9:21:34 AM1/10/19
to ns-3-users
Hi @Harshit Gupta. I am working on the same topic. I would like to know if you succeeded in implementing the model ?
Thank you in advance.

Ram Aditya

unread,
Jun 21, 2019, 1:24:23 AM6/21/19
to ns-3-users
Were you successful with your implementation? If so, it would be great if you could provide more details about the implementation. I am a noob trying to implement something very similar.

Vaishali Joshi

unread,
Sep 29, 2022, 12:54:52 AM9/29/22
to ns-3-users
Hi all
thank you for this question. actually its after  2-3 years of the question i m posting here.
 i am also working on Computation offloading and VM Migration for Mobile Edge Computing.
please let me know different platforms to simulate this scenario.
can we simulate this on NS3?
I am completely new to this topic please guide me in this regard, please share any tutorials and source code for the same.

Reply all
Reply to author
Forward
0 new messages