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
ページキャッシュに関する情報
Search
Satoru Takeuchi
PRO
December 26, 2020
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ページキャッシュに関する情報
以下動画のテキストです。
https://youtu.be/E6Jvh1zYi7A
Satoru Takeuchi
PRO
December 26, 2020
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
79
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
74
Machine Check Exception
sat
PRO
2
71
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
63
113-Btrfsのスナップショット.pdf
sat
PRO
0
47
Other Decks in Technology
See All in Technology
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
880
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.3k
フィンテック養成勉強会#68
finengine
0
160
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
160
データエンジニアの次の戦場は "プロセスエンジニアリング"
sansantech
PRO
1
120
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
390
LLM-as-a-Judgeは本当に信頼できるのか――評価器を評価する話
taka_aki
1
400
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
860
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
410
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
200
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
A Tale of Four Properties
chriscoyier
163
24k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Rails Girls Zürich Keynote
gr2m
96
14k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Building an army of robots
kneath
307
47k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Transcript
ページキャッシュに 関する情報 Dec 26, 2020 Satoru Takeuchi Twitter: satoru_takeuchi, EnSatoru
1
ページキャッシュの総量を知りたい • freeコマンド • buff/cached欄がだいたいページキャッシュの量に等しい ◦ “buff”の意味はあまり気にしなくていい • 実験 1.
freeコマンド実行 2. 100MBのファイルを作る 3. 再度freeコマンドを実行 • ファイルを消せばページキャッシュは開放される 1. rmコマンドでファイルを消す 2. freeコマンドを実行 2
drop_cachesの豆知識 • “Echo 3 >/proc/sys/vm/drop_caches”はdirty cacheを捨てない • 実験 1. 100MBのファイルを作る
2. freeコマンドを実行 3. “echo 3 >/proc/sys/vm/drop_caches”を実行 4. freeコマンドを実行 5. ファイルをsyncする 6. “echo 3 >/proc/sys/vm/drop_caches”を実行 3
ページキャッシュの使用量を監視したい • watch free • sar -r ◦ Ubuntuならsysstatパッケージに入っている 4
まとめ • ページキャッシュの量はfreeコマンドやsar -rコマンドによって取得できる • “Echo 3 >/proc/sys/vm/drop_caches”はdirty pageを捨てない 5