| Literature DB >> 31277474 |
Sudheer Kumar Battula1, Saurabh Garg2, Ranesh Kumar Naha3, Parimala Thulasiraman4, Ruppa Thulasiram4.
Abstract
Fog computing aims to support applications requiring low latency and high scalability by using resources at the edge level. In general, fog computing comprises several autonomous mobile or static devices that share their idle resources to run different services. The providers of these devices also need to be compensated based on their device usage. In any fog-based resource-allocation problem, both cost and performance need to be considered for generating an efficient resource-allocation plan. Estimating the cost of using fog devices prior to the resource allocation helps to minimize the cost and maximize the performance of the system. In the fog computing domain, recent research works have proposed various resource-allocation algorithms without considering the compensation to resource providers and the cost estimation of the fog resources. Moreover, the existing cost models in similar paradigms such as in the cloud are not suitable for fog environments as the scaling of different autonomous resources with heterogeneity and variety of offerings is much more complicated. To fill this gap, this study first proposes a micro-level compensation cost model and then proposes a new resource-allocation method based on the cost model, which benefits both providers and users. Experimental results show that the proposed algorithm ensures better resource-allocation performance and lowers application processing costs when compared to the existing best-fit algorithm.Entities:
Keywords: IoT; cost model; fog computing; matching theory; resource allocation
Year: 2019 PMID: 31277474 PMCID: PMC6650825 DOI: 10.3390/s19132954
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Fog computing.
Different cases of users and providers contribution.
| Cases | User’s Contribution | User Request | Cost |
|---|---|---|---|
| 1 | Fog devices, Sensors | N |
|
| 2 | Fog devices, Sensors | N |
|
| 3 | Network | N |
|
| 4 | Network | Y |
|
| 5 | Sensors | N |
|
| 6 | Sensors | Y |
|
| 7 | Fog devices | N |
|
| 8 | Fog devices | Y |
|
| 9 | None | N |
|
Available resources of machines.
| Resource ID | Processor (GHz) | Network (Kbps) | RAM (GB) | Cost |
|---|---|---|---|---|
| AR1 | 2.3 | 300 | 2 | 0.008 |
| AR2 | 1.6 | 300 | 2 | 0.006 |
| AR3 | 1.5 | 1000 | 1 | 0.004 |
| AR4 | 1.2 | 150 | 1 | 0.002 |
| AR5 | 1.0 | 300 | 1 | 0.001 |
| AR6 | 0.9 | 1000 | 2 | 0.007 |
Resource priority of the users.
| User Request No | Pr1 | Pr2 | PR3 | PR4 | PR5 | PR6 |
|---|---|---|---|---|---|---|
| UR1 | AR6 | AR2 | AR1 | AR3 | AR4 | AR5 |
| UR2 | AR1 | AR2 | AR3 | AR4 | AR5 | AR6 |
| UR3 | AR2 | AR1 | AR3 | AR4 | AR5 | AR6 |
| UR4 | AR3 | AR2 | AR1 | AR4 | AR5 | AR6 |
| UR5 | AR4 | AR3 | AR2 | AR1 | AR5 | AR6 |
| UR6 | AR5 | AR4 | AR3 | AR2 | AR1 | AR6 |
Selected machined after applying the proposed algorithm and best-fit algorithms.
| User Request No | Proposed Algorithm | Best-Fit | ||
|---|---|---|---|---|
| System | Status | System | Status | |
| UR1 | AR6 | S | AR1 | S |
| UR2 | AR1 | S | AR2 | NS |
| UR3 | AR2 | S | AR3 | NS |
| UR4 | AR3 | S | AR4 | NS |
| UR5 | AR4 | S | AR5 | NS |
| UR6 | AR5 | S | AR6 | NS |
Evaluation parameters.
| Parameter | Description | Value | Type |
|---|---|---|---|
| N | Number of Source nodes | 500 | temperature and proximity |
| M | Number of Fog nodes | 75–100 | medium, small and tiny |
| R | Ratio of Fog nodes | 5–10%, 30–35%,remaining% | medium, small and tiny |
| lh | Hop delay | 10 [ms/hop] | |
| C | Maximum capacity of one Fog node | 5, 10, 15, [actions executed] | tiny, small, medium |
|
| Producing work rate | 10–100 [actions executed/s] | temperature and proximity |
| QoSF | QoS Factor | 90–100% | Fog nodes |
| NW | Network speed | 300–1000 Kbps | Fog nodes |
Figure 2Cost for different cases of infrastructure as a contribution.
Figure 3Comparison of cost, resources used, and successful application between the Proposed and BestFit algorithm when the fog devices are fixed.
Figure 4Comparison of cost, resources used and successful application between the Proposed and BestFit algorithm when the fog devices are equal to number of applications.