{"id":6,"date":"2015-09-26T14:10:47","date_gmt":"2015-09-26T14:10:47","guid":{"rendered":"http:\/\/mattyb.co.za\/?p=6"},"modified":"2015-09-29T10:43:05","modified_gmt":"2015-09-29T08:43:05","slug":"rage-lan-2015","status":"publish","type":"post","link":"https:\/\/mattyb.co.za\/index.php\/2015\/09\/26\/rage-lan-2015\/","title":{"rendered":"rAge LAN 2015 Post 1"},"content":{"rendered":"<p>So I am a part of building the NAG LAN at the biggest Gaming Expo in South Africa.<br \/>\n<a href=\"http:\/\/rageexpo.co.za\" target=\"_blank\">rAge<\/a><\/p>\n<p>My main purpose at the event will be to set-up the the LAN cache, as done <a href=\"http:\/\/blog.multiplay.co.uk\/2014\/04\/lancache-dynamically-caching-game-installs-at-lans-using-nginx\/\" target=\"_blank\">here<\/a> by Multiplay.<\/p>\n<p>I have 2 x the below to work with:<br \/>\n2 x Intel Xeon CPU E5-2690 v2 @ 3.00 GHz, 10 Cores, 20 Logical Processors<br \/>\n1 x SSD 160GB<br \/>\n5 x SSD 120GB<br \/>\n64 GB RAM<br \/>\n8 x 1GB Eth<\/p>\n<p>These are some pretty BEASTY servers.<\/p>\n<p>Lets just crunch some numbers quick:<br \/>\nThere are 10 + 10 physical cores &#8211; Which gives us 20 physical cores.<br \/>\nThere are 20 + 20 virtual cores &#8211; Which gives us 40 virtual cores. Madness?<\/p>\n<p>Then if we were to put all 10 x 120GB SSDs in RAID 0 in one server&#8230;<br \/>\nLets assume that the SSDs have a read\/write of around 500MB\/s these days.<br \/>\nThat is 5GB\/s of space. Pure space.<\/p>\n<p>And we have 8GBps of Network traffic, so even in a setup like this, the storage is still a bottleneck.<br \/>\nWe have a 5.2GBps internet connection coming into the event, so this would be the &#8220;backhaul&#8221; for us to connect to Steam servers and get stuff for the cache.<br \/>\nBut why would we even want a SteamCache with a connection like that?!<br \/>\nWell, we would like to make sure as much of that pipe is left open for games, other downloads, torrents, whatever. If we can take some duplication off of that connection and keep things outside the LAN as quick as we can, that would be a win.<\/p>\n<p>So if we were to put all the 120GB SSDs into one server, we would only have 1.2TB of space. This really concerned me at first, but then I was made aware that nginx has something to deal with this:<br \/>\n&#8220;The special \u201ccache manager\u201d process monitors the maximum cache size set by the\u00a0<code>max_size<\/code>\u00a0parameter. When this size is exceeded, it removes the least recently used data.&#8221;<br \/>\n==<br \/>\nif all-cache.size &gt; max-size:<br \/>\ndel *the most inactive cache* until size &lt; max-size<br \/>\n==<\/p>\n<div>\n<p>What a relief! Now that guys Sims 2 game can be purged from the cache once he and his friends have downloaded it.<\/p>\n<p>The OS we will use at the event is Ubuntu. I find it easier to work with, and I am more comfortable using it. If something were to go wrong, I wouldn&#8217;t need to sit there with a FreeBSD for Dummies.<\/p>\n<p>I will keep the blog up to date as I go on \ud83d\ude42<\/p>\n<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I am a part of building the NAG LAN at the biggest Gaming Expo in South Africa. rAge My main purpose at the event will be to set-up the the LAN cache, as done here by Multiplay. I have 2 x the below to work with: 2 x Intel Xeon CPU E5-2690 v2 @ &hellip; <a href=\"https:\/\/mattyb.co.za\/index.php\/2015\/09\/26\/rage-lan-2015\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">rAge LAN 2015 Post 1<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[2],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-rage-2015"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p71fL2-6","jetpack-related-posts":[{"id":90,"url":"https:\/\/mattyb.co.za\/index.php\/2016\/03\/09\/rage-cape-town-2016\/","url_meta":{"origin":6,"position":0},"title":"rAge Cape Town 2016","author":"admin","date":"March 9, 2016","format":false,"excerpt":"So, with the event fast approaching, planning is well under way for rAge Cape Town 2016. Sadly since the event is fairly\u00a0small this year, with only a few hundred gamers, which means there is a limited budget. This is still okay, I will be paying my way and heading down\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=700%2C400 2x"},"classes":[]},{"id":19,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/10\/05\/rage-2015-post-4\/","url_meta":{"origin":6,"position":1},"title":"rAge 2015 Post 4","author":"admin","date":"October 5, 2015","format":false,"excerpt":"So, it is in motion! The event is slowly being built up, and its quite impressive to see. From the LAN side, we have put out the 12KM odd of LAN cable, and the associated power cables. Nothing is live quite yet, and we await the networking equipment, but this\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/10\/13\/rage-2015-the-stats\/","url_meta":{"origin":6,"position":2},"title":"rAge 2015 &#8211; The stats","author":"admin","date":"October 13, 2015","format":false,"excerpt":"So, stats from the SteamCache at rAge 2015 16.4TB was recieced through the internet IP, and 51.1TB was sent out by the cache's Steam IP. The highest peak of traffic to the cache from the LAN bond, was 10.07Gbps, on Friday morning. The max tracked connections to the cache was\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"system1z.1day","src":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/10\/system1z.1day.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/10\/system1z.1day.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/10\/system1z.1day.png?resize=700%2C400 2x"},"classes":[]},{"id":78,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/11\/29\/wait\/","url_meta":{"origin":6,"position":3},"title":"WAIT!","author":"admin","date":"November 29, 2015","format":false,"excerpt":"Who wants to wait around for other people\/things? Defiantly not your cache server, and if it is waiting around, then there could be a problem somewhere. See my case below: The server has only 4 CPUs, and its load average is almost double that. Wow, why is there so much\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"system1z.1day","src":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=700%2C400 2x"},"classes":[]},{"id":75,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/11\/17\/so-you-think-you-can-nic\/","url_meta":{"origin":6,"position":4},"title":"So you think you can NIC?","author":"admin","date":"November 17, 2015","format":false,"excerpt":"Sometimes\u00a0in life, you get even bigger servers, with MOAR NICs then you can count on one hand. At rAge we had 12 of the bad boys. Here, we will use 5 in a server with 5 x 1 GbE on the Mobo, and an add in card with another 4\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/09\/29\/rage-2015-post-2\/","url_meta":{"origin":6,"position":5},"title":"rAge 2015 Post 2","author":"admin","date":"September 29, 2015","format":false,"excerpt":"So today we will take a look at setting up\u00a0Monitorix\u00a0on our Ubuntu box. We will use this to see pretty graphs of our server, and find out what it is doing, and how it is coping with the loads put on it. First, we have to add the respository Add\u2026","rel":"","context":"In &quot;rAge 2015&quot;","block_context":{"text":"rAge 2015","link":"https:\/\/mattyb.co.za\/index.php\/category\/rage-2015\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.monitorix.org\/imgs\/system.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.monitorix.org\/imgs\/system.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.monitorix.org\/imgs\/system.png?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":4,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":15,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/6\/revisions\/15"}],"wp:attachment":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}