Using machine learning to predict optimal erasure coding policies for object storage system in OpenStack Swift
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Mukta, Jannatun Noor | |
| dc.contributor.author | Ankon, Amio Malakar | |
| dc.contributor.author | Chaki, Boloy | |
| dc.contributor.author | Sayan, Mashrur Shakhawat | |
| dc.contributor.author | Sarker, Debashish | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-04-21T03:09:22Z | |
| dc.date.available | 2026-04-21T03:09:22Z | |
| dc.date.copyright | 2026 | |
| dc.date.issued | 2026-01 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 82-86). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2026. | en_US |
| dc.description.abstract | Erasure coding helps to reduce storage overhead and improve fault tolerance. But the procedure to select an appropriate erasure coding policy is complex, which often involves tradeoffs among various metrics such as access latency, recovery behavior, storage efficiency, etc. Generally, these are handled using static or heuristic-based configurations, which can not account for variations in workload. In the industry, service providers like Ceph do benchmarking based on throughput/latency without considering workload diversity. OpenStack Swift, one of the most widely used open-source object storage systems, supports erasure coding, but it allocates policy selection in a manual, static way - without it being workload-aware. To address this problem, this thesis showcases a data-driven performance modeling framework for erasure coding in object storage systems using machine learning. A structured dataset- ABDS-30k was constructed in a controlled execution of varying workload conditions. It was created on a Swift All-In-One (SAIO) testbed under different erasure coding policies with the addition of failure injections. The dataset collects several empirically observed performance metrics such as read and write latency, tail latency, success rate, and reconstruction time in case of disk failures. For the job of selecting the optimal erasure coding policy, we adopt two distinct Machine Learning paradigms - a regression-based approach of performance modeling and a classification-based approach for direct data-driven policy recommendation. For regression, CatBoost, XGBoost, and Random Forest Regression are used to predict target metrics in a given workload context and failure scenario, and the optimal policy is chosen based on a weighted score. In the classification-based approach, CatBoostClassifier, XGBoostClassifier, and Logistic Regression are used to label workload–policy pairs using an oracle cost function, and the most optimal erasure coding policy is directly recommended. Experimental results show that the regression models have moderate prediction errors for latency and recovery metrics because of the inherently noisy and heavy-tailed nature of the system, but they remain effective in optimal policy recommendation by exhibiting top-1 accuracy with 48.16% in XGBoost Regression and a top-3 accuracy 100% in Random Forest Regression model. Also, the regret mean (0.010 - 1.81) and regret median (0.00216 - 0.089) values showed a very low margin of error. Classification-based approach shows comparatively weaker metrics, indicating that it is not optimal for data-driven policy recommendation. Overall, this shows the feasibility of using ML-based performance modeling as opposed to static and heuristic-based policy selection, which can be later used as a foundation for future control-plane automations. | en_US |
| dc.description.degree | Bachelor of Science in Computer Science | |
| dc.description.statementofresponsibility | Amio Malakar Ankon | |
| dc.description.statementofresponsibility | Boloy Chaki | |
| dc.description.statementofresponsibility | Mashrur Shakhawat Sayan | |
| dc.description.statementofresponsibility | Debashish Sarker | |
| dc.format.extent | 86 pages | |
| dc.identifier.other | ID 21201669 | |
| dc.identifier.other | ID 21301205 | |
| dc.identifier.other | ID 21201221 | |
| dc.identifier.other | ID 21201580 | |
| dc.identifier.uri | http://hdl.handle.net/10361/27979 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Cloud computing | en_US |
| dc.subject | Object storage system | en_US |
| dc.subject | Machine learning | en_US |
| dc.subject | Erasure coding | en_US |
| dc.subject | OpenStack Swift | en_US |
| dc.subject.lcsh | Machine learning. | |
| dc.subject.lcsh | Cloud computing. | |
| dc.subject.lcsh | Information storage and retrieval systems. | |
| dc.title | Using machine learning to predict optimal erasure coding policies for object storage system in OpenStack Swift | en_US |
| dc.type | Thesis | en_US |