{"id":35,"date":"2015-04-25T22:29:44","date_gmt":"2015-04-25T19:29:44","guid":{"rendered":"http:\/\/crazyguy.info\/?p=35"},"modified":"2015-04-25T22:42:20","modified_gmt":"2015-04-25T19:42:20","slug":"aws-gaming-experiment","status":"publish","type":"post","link":"https:\/\/crazyguy.info\/?p=35","title":{"rendered":"AWS gaming experiment"},"content":{"rendered":"<p>I got inspired by <a href=\"http:\/\/lg.io\/2015\/04\/12\/run-your-own-high-end-cloud-gaming-service-on-ec2.html\" target=\"_blank\">this blog post by Larry Gadea<\/a> and decided to ask about it on twitter:<\/p>\n<blockquote class=\"twitter-tweet\" lang=\"en\"><p><a href=\"https:\/\/twitter.com\/teromiettinen\">@teromiettinen<\/a> try it out \ud83d\ude42<\/p>\n<p>\u2014 Larry Gadea (@lg) <a href=\"https:\/\/twitter.com\/lg\/status\/590021902602612736\">April 20, 2015<\/a><\/p><\/blockquote>\n<p><script src=\"\/\/platform.twitter.com\/widgets.js\" async=\"\" charset=\"utf-8\"><\/script><\/p>\n<p>So that&#8217;s what I decided to do. Here&#8217;s a story of my experiments and findings:<\/p>\n<p>The traffic from Finland to Amazon AWS regions in EU seems to change a bit depending on traffic. The following snippet is from 25.4.2015 but earlier when I tested I got almost double the latency.<\/p>\n<p><a href=\"http:\/\/crazyguy.info\/wp-content\/uploads\/2015\/04\/Cloudping.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-37\" src=\"http:\/\/crazyguy.info\/wp-content\/uploads\/2015\/04\/Cloudping-297x300.png\" alt=\"Cloudping to AWS\" width=\"297\" height=\"300\" srcset=\"https:\/\/crazyguy.info\/wp-content\/uploads\/2015\/04\/Cloudping-297x300.png 297w, https:\/\/crazyguy.info\/wp-content\/uploads\/2015\/04\/Cloudping.png 341w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/><\/a><\/p>\n<p>Let&#8217;s try anyway.<\/p>\n<p>I decided to go with regular instance instead of spot instance due to faster start-up and simpler pricing model. First problem I encountered was that I just created a new account and Amazon needs to verify the account before I can create instances.<\/p>\n<p>For testing I created a new GPU instance in Ireland and configured VPN, Steam etc. roughly following Larry&#8217;s instructions.<\/p>\n<p>I then tested to play some games over the connection. I tested with the following games:<\/p>\n<ul>\n<li>Cities: Skylines<\/li>\n<li>Death Rally<\/li>\n<li>Portal<\/li>\n<\/ul>\n<p>And here&#8217;s some stats from playing (or attempting to play) Cities: Skylines.<\/p>\n<pre>\t\"SlowNetworkPercent\"\t\t\"83.889091491699219\"\r\n\t\"SlowDecodePercent\"\t\t\"0.48104065656661987\"\r\n\t\"SlowDisplayPercent\"\t\t\"30.016672134399414\"\r\n\t\"AvgClientBitrate\"\t\t\"147.28001403808594\"\r\n\t\"StdDevClientBitrate\"\t\t\"137.56430053710937\"\r\n\t\"AvgServerBitrate\"\t\t\"2135.413330078125\"\r\n\t\"StdDevServerBitrate\"\t\t\"8527.41015625\"\r\n\t\"AvgLinkBandwidth\"\t\t\"7525.86865234375\"\r\n\t\"AvgPingMS\"\t\t\"1354.215087890625\"\r\n\t\"StdDevPingMS\"\t\t\"2320.548095703125\"\r\n\t\"AvgCaptureMS\"\t\t\"2.3584384918212891\"\r\n\t\"StdDevCaptureMS\"\t\t\"1.7173653841018677\"\r\n\t\"AvgConvertMS\"\t\t\"0.021369790658354759\"\r\n\t\"StdDevConvertMS\"\t\t\"0.1436113715171814\"\r\n\t\"AvgEncodeMS\"\t\t\"5.5488224029541016\"\r\n\t\"StdDevEncodeMS\"\t\t\"1.5767149925231934\"\r\n\t\"AvgNetworkMS\"\t\t\"191.907958984375\"\r\n\t\"StdDevNetworkMS\"\t\t\"450.26995849609375\"\r\n\t\"AvgDecodeMS\"\t\t\"2.8170154094696045\"\r\n\t\"StdDevDecodeMS\"\t\t\"31.469053268432617\"\r\n\t\"AvgDisplayMS\"\t\t\"38141.1484375\"\r\n\t\"StdDevDisplayMS\"\t\t\"337954.03125\"\r\n\t\"AvgFrameMS\"\t\t\"109.8192138671875\"\r\n\t\"StdDevFrameMS\"\t\t\"118.69873809814453\"\r\n\t\"AvgFPS\"\t\t\"55.433006286621094\"\r\n\t\"StdDevFPS\"\t\t\"16.267507553100586\"\r\n<\/pre>\n<p>I&#8217;m not sure how reliable the stats are, I noticed quite large differences in &#8220;AvgPingMS&#8221; value between different attempts and games. The range I saw was from about 200 ms to about 1400 ms.<\/p>\n<p>In the end I decided that this was simply not going to work. The games were completely unplayable.<\/p>\n<p>This was a fun experiment that cost me about 5USD in EC2 instance and storage costs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got inspired by this blog post by Larry Gadea and decided to ask about it on twitter: @teromiettinen try it out \ud83d\ude42 \u2014 Larry Gadea (@lg) April 20, 2015 So that&#8217;s what I decided to do. Here&#8217;s a story of my experiments and findings: The traffic from Finland to Amazon AWS regions in EU &hellip; <a href=\"https:\/\/crazyguy.info\/?p=35\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">AWS gaming experiment<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[4,5],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-amazon","tag-aws"],"_links":{"self":[{"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/crazyguy.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":10,"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/crazyguy.info\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/crazyguy.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crazyguy.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crazyguy.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}