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
VCPU burst feature of GCE f1-micro instance
Search
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
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
70
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
95
あなたの知らないバージョン命名規則
sat
PRO
3
900
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
64
Machine Check Exception
sat
PRO
2
66
バイナリダンプの模様を読む
sat
PRO
0
89
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
89
114-ファイルのshallow_copy.pdf
sat
PRO
2
58
113-Btrfsのスナップショット.pdf
sat
PRO
0
41
Other Decks in Technology
See All in Technology
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
110
おい、エージェントを使って終わらせろ
nwiizo
2
790
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
260
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
360
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.1k
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
170
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
540
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
映像変換サーバーなしで端末内でHLSを生成してライブ配信
hikarusato
0
130
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
0
280
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Prompt Engineering for Job Search
mfonobong
0
450
Odyssey Design
rkendrick25
PRO
2
810
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
For a Future-Friendly Web
brad_frost
183
10k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Why Our Code Smells
bkeepers
PRO
340
58k
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