harshitgupta1337 / fogsim

A Toolkit for Modeling and Simulation of Resource Management Techniques in Internet of Things, Edge and Fog Computing Environments
http://arxiv.org/abs/1606.02007
41 stars 37 forks source link

Load balancing using iFogsim #5

Open chiamcy opened 7 years ago

chiamcy commented 7 years ago

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?

harshitgupta1337 commented 7 years ago

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 notifications@github.com 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 harshitg@gatech.edu

chiamcy commented 7 years ago

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.

mukhtarEdris commented 7 years ago

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!

harshitgupta1337 commented 7 years ago

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 notifications@github.com 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 harshitg@gatech.edu

mukhtarEdris commented 7 years ago

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 commented 7 years ago

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!

jua524021 commented 6 years ago

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.

Qaisar-Shaheen commented 6 years ago

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

mysmchannel commented 6 years ago

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

mukhtarEdris commented 6 years ago

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 notifications@github.com 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 .

FWHDeveloper commented 6 years ago

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 ?

Saadia-Batool commented 6 years ago

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 ?

KamranAwaisi commented 5 years ago

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

mysmchannel commented 5 years ago

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 notifications@github.com 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

KamranAwaisi commented 5 years ago

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?

Manoj-T529 commented 4 years ago

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

saad-eddine commented 4 years ago

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 commented 4 years ago

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

samaayt commented 2 years ago

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??

abeerailyas commented 2 years ago

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)

sharlec commented 2 years ago

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 harshitg@gatech.edu

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 ?

Qaisar-Shaheen commented 2 years ago

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: @.***>

Am4nn commented 1 year ago

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 harshitg@gatech.edu

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.

EngDaliaIT commented 10 months ago

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) harshitg@gatech.edu

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