Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Real-time Scheduling in Datacentre Clusters

Frankel, Fabian LU and Tayari, Sepehr LU (2021) EITM01 20211
Department of Electrical and Information Technology
Abstract
Industry 4.0 can be described as the next generation-factories that is characterised by putting a high demand for automation and flexible production lines. The proposed way to achieve this goal is through a large number of Industrial IoT devices(IIoT) in the factory, some having high availability- and low-latency requirements. This demands for a software that can monitor and manage the applications used by these devices. The current industry standard for managing clusters of applications is called Kubernetes. However, using Kubernetes in this environment means that it needs to meet the low latency demands of Industry 4.0. The purpose of this thesis was to investigate the possibility of achieving this support in Kubernetes. To investigate... (More)
Industry 4.0 can be described as the next generation-factories that is characterised by putting a high demand for automation and flexible production lines. The proposed way to achieve this goal is through a large number of Industrial IoT devices(IIoT) in the factory, some having high availability- and low-latency requirements. This demands for a software that can monitor and manage the applications used by these devices. The current industry standard for managing clusters of applications is called Kubernetes. However, using Kubernetes in this environment means that it needs to meet the low latency demands of Industry 4.0. The purpose of this thesis was to investigate the possibility of achieving this support in Kubernetes. To investigate if this was possible, a Kubernetes cluster was deployed to Ericssons private cloud Xerces. On this cluster services was deployed that executed arbitrary tasks with the invocation of an HTTP-request. The difference in how fast these tasks executed was used as a metric to see the delay some request were experiencing due to non optimal scheduling on Kubernetes. Through investigations of how the underlying kernels schedules jobs on it’s CPU proposed solutions to reduce the execution time was made. These solutions were then tested on the cluster and compared with the first measurements. The results of these measurements showed a reduction in execution time for the deployed services with the introduction of the preemptive scheduling policy SCHED_FIFO in Linux, which uses the first in first out algorithm. This improvement in execution time was at the cost of a degradation of the response time of the cluster. These findings points towards the conclusion that applying a real time scheduling policy to processes on a Kubernetes cluster is not cost free. However, a suggested path for how to further optimise a Kubernetes cluster in regards to response time has been proposed. (Less)
Popular Abstract
In the near future, robots and humans might work hand in hand. At least, that is the intention of the future Industry 4.0 deployments where the industries will make use of real-time data generated by the great number of integrated sensors in the production lines. But in order for this sci-fi scenario to become a reality, all processes within the industry must work seamlessly and with high determinism.
Please use this url to cite or link to this publication:
author
Frankel, Fabian LU and Tayari, Sepehr LU
supervisor
organization
alternative title
Realtidsschemaläggning i Molnbaserade Kluster
course
EITM01 20211
year
type
H2 - Master's Degree (Two Years)
subject
keywords
Kubernetes, Realtime, Realtime Scheduling, Linux, Industry 4.0, Docker, Cloud
report number
LU/LTH-EIT 2021-829
language
English
id
9059461
date added to LUP
2021-06-29 10:16:22
date last changed
2021-06-29 10:16:22
@misc{9059461,
  abstract     = {{Industry 4.0 can be described as the next generation-factories that is characterised by putting a high demand for automation and flexible production lines. The proposed way to achieve this goal is through a large number of Industrial IoT devices(IIoT) in the factory, some having high availability- and low-latency requirements. This demands for a software that can monitor and manage the applications used by these devices. The current industry standard for managing clusters of applications is called Kubernetes. However, using Kubernetes in this environment means that it needs to meet the low latency demands of Industry 4.0. The purpose of this thesis was to investigate the possibility of achieving this support in Kubernetes. To investigate if this was possible, a Kubernetes cluster was deployed to Ericssons private cloud Xerces. On this cluster services was deployed that executed arbitrary tasks with the invocation of an HTTP-request. The difference in how fast these tasks executed was used as a metric to see the delay some request were experiencing due to non optimal scheduling on Kubernetes. Through investigations of how the underlying kernels schedules jobs on it’s CPU proposed solutions to reduce the execution time was made. These solutions were then tested on the cluster and compared with the first measurements. The results of these measurements showed a reduction in execution time for the deployed services with the introduction of the preemptive scheduling policy SCHED_FIFO in Linux, which uses the first in first out algorithm. This improvement in execution time was at the cost of a degradation of the response time of the cluster. These findings points towards the conclusion that applying a real time scheduling policy to processes on a Kubernetes cluster is not cost free. However, a suggested path for how to further optimise a Kubernetes cluster in regards to response time has been proposed.}},
  author       = {{Frankel, Fabian and Tayari, Sepehr}},
  language     = {{eng}},
  note         = {{Student Paper}},
  title        = {{Real-time Scheduling in Datacentre Clusters}},
  year         = {{2021}},
}