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
Gaming PC on GCP
Search
Fumiaki MATSUSHIMA
July 17, 2020
Programming
830
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gaming PC on GCP
Quipper LT 会 #5
Fumiaki MATSUSHIMA
July 17, 2020
More Decks by Fumiaki MATSUSHIMA
See All by Fumiaki MATSUSHIMA
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
120
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
240
Learning from performance improvements on GraphQL Ruby
mtsmfm
1
1.4k
Ruby で作る Ruby (物理)
mtsmfm
1
320
GraphQL Ruby benchmark
mtsmfm
1
940
タイムアウトにご用心 / Timeout might break application state
mtsmfm
6
2.7k
Build REST API with GraphQL Ruby
mtsmfm
0
410
GraphQL Ruby をちょっとだけ速くした / Make graphql-ruby faster a bit
mtsmfm
1
810
How to introduce GraphQL to an existing React-Redux application
mtsmfm
1
340
Other Decks in Programming
See All in Programming
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
120
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
120
AmebaブログはKMPから卒業します
kmars0605
0
240
APNsからLive Activityを開始する話
yumnumm
0
180
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
190
contenteditable と日本語入力に向き合う
colorful12
0
220
続・コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions-again
handlename
0
120
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
570
ChromeでローカルLLM
ryu1013
0
160
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
770
ActionController meets Protocol Buffers
sorah
1
710
Featured
See All Featured
Crafting Experiences
bethany
1
390
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
470
Amusing Abliteration
ianozsvald
1
360
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Optimising Largest Contentful Paint
csswizardry
37
4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
640
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
A Tale of Four Properties
chriscoyier
163
24k
The browser strikes back
jonoalderson
0
1.9k
Transcript
Gaming PC on GCP ゲーミング PC on GCP @mtsmfm Fumiaki
Matsushima
Gaming PC on GCP ➔ Web Dev at Quipper ➔
Ruby と麻雀と DbD が好き ➔ 西日暮里.rb 主催 ➔ GraphQL Tokyo 主催 @mtsmfm.inspect
Gaming PC on GCP 3 https://nishinipporirb.doorkeeper.jp/events/108780
Gaming PC on GCP 4 ゲーム - 好き - PS4
か Switch でやってる - PC でしかできないやつもある - ゲーミング PC 組みたくない - 部屋が狭い - どれくらいやるかわからない
Gaming PC on GCP 「サーバは増やすんじゃなくて 時代はもうクラウド」
Gaming PC on GCP 6 クラウドゲーミング - Google Stadia -
$9.9 / 月 - 日本はまだ - GeForce NOW - 1800 円 / 月 (税別) - 日本でもやってる - ソフトバンクとやってる
Gaming PC on GCP GeForce NOW 7 - Pros -
安い - Cons - 対応タイトルが限られてる - 自分の Steam 画面になるけれど、メニューで選んだ ゲームしか起動できないようになっている - リモートデスクトップっぽい挙動をしているので、理屈 上は何でもいけそうだが...
Gaming PC on GCP DaaS (Desktop as a Service) 8
- GPU 使えるところがほとんどない? - 知ってたら教えて下さい - そもそも個人向けがあんまりない - AWS (Amazon WorkSpaces) - 2vCPU 7.5Gメモリ 50G ディスク $62/月 or $14 + $0.6/時 - GPU 足すと 8vCPU 15Gメモリ $951/月 or $30 + $2.41/時 - 固定料金つらい - 8vCPUも要らないのでは?
Gaming PC on GCP VM 立てる 9 - AWS (EC2)
- Windows だと1秒で上げ下げしても1時間課金 - GPU、CPU、メモリの組み合わせが固定 - Azure - 6コア 56Gメモリ - そんなに要らないので安くしたい - GCP (GCE) - Windows でも1分単位課金 - CPU とメモリを柔軟にいじれる
Gaming PC on GCP リモートデスクトップでゲーム 10 - RDP - 若干カクつく
- VNC - 同マシン内すらカクついてる印象
Gaming PC on GCP 11 https://troches.jp/contents/tech/514
Gaming PC on GCP リモートデスクトップでゲーム 12 - RDP - 若干カクつく
- VNC - 同マシン内すらカクついてる印象 - Parsec - すご...
Gaming PC on GCP Parsec 13 https://parsecgaming.com/
Gaming PC on GCP Parsec 14 - ぬるぬる動くリモートデスクトップツール - 本当に驚くので一度試してほしい
- オフライン対戦/協力ゲームをオンラインでやる のが主目的 (?) - BUD (Better User Diagram) という独自プロト コルを UDP 上に実装
Gaming PC on GCP 15 https://www.slideshare.net/BenjyBoxer/building-a-udp-protocol-for-cloud-gaming
Gaming PC on GCP 導入 16 - GPU 有効にした Windows
を GCE で起動 - ちょっとでも安くしたいので preemptive - Parsec-Cloud-Preparation-Tool を流す - 終わり
Gaming PC on GCP 17 https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool
Gaming PC on GCP Parsec-Cloud-Preparation-Tool 18 - Graphic Driver の設定とかしてくれる
- アイドル状態ならシャットダウンとかの設定も仕込んでくれる
Gaming PC on GCP Parsec-Cloud-Preparation-Tool 19 - Graphic Driver の設定とかしてくれる
- アイドル状態ならシャットダウンとかの設定も仕込んでくれる - が、ゲーム開きっぱだと無力 - ある晩止め忘れて昼頃気づいたら800円って書いてあっ た
Gaming PC on GCP 20 https://github.com/mtsmfm/parsec-instance-manager つらかったのでつくった
Gaming PC on GCP 21 Parsec instance manager - 起動終了ができる
- 起動したら Push 通知 - 5分間 Parsec クライアント がいないと勝手に終了 - 終了も Push 通知
Gaming PC on GCP 22 Cloud Run Rails GCE Parsec
API くそざこ なめくじUI (React + GraphQL)
Gaming PC on GCP 23 Cloud PubSub FireStore FCM GCE
Parsec API Cloud Run Rails Cloud Scheduler 毎分 ポーリング 結果 Push 通知 (Service Worker)
Gaming PC on GCP 24 Cloud PubSub FireStore FCM Cloud
Run Rails GCE Parsec API Cloud Run Rails Cloud Scheduler 毎分 ポーリング 結果 Push 通知 (Service Worker) くそざこ なめくじUI (React + GraphQL)
Gaming PC on GCP 12時間つかった料金 25 - 条件: 2vCPU 7.5GBメモリ
50G ストレージ - Windows ライセンス 120円 - CPU 23円 - RAM 12円 - GPU 404円 - 本体 143円、ライセンス 261円 - ネットワーク 53円 - ストレージ 125円
Gaming PC on GCP 12時間つかった料金 => 737円 26 - 条件:
2vCPU 7.5GBメモリ 50G ストレージ - Windows ライセンス 120円 - CPU 23円 - RAM 12円 - GPU 404円 - 本体 143円、ライセンス 261円 - ネットワーク 53円 - ストレージ 125円
Gaming PC on GCP 2 vCPU 7.5GB メモリ 62円/時
Gaming PC on GCP 「ゲームは1日1時間」
Gaming PC on GCP 62 * 30 = 1860
Gaming PC on GCP 30 https://cloudgaming.mb.softbank.jp/
Gaming PC on GCP ご清聴ありがとうございました 31 - GeForce NOW 安すぎる
- うどん条例レベルの制限でようやく同額 - どんなゲームでもできるようになるのに期待 - 62円/時で遊べた - Preemptive、2 vCPU、7.5 GB メモリ、Tesla T4、スマホ解像度 - Preemptive なので突然死する - インスタンス落とし忘れてると - 拙作のツール使うと自動で止めたりできる