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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Satoru Takeuchi
PRO
July 21, 2018
Technology
1.6k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
44
114-ファイルのshallow_copy.pdf
sat
PRO
2
26
113-Btrfsのスナップショット.pdf
sat
PRO
0
10
システム強制終了時にファイルシステムの整合性を保つ~ コピーオンライト編 ~
sat
PRO
0
54
システム強制終了時に ファイルシステムの整合性を保つ ~ ジャーナリング編 ~
sat
PRO
2
61
ファイルシステムの整合性を回復するfsck
sat
PRO
1
62
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
5k
ファイルシステムの不整合
sat
PRO
2
150
書籍執筆での生成AIの活用
sat
PRO
2
520
Other Decks in Technology
See All in Technology
時期が悪い!それでもRaspberry Piを買って遊んで活用するには / 20260627-osc26do-rpi-jikigawarui
akkiesoft
0
100
[AWS Summit Japan 2026]迷っているあなたへ_小さな一歩が、やがて自分を助けてくれる
sh_fk2
1
340
【セミナー資料】Claude Code をセキュアに使うための考え方と設定の勘どころ / Claude Code Webinar 20260616
masahirokawahara
2
440
インシデントレスポンス演習 I / Incident Response Exercise I
ks91
PRO
0
110
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
3
720
Agile and AI Redmine Japan 2026
hiranabe
3
430
コミットの「なぜ」を読む
ota1022
0
110
千葉での単身赴任からAWSをやり続け、千葉に戻ってきた話
yama3133
1
100
作る力から、見極める力へ — AI時代に広がるエンジニアの価値と役割
rince
0
260
「軸足」は 固定しなくていい - 熱量と強みで描く、しなやかなキャリアの形
kakehashi
PRO
1
200
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
430
PostgreSQL 19 新機能概要 OSC Hokkaido 2026
nori_shinoda
0
210
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
350
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
230
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
460
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
170
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
340
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
160
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
580
Building the Perfect Custom Keyboard
takai
2
800
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
360
エンジニアに許された特別な時間の終わり
watany
107
250k
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