Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SRE讀書會#3 深入剖析Kubernates_CH6 白話容器基礎(二)-隔離與限制
Search
曾義格
March 21, 2019
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SRE讀書會#3 深入剖析Kubernates_CH6 白話容器基礎(二)-隔離與限制
曾義格
March 21, 2019
Transcript
5 slides
隔離與限制 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使⽤用率
More Decks by 曾義格
See All by 曾義格
SRE part2 Continuous Delivery CH4 Implementing a testing strategy
tsengeagle
0
180
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
WCS-LA-2024
lcolladotor
0
1k
A Soul's Torment
seathinner
9
4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Claude Code のすすめ
schroneko
67
230k
Chasing Engaging Ingredients in Design
codingconduct
0
410
Test your architecture with Archunit
thirion
2
2.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
410