EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments

Abstract The widespread adoption of cloud services has posed several challenges, primarily revolving around energy and resource efficiency. Integrating cloud and fog resources can help address these challenges by improving fog-cloud computing environments. Nevertheless, the search for optimal task a...

Full description

Saved in:
Bibliographic Details
Main Authors: Asfandyar Khan, Faizan Ullah, Dilawar Shah, Muhammad Haris Khan, Shujaat Ali, Muhammad Tahir
Format: Article
Language:English
Published: Nature Portfolio 2025-04-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-96974-9
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850202478365114368
author Asfandyar Khan
Faizan Ullah
Dilawar Shah
Muhammad Haris Khan
Shujaat Ali
Muhammad Tahir
author_facet Asfandyar Khan
Faizan Ullah
Dilawar Shah
Muhammad Haris Khan
Shujaat Ali
Muhammad Tahir
author_sort Asfandyar Khan
collection DOAJ
description Abstract The widespread adoption of cloud services has posed several challenges, primarily revolving around energy and resource efficiency. Integrating cloud and fog resources can help address these challenges by improving fog-cloud computing environments. Nevertheless, the search for optimal task allocation and energy management in such environments continues. Existing studies have introduced notable solutions; however, it is still a challenging issue to efficiently utilize these heterogeneous cloud resources and achieve energy-efficient task scheduling in fog-cloud of things environment. To tackle these challenges, we propose a novel ML-based EcoTaskSched model, which leverages deep learning for energy-efficient task scheduling in fog-cloud networks. The proposed hybrid model integrates Convolutional Neural Networks (CNNs) with Bidirectional Log-Short Term Memory (BiLSTM) to enhance energy-efficient schedulability and reduce energy usage while ensuring QoS provisioning. The CNN model efficiently extracts workload features from tasks and resources, while the BiLSTM captures complex sequential information, predicting optimal task placement sequences. A real fog-cloud environment is implemented using the COSCO framework for the simulation setup together with four physical nodes from the Azure B2s plan to test the proposed model. The DeFog benchmark is used to develop task workloads, and data collection was conducted for both normal and intense workload scenarios. Before preprocessing the data was normalized, treated with feature engineering and augmentation, and then split into training and test sets. To evaluate performance, the proposed EcoTaskSched model demonstrated superiority by significantly reducing energy consumption and improving job completion rates compared to baseline models. Additionally, the EcoTaskSched model maintained a high job completion rate of 85%, outperforming GGCN and BiGGCN. It also achieved a lower average response time, and SLA violation rates, as well as increased throughput, and reduced execution cost compared to other baseline models. In its optimal configuration, the EcoTaskSched model is successfully applied to fog-cloud computing environments, increasing task handling efficiency and reducing energy consumption while maintaining the required QoS parameters. Our future studies will focus on long-term testing of the EcoTaskSched model in real-world IoT environments. We will also assess its applicability by integrating other ML models, which could provide enhanced insights for optimizing scheduling algorithms across diverse fog-cloud settings.
format Article
id doaj-art-894efe9cfcf54c3aaf5e99312c9239b3
institution OA Journals
issn 2045-2322
language English
publishDate 2025-04-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-894efe9cfcf54c3aaf5e99312c9239b32025-08-20T02:11:46ZengNature PortfolioScientific Reports2045-23222025-04-0115112710.1038/s41598-025-96974-9EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environmentsAsfandyar Khan0Faizan Ullah1Dilawar Shah2Muhammad Haris Khan3Shujaat Ali4Muhammad Tahir5Department of Computer Science and Information Technology, Hazara University MansehraDepartment of Computer Science, Bacha Khan UniversityDepartment of Computer Science, Bacha Khan UniversityDepartment of Computer Science, Bacha Khan UniversityDepartment of Computer Science, Bacha Khan UniversityDepartment of Computer Science, Kardan UniversityAbstract The widespread adoption of cloud services has posed several challenges, primarily revolving around energy and resource efficiency. Integrating cloud and fog resources can help address these challenges by improving fog-cloud computing environments. Nevertheless, the search for optimal task allocation and energy management in such environments continues. Existing studies have introduced notable solutions; however, it is still a challenging issue to efficiently utilize these heterogeneous cloud resources and achieve energy-efficient task scheduling in fog-cloud of things environment. To tackle these challenges, we propose a novel ML-based EcoTaskSched model, which leverages deep learning for energy-efficient task scheduling in fog-cloud networks. The proposed hybrid model integrates Convolutional Neural Networks (CNNs) with Bidirectional Log-Short Term Memory (BiLSTM) to enhance energy-efficient schedulability and reduce energy usage while ensuring QoS provisioning. The CNN model efficiently extracts workload features from tasks and resources, while the BiLSTM captures complex sequential information, predicting optimal task placement sequences. A real fog-cloud environment is implemented using the COSCO framework for the simulation setup together with four physical nodes from the Azure B2s plan to test the proposed model. The DeFog benchmark is used to develop task workloads, and data collection was conducted for both normal and intense workload scenarios. Before preprocessing the data was normalized, treated with feature engineering and augmentation, and then split into training and test sets. To evaluate performance, the proposed EcoTaskSched model demonstrated superiority by significantly reducing energy consumption and improving job completion rates compared to baseline models. Additionally, the EcoTaskSched model maintained a high job completion rate of 85%, outperforming GGCN and BiGGCN. It also achieved a lower average response time, and SLA violation rates, as well as increased throughput, and reduced execution cost compared to other baseline models. In its optimal configuration, the EcoTaskSched model is successfully applied to fog-cloud computing environments, increasing task handling efficiency and reducing energy consumption while maintaining the required QoS parameters. Our future studies will focus on long-term testing of the EcoTaskSched model in real-world IoT environments. We will also assess its applicability by integrating other ML models, which could provide enhanced insights for optimizing scheduling algorithms across diverse fog-cloud settings.https://doi.org/10.1038/s41598-025-96974-9AICloudConvolutional neural networksFogIoTML
spellingShingle Asfandyar Khan
Faizan Ullah
Dilawar Shah
Muhammad Haris Khan
Shujaat Ali
Muhammad Tahir
EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
Scientific Reports
AI
Cloud
Convolutional neural networks
Fog
IoT
ML
title EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
title_full EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
title_fullStr EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
title_full_unstemmed EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
title_short EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments
title_sort ecotasksched a hybrid machine learning approach for energy efficient task scheduling in iot based fog cloud environments
topic AI
Cloud
Convolutional neural networks
Fog
IoT
ML
url https://doi.org/10.1038/s41598-025-96974-9
work_keys_str_mv AT asfandyarkhan ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments
AT faizanullah ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments
AT dilawarshah ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments
AT muhammadhariskhan ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments
AT shujaatali ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments
AT muhammadtahir ecotaskschedahybridmachinelearningapproachforenergyefficienttaskschedulinginiotbasedfogcloudenvironments