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
Linuxのメモリ管理入門 デモ編
Search
Satoru Takeuchi
PRO
September 19, 2022
Technology
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Linuxのメモリ管理入門 デモ編
以下動画のテキストです
https://youtu.be/jiHipQ2XUHc
Satoru Takeuchi
PRO
September 19, 2022
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
76
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
100
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
70
Machine Check Exception
sat
PRO
2
68
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
100
114-ファイルのshallow_copy.pdf
sat
PRO
2
59
113-Btrfsのスナップショット.pdf
sat
PRO
0
43
Other Decks in Technology
See All in Technology
Claude起点の仕様駆動開発
tanakaseiya
0
400
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.2k
継続的なAIコスト最適化
bgpat
1
160
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
490
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
150
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
350
並行性の問題を防げ!実践トランザクション入門
occhi
0
280
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
340
20260930_Gemma4_Hands-on
tsho
0
230
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
310
Futexes the good, the bad, the ugly
ennael
PRO
0
130
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
560
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
How to make the Groovebox
asonas
2
2.5k
Claude Code のすすめ
schroneko
67
230k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
520
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Leo the Paperboy
mayatellez
10
2.3k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Everyday Curiosity
cassininazir
0
350
Transcript
Linuxのメモリ管理入門 デモ編 Sep. 19th, 2022 Satoru Takeuchi twitter: satoru_takeuchi
やること • 前回の動画「Linuxのメモリ管理入門」で述べたことを実際に確かめる • あらかじめやっておくこと ◦ swap機能を`swapoff -a`コマンドによって無効化しておく ◦ swap機能が何かは別の動画で説明するかも
freeコマンドによって得られるデータのおさらい total プロセスが使用中 free カーネルが使用中 解放可能 解放不可能 buff/cache (バッファキャッシュ& ページキャッシュ)
used = total - free - buff/cache available * メモリ空き領域が減るとカーネルは解放可能なメモリを解放
確認してみよう • プロセスを作るとfreeが減る • ファイルを作ってページキャッシュを増やすとbuff/cacheが増える • freeがなくなるくらいまでプロセスを作ると解放可能なメモリが解放される • 最後にやること ◦
つくったファイルやプロセスを全部消す
まとめ • 前回の動画の説明が裏付けられた • この後さらにメモリを消費し続けるとどうなるかは別動画で扱う見込み