Feedback

Faculté des Sciences appliquées
Faculté des Sciences appliquées
MASTER THESIS
VIEW 61 | DOWNLOAD 7

Master thesis : Load time memory deduplication for unikernels

Download
Wansart, Emilien ULiège
Promotor(s) : Mathy, Laurent ULiège ; Gain, Gaulthier ULiège
Date of defense : 4-Sep-2023/5-Sep-2023 • Permalink : http://hdl.handle.net/2268.2/18163
Details
Title : Master thesis : Load time memory deduplication for unikernels
Author : Wansart, Emilien ULiège
Date of defense  : 4-Sep-2023/5-Sep-2023
Advisor(s) : Mathy, Laurent ULiège
Gain, Gaulthier ULiège
Committee's member(s) : Fontaine, Pascal ULiège
Donnet, Benoît ULiège
Language : English
Number of pages : 73
Keywords : [en] unikernel
[en] virtualization
[en] virtual machine
[en] operating system
[en] linux
[en] memory deduplication
Discipline(s) : Engineering, computing & technology > Computer science
Target public : Researchers
Professionals of domain
Student
Institution(s) : Université de Liège, Liège, Belgique
Degree: Master en sciences informatiques, à finalité spécialisée en "computer systems security"
Faculty: Master thesis of the Faculté des Sciences appliquées

Abstract

[en] Memory deduplication is a crucial technique in virtualized environments to optimize memory usage and enhance resource allocation. Unikernels, lightweight single-purpose virtual machine images, present unique challenges in memory management due to their specialized design. This thesis explores the intricacies of memory deduplication in unikernels and introduces the Daemonless Kernel Same-page Merging (DKSM) mechanism, a novel approach to memory deduplication tailored for unikernel environments.

The primary objective of this thesis is to develop a load-time memory deduplication technique for Unikraft unikernels in the Linux kernel. DKSM is an alternative to Red Hat’s Kernel Same-page Merging (KSM), but it focuses exclusively on merging read-only pages. This distinction allows DKSM to operate during unikernel startup, reducing the ever-present processing overhead found in KSM.

One of DKSM’s notable contributions is its mitigation of the slow convergence issue, an inherent limitation of KSM. DKSM also demonstrates better performance on long-lived unikernels, while benefiting from the same memory gain as KSM. Additionally, due to its daemonless nature, DKSM offers the advantage of operating without an additional processor core, making it more resource-efficient compared to the traditional KSM approach.

This thesis presents an in-depth analysis of Daemonless Kernel Same-page Merging’s implementation, its integration into the Linux kernel, and its validation through performance testing using unikernels executed within the Firecracker hypervisor. Results demonstrate DKSM’s efficiency in memory deduplication and its potential to improve memory utilization in unikernel environments. The study concludes by discussing limitations and potential avenues for future research.


File(s)

Document(s)

File
Access Emilien_Wansart_Thesis.pdf
Description:
Size: 1.51 MB
Format: Adobe PDF

Annexe(s)

File
Access DKSM-main.zip
Description:
Size: 104.85 kB
Format: Unknown

Author

  • Wansart, Emilien ULiège Université de Liège > Master sc. informatiques, à fin.

Promotor(s)

Committee's member(s)

  • Fontaine, Pascal ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Systèmes informatiques distribués
    ORBi View his publications on ORBi
  • Donnet, Benoît ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Algorithmique des grands systèmes
    ORBi View his publications on ORBi
  • Total number of views 61
  • Total number of downloads 7










All documents available on MatheO are protected by copyright and subject to the usual rules for fair use.
The University of Liège does not guarantee the scientific quality of these students' works or the accuracy of all the information they contain.