| Literature DB >> 35126487 |
Muhammad Mazhar Bukhari1, Taher M Ghazal2,3, Sagheer Abbas1, M A Khan4, Umer Farooq5, Hasan Wahbah6, Munir Ahmad1, Khan Muhammad Adnan7.
Abstract
Smart applications and intelligent systems are being developed that are self-reliant, adaptive, and knowledge-based in nature. Emergency and disaster management, aerospace, healthcare, IoT, and mobile applications, among them, revolutionize the world of computing. Applications with a large number of growing devices have transformed the current design of centralized cloud impractical. Despite the use of 5G technology, delay-sensitive applications and cloud cannot go parallel due to exceeding threshold values of certain parameters like latency, bandwidth, response time, etc. Middleware proves to be a better solution to cope up with these issues while satisfying the high requirements task offloading standards. Fog computing is recommended middleware in this research article in view of the fact that it provides the services to the edge of the network; delay-sensitive applications can be entertained effectively. On the contrary, fog nodes contain a limited set of resources that may not process all tasks, especially of computation-intensive applications. Additionally, fog is not the replacement of the cloud, rather supplement to the cloud, both behave like counterparts and offer their services correspondingly to compliance the task needs but fog computing has relatively closer proximity to the devices comparatively cloud. The problem arises when a decision needs to take what is to be offloaded: data, computation, or application, and more specifically where to offload: either fog or cloud and how much to offload. Fog-cloud collaboration is stochastic in terms of task-related attributes like task size, duration, arrival rate, and required resources. Dynamic task offloading becomes crucial in order to utilize the resources at fog and cloud to improve QoS. Since this formation of task offloading policy is a bit complex in nature, this problem is addressed in the research article and proposes an intelligent task offloading model. Simulation results demonstrate the authenticity of the proposed logistic regression model acquiring 86% accuracy compared to other algorithms and confidence in the predictive task offloading policy by making sure process consistency and reliability.Entities:
Mesh:
Year: 2022 PMID: 35126487 PMCID: PMC8808244 DOI: 10.1155/2022/3606068
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1IoT-cloud architecture.
Figure 2Data processing challenges at cloud data center.
Figure 3Smart car parking system.
Figure 4Computational and analytical processing.
Figure 5Task offloading criteria.
Figure 6Proposed fog-cloud intelligent task offloading model.
Figure 7Task offloading procedure.
Figure 8Task offloading categories.
Description of dataset attributes.
| Sr | Attribute | Description | Type | Missing values |
|---|---|---|---|---|
| 1 | ID | Uniquely identified tuple identification number | Text | 0 |
| 2 | Size | Size of a tuple | Numeric | 0 |
| 3 | Name | Name of a tuple | Text | 0 |
| 4 | MIPS | Million instructions per second | Numeric | 0 |
| 5 | NumberOfPes | Number of processing elements | Numeric | 0 |
| 6 | RAM | How much memory is required | Numeric | 0 |
| 7 | BW | Bandwidth of a tuple required | Numeric | 0 |
| 8 | Source | Tuple originating source | Numeric | 10,000 |
| 9 | Destination | Tuple processing server/node | Numeric | 10,000 |
| 10 | Delay | Tuple delay details | Numeric | 0 |
| 11 | Priority | Urgency/importance of a tuple | Categorical | 0 |
| 12 | CloudletScheduler/PreviousTime | Scheduling information of a tuple | Numeric | 0 |
| 13 | CloudletScheduler/CurrentMips | Scheduling and sharing information | Numeric | 10,000 |
| 14 | CurrentAllocatedSize | Size of a tuple allocated at the time | Numeric | 0 |
| 15 | CurrentAllocatedRam | Amount of RAM allocated to a tuple | Numeric | 0 |
| 16 | CurrentAllocatedBw | Amount of bandwidth allocated | Numeric | 0 |
| 17 | CurrentAllocatedMips | Amount of MIPS allocated to a tuple | Numeric | 0 |
| 18 | BeingInstantiated | Status of a tuple | Categorical | 0 |
| 19 | GeoLocation/latitude | Latitude location of the tuple source | Numeric | 0 |
| 20 | GeoLocation/longitude | Longitude location of the tuple | Numeric | 0 |
| 21 | DataType | Data types of tuples, i.e., abrupt, bulk, large, location based, medical, etc. | Categorical | 0 |
| 22 | DataPercentage | Data size | Numeric | 0 |
| 23 | Tuple_Reversed | Tuple reversed from fog to cloud | Categorical | 0 |
| 24 | IsServerFound | If tuple found any server to be | Numeric | 0 |
| 25 | IsCloudServed | Is tuple served at cloud data center | Categorical | 0 |
| 26 | IsServed | Is tuple served by any server | Categorical | 0 |
| 27 | DeviceType | Actuators, dumb objects, mobile, node, sensor | Categorical | 0 |
| 28 | Service | Is tuple being served | Numeric | 0 |
| 29 | QueueDelay | If tuple finds delay while in queue | Numeric | 0 |
| 30 | InternalProcessingTime | Time taken to be processed | Numeric | 0 |
| 31 | FogLevelServed | If tuple is served at a fog node | Numeric | 0 |
| 32 | IsServedByFC_Cloud | If tuple is served at a cloud server | Numeric | 0 |
| 33 | BurstTime | Total burst time of a tuple | Numeric | 0 |
| 34 | BurstTimeDifference | Difference of burst time | Numeric | 0 |
| 35 | IsServedByFC (output) | Tuple serves at cloud server | Categorical | 0 |
Cloud data centers used in the setup.
| DC | Geolocation | Memory (MB) | Storage (MB) | MIPS | BW (kbps) | Arch | OS | Status |
|---|---|---|---|---|---|---|---|---|
| USA data center | 37.422421, −2.0866703 | 51200 | 1000000 | 500000 | 50000 | x86 | Linux | Live |
| Singapore data center | 1.277911, 103.849662 | 51200 | 1000000 | 500000 | 50000 | x86 | Linux | Live |
Fog nodes used in the setup.
| Sr | Name | Size | MIPS | RAM | UpBW | DownBW | Processor burst time |
|---|---|---|---|---|---|---|---|
| 1 | PakFog-0 | 25000 | 110000 | 16384 | 2500 | 1700 | 25 |
| 2 | PakFog-1 | 10000 | 50000 | 6144 | 1000 | 700 | 25 |
| 3 | PakFog-2 | 20000 | 95000 | 12288 | 2000 | 1500 | 25 |
| 4 | PakFog-3 | 15000 | 85000 | 10240 | 1500 | 1200 | 15 |
| 5 | PakFog-4 | 12000 | 75000 | 8192 | 1200 | 1000 | 30 |
Symbol description.
| Symbol | Definition |
|---|---|
|
| Dataset |
| FE | Feature engineering |
| FS | Feature selection |
| Logit | Logistic unit (log odds) |
|
| Sigmoid function |
| EOF() | End of file |
|
| Weighted sum |
|
| Intercept or bias term |
|
| Coefficient |
|
| Features |
|
| Calculate probability |
|
| Cloud data center |
|
| Fog network |
|
| Predicted/Estimated probability |
Figure 9Data bifurcation of fog-cloud offloading.
Figure 10Feature analysis.
Figure 11Identification of outliers.
Statistical measures of the data.
| Size | MIPS | RAM | BW | Geo/latitude | Geo/longitude | BurstTime | IsServedByFC | |
|---|---|---|---|---|---|---|---|---|
| Count | 10000 | 10000 | 10000 | 10000 | 10000 | 10000 | 10000 | 10000 |
| Mean | 206.683 | 344.65 | 418.43 | 88.494 | 33.68742 | 73.0078 | 12.662 | 0.4326 |
| std | 74.722 | 350.36 | 325.31 | 39.0848 | 0.065175 | 0.084029 | 9.305505 | 0.495461 |
| min | 80 | 50 | 100 | 20 | 33.57106 | 72.83865 | 0 | 0 |
| 25% | 170 | 100 | 200 | 80 | 33.63828 | 72.94511 | 10 | 0 |
| 50% | 220 | 200 | 300 | 90 | 33.70275 | 73.01083 | 10 | 0 |
| 75% | 270 | 500 | 500 | 100 | 33.73518 | 73.09606 | 15 | 1 |
| max | 300 | 1200 | 1024 | 150 | 33.78799 | 73.14154 | 35 | 1 |
Figure 12Training and testing confusion matrix.
Figure 13Performance measures (training and testing).
Figure 14Comparisons of the proposed model with other algorithms.
Figure 15Error/loss comparison.
Figure 16Execution time comparison.
Figure 17Receiver operating characteristics (ROC) curve performance.