fogsim icon indicating copy to clipboard operation
fogsim copied to clipboard

Load balancing using iFogsim

Open chiamcy opened this issue 7 years ago • 24 comments

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing?

chiamcy avatar Jun 05 '17 11:06 chiamcy

Hello

Thanks for the question. I would like to know what you mean by load balancing here - as it is not absolutely necessary to use the updateAllocatedMips() function to do so. The reason this function has been excluded from the improv branch is that in the improv branch, I have considered fog applications which would reserve resources on the device they are executing. The original implementation had resources allotted to AppModules that were processing tuples and not to idle ones. This has been simplified in the new version, and hence there is no need of the function.

On Mon, Jun 5, 2017 at 5:27 PM, chiamcy [email protected] wrote:

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4Jc3bouGS1hH1lczftSx0VhTf_Nvks5sA-0rgaJpZM4Nv8yP .

-- With regards,

HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 [email protected]

harshitgupta1337 avatar Jun 06 '17 17:06 harshitgupta1337

Thanks for the reply! And sorry for the confusion, I am working on task scheduling to balance the load in fog computing environment to enhance the fog performance and efficiency. Basically trying to implement a scheduling algorithm into the simulator to reduce the latency and turnaround time to complete the workload from end devices.

chiamcy avatar Jun 07 '17 06:06 chiamcy

Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas?

Thanks in advance!

mukhtarEdris avatar Aug 25 '17 14:08 mukhtarEdris

Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels of task scheduling.

  1. Scheduling applications among fog devices : You implement an application module placement policy and decide which fog device will hold what application modules.
  2. Scheduling applications hosted on same device : You implement a Vm scheduling policy that decides which application module running on a device will receive what amount of resources of the fog node at any given time.
  3. Scheduling tuples on a given application module : You implement a Tuple scheduling policy that decides how much of resources of an application module should be given to a given tuple executing on the application module.

To reduce energy consumption, you may want to do the following :

  1. Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy,
  2. Reduce the amount of data transmitted over network. Network transmission also consumes energy , though IT HAS NOT BEEN MODELED IN FOGSIM YET.
  3. Design application placement policies that select energy efficient devices more than energy inefficient ones

Please let me know if you need any specific details. I hope this helps.

On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris [email protected] wrote:

Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas?

Thanks in advance!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/5#issuecomment-324928836, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP .

-- With regards,

HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 [email protected]

harshitgupta1337 avatar Aug 29 '17 01:08 harshitgupta1337

Dear Harshit Gupta, Thanks a lot for your valued reply. I will try to follow your guidance and I will let you know what will happen

Thanks again and best regards

mukhtarEdris avatar Aug 29 '17 15:08 mukhtarEdris

Dear Harshit Gupta, I would like to give me some insights regarding reducing energy consumption by " 1.Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy" or by "3. Design application placement policies that select energy efficient devices more than energy inefficient ones" did you mean another placement instead of Edge-wards? or new application modules placement policy instead of AppModuleAllocationPolicy?

Thanks in advance!

mukhtarEdris avatar Sep 06 '17 13:09 mukhtarEdris

Will you please guide me from where i can download the updated version of ifogsim code, in which fog applications are considered to reserve resources on the device.

jua524021 avatar Apr 06 '18 05:04 jua524021

hi Can you please send me any ifogsim project for learning and understanding.

Qaisar-Shaheen avatar Aug 02 '18 10:08 Qaisar-Shaheen

hi i just started studying fog computing , i am phd scholar and i want to work on fog computing in WBAN. can you please guide me how i can learn ifogsim.. if it is possible that you can share me some coding module for my learning . i would be really greatfull

mysmchannel avatar Sep 18 '18 03:09 mysmchannel

*Hi *mysmchannel, Hope you success PhD journey. Please, see this tutorial paper http://www.buyya.com/papers/iFogSim-Tut.pdf . Hope it will be useful for you.

Best regards.

On Tue, Sep 18, 2018 at 5:50 AM mysmchannel [email protected] wrote:

hi i just started studying fog computing , i am phd scholar and i want to work on fog computing in WBAN. can you please guide me how i can learn ifogsim.. if it is possible that you can share me some coding module for my learning . i would be really greatfull

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/5#issuecomment-422246013, or mute the thread https://github.com/notifications/unsubscribe-auth/AZCKCu4gReA1Y8GXPmSSuqT6DPDr2nJuks5ucG2TgaJpZM4Nv8yP .

mukhtarEdris avatar Sep 18 '18 08:09 mukhtarEdris

I have implemented a remote health monitoring system on ifogsim and I want to schedule sensors data into urgent and not urgent how can I do that please ?

FWHDeveloper avatar Oct 10 '18 10:10 FWHDeveloper

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing?

have you done load balancing in a fog computing environment using ifogsim ?

Saadia-Batool avatar Nov 05 '18 12:11 Saadia-Batool

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing? Sir have you done load balancing in ifogsim? I am computer science scholar... I need your help

KamranAwaisi avatar Sep 27 '19 19:09 KamranAwaisi

thank you very much ..ill study it in details thanks for considering my request so generously

On Sat, Sep 28, 2019 at 12:39 AM KamranAwaisi [email protected] wrote:

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing? Sir have you done load balancing in ifogsim? I am computer science scholar... I need your help

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/5?email_source=notifications&email_token=AKILO6KRQS5VCOTZN63R3WTQLZONRA5CNFSM4DN7ZSH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Z4Z6Y#issuecomment-536071419, or mute the thread https://github.com/notifications/unsubscribe-auth/AKILO6JBLUYK4OO3RDI3XMLQLZONRANCNFSM4DN7ZSHQ .

-- Muhammad Junaid Iqbal PHD Scholar Contact No: 03136003788 Skype: iamjunaidiqbal

mysmchannel avatar Sep 28 '19 04:09 mysmchannel

Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing?

Sir have you done with the load balancing?

KamranAwaisi avatar Oct 01 '19 10:10 KamranAwaisi

Hi.Can anyone send your projects for learning and understanding.It will be helpful to develop my project. Thanks.....

Manoj-T529 avatar Feb 26 '20 09:02 Manoj-T529

Dear Harshit Gupta, I would like to give me some insights regarding reducing energy consumption by " 1.Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy" or by "3. Design application placement policies that select energy efficient devices more than energy inefficient ones" did you mean another placement instead of Edge-wards? or new application modules placement policy instead of AppModuleAllocationPolicy?

Thanks in advance!

Hi i d like to contact you if you get some information how we can reduce the energy consumption

saad-eddine avatar May 06 '20 00:05 saad-eddine

Thanks for the reply! And sorry for the confusion, I am working on task scheduling to balance the load in fog computing environment to enhance the fog performance and efficiency. Basically trying to implement a scheduling algorithm into the simulator to reduce the latency and turnaround time to complete the workload from end devices.

Hi i d like to contact you if you get some information how we can reduce the latency on the network

saad-eddine avatar May 06 '20 00:05 saad-eddine

hello @harshitgupta1337 , please I'm trying to implement a privacy system to prevent data user in fog computing environment , can I do it by ifogsim??

samaayt avatar Apr 20 '22 12:04 samaayt

can anyone give the implementation of health monitoring using ifogsim? i need to implement a task scheduling at fog node and a selection mechanism at the sensor level. please help me out.... (Any freelancer is appreciated as well)

abeerailyas avatar Apr 27 '22 04:04 abeerailyas

Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels of task scheduling. 1. Scheduling applications among fog devices : You implement an application module placement policy and decide which fog device will hold what application modules. 2. Scheduling applications hosted on same device : You implement a Vm scheduling policy that decides which application module running on a device will receive what amount of resources of the fog node at any given time. 3. Scheduling tuples on a given application module : You implement a Tuple scheduling policy that decides how much of resources of an application module should be given to a given tuple executing on the application module. To reduce energy consumption, you may want to do the following : 1. Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy, 2. Reduce the amount of data transmitted over network. Network transmission also consumes energy , though IT HAS NOT BEEN MODELED IN FOGSIM YET. 3. Design application placement policies that select energy efficient devices more than energy inefficient ones Please let me know if you need any specific details. I hope this helps. On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris @.***> wrote: Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas? Thanks in advance! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP . -- With regards, HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 [email protected]

Hello, I am also studying on the load balance in fog computing and I read this post. In my design, I have a manager node in the fog cluster and I hope this manager node receives all requests and then decides which working instance to process the request. I hope to deploy my own load balance algorithm on the manager node. In this case, how do I config iFogSim ?

sharlec avatar Jun 18 '22 23:06 sharlec

Submissions are welcomed to our Special issue titled "Towards Making Everything Smart by Using Edge Computing-based Internet of Things' in Computer Materials and Continua (CMC) , Tech Science Press. The Impact Factor = 3.78. For detail/submission click on the below link please: https://techscience.com/cmc/special_detail/edge-computing_iot

On Sun, 19 Jun 2022, 4:39 am sharlec, @.***> wrote:

Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels of task scheduling. 1. Scheduling applications among fog devices : You implement an application module placement policy and decide which fog device will hold what application modules. 2. Scheduling applications hosted on same device : You implement a Vm scheduling policy that decides which application module running on a device will receive what amount of resources of the fog node at any given time. 3. Scheduling tuples on a given application module : You implement a Tuple scheduling policy that decides how much of resources of an application module should be given to a given tuple executing on the application module. To reduce energy consumption, you may want to do the following : 1. Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy, 2. Reduce the amount of data transmitted over network. Network transmission also consumes energy , though IT HAS NOT BEEN MODELED IN FOGSIM YET. 3. Design application placement policies that select energy efficient devices more than energy inefficient ones Please let me know if you need any specific details. I hope this helps. … <#m_-3815155121147677309_> On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris @.> wrote: Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas? Thanks in advance! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/harshitgupta1337/fogsim/issues/5#issuecomment-324928836>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP . -- With regards, HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 @.

Hello, I am also studying on the load balance in fog computing and I read this post. In my design, I have a manager node in the fog cluster and I hope this manager node receives all requests and then decides which working instance to process the request. I hope to deploy my own load balance algorithm on the manager node. In this case, how do I config iFogSim ?

— Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/5#issuecomment-1159582734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKAVXC6INRPSSMQFCDTSPD3VPZM4JANCNFSM4DN7ZSHQ . You are receiving this because you commented.Message ID: @.***>

Qaisar-Shaheen avatar Jun 19 '22 05:06 Qaisar-Shaheen

Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels of task scheduling. 1. Scheduling applications among fog devices : You implement an application module placement policy and decide which fog device will hold what application modules. 2. Scheduling applications hosted on same device : You implement a Vm scheduling policy that decides which application module running on a device will receive what amount of resources of the fog node at any given time. 3. Scheduling tuples on a given application module : You implement a Tuple scheduling policy that decides how much of resources of an application module should be given to a given tuple executing on the application module. To reduce energy consumption, you may want to do the following : 1. Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy, 2. Reduce the amount of data transmitted over network. Network transmission also consumes energy , though IT HAS NOT BEEN MODELED IN FOGSIM YET. 3. Design application placement policies that select energy efficient devices more than energy inefficient ones Please let me know if you need any specific details. I hope this helps. On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris @.***> wrote: Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas? Thanks in advance! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP . -- With regards, HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 [email protected]

Hello, I am also studying on the load balance in fog computing and I read this post. In my design, I have a manager node in the fog cluster and I hope this manager node receives all requests and then decides which working instance to process the request. I hope to deploy my own load balance algorithm on the manager node. In this case, how do I config iFogSim ?

Hi, I am also working on comparing load balancing algorithms in fog systems, but I am not able to figure out how to use IFOGSIM to do so. I would appreciate if anyone could provide me with some references in this regard.

Am4nn avatar Nov 21 '23 11:11 Am4nn

Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels of task scheduling. 1. Scheduling applications among fog devices : You implement an application module placement policy and decide which fog device will hold what application modules. 2. Scheduling applications hosted on same device : You implement a Vm scheduling policy that decides which application module running on a device will receive what amount of resources of the fog node at any given time. 3. Scheduling tuples on a given application module : You implement a Tuple scheduling policy that decides how much of resources of an application module should be given to a given tuple executing on the application module. To reduce energy consumption, you may want to do the following : 1. Consolidate computation on a smaller number of fog devices so that fewer fog devices are active and thus spending energy, 2. Reduce the amount of data transmitted over network. Network transmission also consumes energy , though IT HAS NOT BEEN MODELED IN FOGSIM YET. 3. Design application placement policies that select energy efficient devices more than energy inefficient ones Please let me know if you need any specific details. I hope this helps. On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris @.***> wrote: Dear Harshit Gupta and Chiamcy, I would like to know where I can add my code for task scheduling and what is your suggestion if my objective is to reduce energy consumption in fog devices Can you help me please by sharing some ideas? Thanks in advance! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP . -- With regards, HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. [+1 (404) 512-9792](tel:+1 (404) 512-9792) [email protected]

Hello, I am also studying on the load balance in fog computing and I read this post. In my design, I have a manager node in the fog cluster and I hope this manager node receives all requests and then decides which working instance to process the request. I hope to deploy my own load balance algorithm on the manager node. In this case, how do I config iFogSim ?

Hi, I am also working on comparing load balancing algorithms in fog systems, but I am not able to figure out how to use IFOGSIM to do so. I would appreciate if anyone could provide me with some references in this regard.

Hello my project also on edge computing to achieve load balance and didnt find the dataset i train the model on it

EngDaliaIT avatar Jan 02 '24 16:01 EngDaliaIT