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
1.6k
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
Tweet
Share
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
3.4k
ファイルシステムの不整合
sat
PRO
2
130
書籍執筆での生成AIの活用
sat
PRO
2
430
ChatGPTに従って体調管理2026
sat
PRO
0
170
eBPF
sat
PRO
1
140
waruiBPF
sat
PRO
0
120
eBPFとwaruiBPF
sat
PRO
5
4.3k
Pythonのコードの気になる行でスタックトレースを出す
sat
PRO
1
110
ソースコードを読むときの思考プロセスの例 ~markdownのレンダリング方法を知りたかった2 markdownパッケージ~
sat
PRO
0
220
Other Decks in Technology
See All in Technology
LLMに何を任せ、何を任せないか
cap120
10
4.8k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
240
Bref でサービスを運用している話
sgash708
0
190
Physical AI on AWS リファレンスアーキテクチャ / Physical AI on AWS Reference Architecture
aws_shota
1
130
ThetaOS - A Mythical Machine comes Alive
aslander
0
150
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
韓非子に学ぶAI活用術
tomfook
1
200
Phase03_ドキュメント管理
overflowinc
0
2.4k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
4
13k
Copilot 宇宙へ 〜生成AIで「専門データの壁」を壊す方法〜
nakasho
0
180
ABEMAのバグバウンティの取り組み
kurochan
1
680
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
430
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
410
Done Done
chrislema
186
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
110
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
86
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
HDC tutorial
michielstock
1
580
The Limits of Empathy - UXLibs8
cassininazir
1
270
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Side Projects
sachag
455
43k
The World Runs on Bad Software
bkeepers
PRO
72
12k
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