Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SRE讀書會#3 深入剖析Kubernates_CH6 白話容器基礎(二)-隔離與限制
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
曾義格
March 21, 2019
67
0
Share
SRE讀書會#3 深入剖析Kubernates_CH6 白話容器基礎(二)-隔離與限制
曾義格
March 21, 2019
More Decks by 曾義格
See All by 曾義格
SRE part2 Continuous Delivery CH4 Implementing a testing strategy
tsengeagle
0
150
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
Become a Pro
speakerdeck
PRO
31
5.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Chasing Engaging Ingredients in Design
codingconduct
0
170
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
The Limits of Empathy - UXLibs8
cassininazir
1
300
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
98
Believing is Seeing
oripsolob
1
110
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Designing for Performance
lara
611
70k
Transcript
隔離與限制 Cgroup
Linux Control Group • ⽤用途:限制處理理序可使⽤用的資源 • 提供的功能: • 限制 •
優先權控制 • 統計稽核 • 控制-恢復或是暫停處理理程序 • 以file system的⽅方式呈現`/sys/fs/cgroup/` • blkio • cpu • memory • net_cls • 等等...
限制cpu使⽤用 • 當前使⽤用者的限制在 `/sys/fs/cgroup/<資源>/user.slice/` • docker啟動之後,會在 `/sys/fs/cgroup/<資源>/docker` 下 建立容器的限制組, •
demo
docker • —cpu-quota • —cpu-period • —memory
問題 • lxcfs • free • top-記憶體、cpu數、cpu使⽤用率