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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Transcript
5 slides
ページキャッシュに 関する情報 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
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
Btrfsのsnapshotとランダム書き込み
sat
PRO
0
51
ファイルシステムのデフラグ
sat
PRO
1
58
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
90
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
120
あなたの知らないバージョン命名規則
sat
PRO
3
940
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
87
Machine Check Exception
sat
PRO
2
78
バイナリダンプの模様を読む
sat
PRO
0
120
Other Decks in Technology
See All in Technology
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
950
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
2
1.2k
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
900
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
220
AIエージェントのアーキテクチャ設計
nsatoh
0
320
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
640
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
470
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
390
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
850
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
1
230
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
3
610
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
0
180
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630
The browser strikes back
jonoalderson
0
2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Ethics towards AI in product and experience design
skipperchong
2
470
Product Roadmaps are Hard
iamctodd
55
13k
HDC tutorial
michielstock
2
1k
Test your architecture with Archunit
thirion
2
2.5k