Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
IDCFクラウドを使ってどこまでチューニングできるか試してみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
abnoumaru
June 29, 2016
0
290
IDCFクラウドを使ってどこまでチューニングできるか試してみた
idcf meet up 2016/06/28
abnoumaru
June 29, 2016
Tweet
Share
More Decks by abnoumaru
See All by abnoumaru
IVRyのSREが始まって1年
abnoumaru
1
1.1k
Road to SRE NEXT@仙台 IVRyの組織の形とSLO運用の現状
abnoumaru
1
1k
IVRyエンジニア忘年LT大会2024 クリティカルユーザージャーニーの整理
abnoumaru
0
550
ゆるSRE勉強会 #8 組織的にSREが始まる中で意識したこと
abnoumaru
2
2.1k
3-shake SRE Tech Talk #10 LLMのO11yに触れる
abnoumaru
2
12k
マイクロサービスの現場からプラットフォームエンジニアリングの可能性を探る!
abnoumaru
2
13k
SLOいつ決めましょう?
abnoumaru
4
2.8k
あなたらしくSRE(公開用)
abnoumaru
5
8.9k
SRE Lounge 20180117
abnoumaru
0
6.9k
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
61
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
560
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
ラッコキーワード サービス紹介資料
rakko
1
2.1M
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
160
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Claude Code のすすめ
schroneko
67
210k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Designing Powerful Visuals for Engaging Learning
tmiket
0
210
Crafting Experiences
bethany
1
37
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Transcript
IDCFΫϥυΛͬͯ Ͳ͜·ͰνϡʔχϯάͰ͖Δ͔ ࢼͯ͠Έͨ גࣜձࣾϋʔτϏʔπ ӡ༻ελοϑ Ѩ෦وথ
͡Ί·ͯ͠!
ࣗݾհ • ࢯ໊: Ѩ෦وথ • ৽ଔ1 ೖࣾ4 • (AWS-SA associate)
• AKBͳΒԣࢁ༝ґͪΌΜ(11Ґ)͕͖Ͱ͢
ࠓճొஃͷܦҢ
Ϛελʔͷґཔઈର…
ࣾձਓͱͳ͍ͬͨ·
͓͕ۚେࣄʂ
੫ۚʹڻ͘৽ଔ
νϡʔχϯάͷ࿅शݕূʹ ͓͔͚ۚͨ͘ͳ͍
֤छΫϥυαʔϏεͷ ແྉ/֨҆ใʹ͕ͳ͍
IDCFΫϥυ • 500ԁ͔Β͑Δʂ • 500ԁΫʔϙϯΒ͑Δ • ্ݶ͕͋ΔͷͰͦΕҎ্͍͔ͳ͍
ࠓճΓ͍ͨ͜ͱ • ISUCONͷ࿅श • ϕϯνϚʔΫɺڥ͕ެ։͞ΕͯΔͷͰ… • ͍͔ʹ͓ۚΛ͔͚ͳ͍͔ • είΞྑ͔ͬͨΒྑ͍ͳʙ
IDCFͰݐͯͨαʔό • light.S1 • 1CPU,1GB RAM • 15GB
ISUCONڥͷ࡞Γํ • ISUCON༧બಥഁͷ伴աڈΛղ͘͜ͱͳͷͰແྉͰࢼͤΔΑ͏ʹͨ͠ (Vagrant+Ansible) • http://d.hatena.ne.jp/tmatsuu/20150815/1439643715 • ࠓճֶੜֶ࣌ੜ2Ґͳ͕ΒෆඋͰࣦ֨ͱͳͬͨ ࢥ͍ग़ͷ͋ΔISUCON4༧બͷΛ༻ •
(IDCF͞ΜαόϑΣεͷͱ͖͋Γ͕ͱ͏͍͟͝·ͨ͠…!!!) • AnsibleҰؾʹ࡞
ͦ͏͍͔ͳ͍
ࢭ·ΔAnsible
[root@hakushika01 ~]# grep 'oom-killer' /var/log/messages Jun 27 15:42:50 hakushika01 kernel:
top invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 Jun 27 16:58:19 hakushika01 kernel: mysqld invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
OOM Killer
͍͢͝໎͍·͕ͨ͠
ٽ͘ٽ͘՝ۚ
IDCFͰ࠶ͼݐͯͨαʔό • light.S2 • 1CPU,2GB RAM • 15GB • 1400ԁ…͏·͍΅͏140ຊ…
Ansibleޭ
࠷ॳͷϕϯν
None
࣌ؒͳ͍ͷͰҋӢʹ νϡʔχϯά͍ͯ͘͠
ࣄ͋Δ͝ͱʹى͖Δ
OOM Killer…
MySQLʹؔͯ͠ IndexషΔ͚ͩͰOOM Killer ͬͨ…
3͙࣌ؒΒ͍ઓͯ͠Ϊϒͨ͠
·ͱΊ • 1400ԁ͔͔ͬͪΌͬͨ… • ࠷େॠؒ෩Workload 1(ϕϯνϚʔΫͷෛՙ)Ͱ 592ͩͬͨ…orz • ৽ଔ͕OOM Killerʹ࿔͞ΕͪΌͬͨ…
• ͏ͪΐͬͱͪΌΜͱͨ͠είΞग़͔ͯ͠Β ࢀߟʹͨ͠هࣄͱͱʹϒϩάʹॻ͔͍ͤͯͩ͘͞
• גࣜձࣾϋʔτϏʔπͰҰॹʹಇؒ͘Λ ืू͓ͯ͠Γ·͢ɻ • த్ɺ৽ଔɺֶੜΞϧόΠτɺ ਵ࣌ืू͓ͯ͠Γ·͢ͷͰ͓ئ͍க͠·͢ʂ ࠷ޙʹ