Resource limiting and accounting facility for FreeBSD
Resource limiting and accounting facility for FreeBSD
diploma thesis (DEFENDED)

View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/55249Identifiers
Study Information System: 128575
Collections
- Kvalifikační práce [10593]
Author
Advisor
Referee
Bulej, Lubomír
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Software Systems
Department
Department of Distributed and Dependable Systems
Date of defense
27. 5. 2013
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
English
Grade
Very good
Keywords (Czech)
FreeBSD, limitování spotřeby zdrojů, spotřeba CPU času, propustnost diskových zařízeníKeywords (English)
FreeBSD, resource limits, relative CPU time, disk I, O throughputTato práce analyzuje implementaci Linux cgroups subsystémů odpovědných za limitování procesorového času a propustnosti diskových I/O zařízení. Kromě přístupu použitého v případě Linux cgroups prezentujeme přehled a krátkou analýzu dalších možných přístupů k problému limitování procesorového času a propustnosti diskových I/O zařízení. Na základě téhle analýzy navrhujeme rozšíření frameworku racct/rctl, který je součástí FreeBSD kernelu a je určen na měření a limitování spotřeby systémových zdrojů. Naše rozšíření umožňuje administrátorům a privilegovaným uživatelům definovat limity na propustnost diskových I/O zařízení a procentuální limity na procesorový čas pro vybraný proces, uživatele anebo FreeBSD jail.
This thesis analyses the implementation of the Linux cgroups subsystems responsible for limiting CPU time and disk I/O throughput. Apart from the Linux cgroups approach, an overview and short analysis of other possible approaches to the problem of limiting CPU time and disk I/O throughput is presented. Based on the analysis, the thesis proposes an extension to the resource limit- ing and accounting framework racct/rctl in the FreeBSD kernel. Our prototype implementation of this extension provides features that enable the administrators and privileged users to define disk I/O throughput limits and relative CPU time limits for a particular process, user or FreeBSD jail.