MQFQ-Sticky: Fair Queueing For Serverless GPU Functions

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Fuerst, Alexander, Anil, Siddharth, Dixit, Vishakha, Purushottam, Kulkarni, Sharma, Prateek
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912478250663936
author Fuerst, Alexander
Anil, Siddharth
Dixit, Vishakha
Purushottam
Kulkarni
Sharma, Prateek
author_facet Fuerst, Alexander
Anil, Siddharth
Dixit, Vishakha
Purushottam
Kulkarni
Sharma, Prateek
contents Hardware accelerators like GPUs are now ubiquitous in data centers, but are not fully supported by common cloud abstractions such as Functions as a Service (FaaS). Many popular and emerging FaaS applications such as machine learning and scientific computing can benefit from GPU acceleration. However, FaaS frameworks (such as OpenWhisk) are not capable of providing this acceleration because of the impedance mismatch between GPUs and the FaaS programming model, which requires virtualization and sandboxing of each function. The challenges are amplified due to the highly dynamic and heterogeneous FaaS workloads. This paper presents the design and implementation of a FaaS system for providing GPU acceleration in a black-box manner (without modifying function code). Running small functions in containerized sandboxes is challenging due to limited GPU concurrency and high cold-start overheads, resulting in heavy queueing of function invocations. We show how principles from I/O scheduling, such as fair queuing and anticipatory scheduling, can be translated to function scheduling on GPUs. We develop MQFQ-Sticky, an integrated fair queueing and GPU memory management approach, which balances the tradeoffs between locality, fairness, and latency. Empirical evaluation on a range of workloads shows that it reduces function latency by 2x to 20x compared to existing GPU and CPU queueing policies.
format Preprint
id arxiv_https___arxiv_org_abs_2507_08954
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MQFQ-Sticky: Fair Queueing For Serverless GPU Functions
Fuerst, Alexander
Anil, Siddharth
Dixit, Vishakha
Purushottam
Kulkarni
Sharma, Prateek
Distributed, Parallel, and Cluster Computing
Systems and Control
Hardware accelerators like GPUs are now ubiquitous in data centers, but are not fully supported by common cloud abstractions such as Functions as a Service (FaaS). Many popular and emerging FaaS applications such as machine learning and scientific computing can benefit from GPU acceleration. However, FaaS frameworks (such as OpenWhisk) are not capable of providing this acceleration because of the impedance mismatch between GPUs and the FaaS programming model, which requires virtualization and sandboxing of each function. The challenges are amplified due to the highly dynamic and heterogeneous FaaS workloads. This paper presents the design and implementation of a FaaS system for providing GPU acceleration in a black-box manner (without modifying function code). Running small functions in containerized sandboxes is challenging due to limited GPU concurrency and high cold-start overheads, resulting in heavy queueing of function invocations. We show how principles from I/O scheduling, such as fair queuing and anticipatory scheduling, can be translated to function scheduling on GPUs. We develop MQFQ-Sticky, an integrated fair queueing and GPU memory management approach, which balances the tradeoffs between locality, fairness, and latency. Empirical evaluation on a range of workloads shows that it reduces function latency by 2x to 20x compared to existing GPU and CPU queueing policies.
title MQFQ-Sticky: Fair Queueing For Serverless GPU Functions
topic Distributed, Parallel, and Cluster Computing
Systems and Control
url https://arxiv.org/abs/2507.08954