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
82
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
930
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
82
Machine Check Exception
sat
PRO
2
73
バイナリダンプの模様を読む
sat
PRO
0
120
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
120
114-ファイルのshallow_copy.pdf
sat
PRO
2
70
113-Btrfsのスナップショット.pdf
sat
PRO
0
50
Other Decks in Technology
See All in Technology
IoTとは〜? 数字で見るSORACOM UG【SORACOM UG Explorer 2026】
soracom
PRO
0
170
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
590
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
540
[re:Invent2026事前勉強会(有志開催)]続きは、ラスベガスの廊下で / continue-in-the-vegas-hallway
sh_fk2
0
510
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
AI AgentによるEmbedded SREの取り組み
tgidgd
1
340
コードレビューをなくして見えたもの
henteko
0
130
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
150
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
6
3.6k
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
210
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
130
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
290
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Building Applications with DynamoDB
mza
96
7.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
RailsConf 2023
tenderlove
30
1.6k
Six Lessons from altMBA
skipperchong
29
4.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
600
Leo the Paperboy
mayatellez
10
2.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
780
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