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
VCPU burst feature of GCE f1-micro instance
Search
Satoru Takeuchi
PRO
July 21, 2018
Technology
1.6k
1
Share
VCPU burst feature of GCE f1-micro instance
- what is f1-micro instance
- what is VCPU burst feature
- how VCPU burst feature works
Satoru Takeuchi
PRO
July 21, 2018
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
システム強制終了時にファイルシステムの整合性を保つ~ コピーオンライト編 ~
sat
PRO
0
39
システム強制終了時に ファイルシステムの整合性を保つ ~ ジャーナリング編 ~
sat
PRO
1
45
ファイルシステムの整合性を回復するfsck
sat
PRO
1
44
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
3.9k
ファイルシステムの不整合
sat
PRO
2
140
書籍執筆での生成AIの活用
sat
PRO
2
470
ChatGPTに従って体調管理2026
sat
PRO
0
180
eBPF
sat
PRO
1
150
waruiBPF
sat
PRO
0
130
Other Decks in Technology
See All in Technology
Modernizing Your HCL Connections Experience: Visual Report to chain, Profile Enhancements, and AI Integration
wannesrams
0
260
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
280
Building a Study Buddy AI Agent from Scratch: From Passive Chatbots to Autonomous Systems
itchimonji
0
120
小説執筆のハーネスエンジニアリング
yoshitetsu
0
910
Oracle Cloud Infrastructure:2026年4月度サービス・アップデート
oracle4engineer
PRO
0
260
QAエンジニアはどうやって プロダクト議論の場に入れるのか?
moritamasami
1
310
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
340
Fabric MCPの紹介と使い分け
ryomaru0825
1
110
Angular Architecture Revisited Modernizing Angular Architectural Patterns
rainerhahnekamp
0
120
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.7k
AIが自律的に働く時代へ Amazon Quick で実現するAIエージェント紹介
koheiyoshikawa
0
170
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
200
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
30 Presentation Tips
portentint
PRO
1
280
Code Review Best Practice
trishagee
74
20k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
450
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Site-Speed That Sticks
csswizardry
13
1.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
130
RailsConf 2023
tenderlove
30
1.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
Transcript
GCP f1-microインスタンスの バースト機能 July 21 2018 Satoru Takeuchi twitter:satoru_takeuchi 1
GCE f1-microインスタンスとは • GCEの無償で使えるVMインスタンス ◦ VCPU: 0.2(*1) ◦ メモリ: 600MB
◦ ストレージ: 30GB *1) 1つのPCPUの20%のリソースだけ使える … 時間 f1-micro Host or 他のインスタンス 2
バースト機能 • 一定時間だけVCPUがPCPUを占有できる機能 ◦ VCPU: 0.2 -> 1 • 定義があいまい
出典: https://cloud.google.com/compute/pricing 3
バースト機能 • 一定時間だけVCPUがPCPUを占有できる機能 ◦ VCPU: 0.2 -> 1 • 定義があいまい
出典: https://cloud.google.com/compute/pricing 4 具体的にどういう挙動をす るのかを確認したい
確認項目 • VCPU0.2のときと、バーストして1.0になったときの計算速度 • 最長バースト期間 • バースト可能期間チャージ論理 5
計算速度(実験方法) 1. 適当な数(n回)だけ空ループ処理を動かす 2. ある程度の数(m回)ループするたびに時刻を出力 3. 横軸にループ数、縦軸に時刻のグラフをプロット 4. グラフの傾きから計算速度(ループ数/ミリ秒)を求める a.
条件: VCPU0.2のときの傾きはVCPU1.0のときの傾きの0.2倍であるべき 6
計算速度(実験結果) 7 2765869[ループ/msec] 546681[ループ/msec] ~= 0.2 * 27658
最長バースト期間(実験方法) 1. とりあえず適当な期間CPUをブン回してみる 2. 横軸に経過時間、縦軸に進捗をプロット 3. グラフの傾きが大きい期間を測る 8
最長バースト期間(実験結果) 9 30秒
バースト期間チャージ論理(実験方法) 1. バーストできるぎりぎりまでCPUを使う 2. 適当な期間CPUをidleにする 3. 再度1と同じくらいCPUを使う 4. 横軸に経過時間、縦軸に進捗をプロット 5.
3においてどれだけバースト期間があるかを見る 10
バースト期間チャージ論理(実験結果) 11 30秒のidle期間で約6秒チャージ
今後の課題 • Idleを挟まないとバースト可能期間はチャージされないの? • 他のクラウドサービスの類似インスタンスではどうなる? ◦ AWS, Azure… 12
まとめ • バースト時にもらえるCPU資源は公式発表通り通常の5倍 • バースト期間は最長30秒 • アイドル状態1秒あたり0.2秒バースト期間がチャージされる 13