<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>cool stuff: The Linux powered LAN Gaming House.</title><link>https://community.element14.com/learn/publications/w/documents/9789/cool-stuff-the-linux-powered-lan-gaming-house</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>cool stuff: The Linux powered LAN Gaming House.</title><link>https://community.element14.com/learn/publications/w/documents/9789/cool-stuff-the-linux-powered-lan-gaming-house</link><pubDate>Fri, 08 Oct 2021 04:51:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:911d6f8b-e828-4559-81c8-86dd626ffe66</guid><dc:creator>DebuggerGuys</dc:creator><comments>https://community.element14.com/learn/publications/w/documents/9789/cool-stuff-the-linux-powered-lan-gaming-house#comments</comments><description>Current Revision posted to Documents by DebuggerGuys on 10/8/2021 4:51:54 AM&lt;br /&gt;
&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;LAN parties offer the enjoyment of head to head gaming in a real-life social environment. In general, they are experiencing decline thanks to the convenience of Internet gaming, but Kenton Varda is a man who takes his LAN gaming very seriously. His LAN gaming house is a &lt;a class="jive-link-external-small" href="http://kentonsprojects.blogspot.com/2011/12/lan-party-optimized-house.html" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;fascinating project&lt;/a&gt;, and best of all, Linux plays a part in making it all work.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="http://pcdn.500px.net/6428828/bfeae977642617464663f2c278f21c569cb7684c/3.jpg"&gt;&lt;img alt="image" class="jiveImage" src="http://pcdn.500px.net/6428828/bfeae977642617464663f2c278f21c569cb7684c/3.jpg"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Varda has done his own write ups (&lt;a class="jive-link-external-small" href="http://kentonsprojects.blogspot.com/2011/12/lan-party-optimized-house.html" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;short&lt;/a&gt;, &lt;a class="jive-link-external-small" href="http://kentonsprojects.blogspot.com/2011/12/lan-party-house-technical-design-and.html" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;long&lt;/a&gt;), so I&amp;#39;m only going to give an overview here. The setup is a large house with 12 gaming stations and a single server computer.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;The client computers themselves are rack mounted in a server room, and they are linked to the gaming stations on the floor above via extension cables (HDMI for video and audio and USB for mouse and keyboard). Each client computer, built into a 3U rack mount case, is a well specced gaming rig in its own right, sporting an Intel Core i5 processor, 4GB of RAM and an Nvidia GeForce 560 along with a 60GB SSD drive.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Originally, the client computers ran Ubuntu Linux rather than Windows and the games executed under &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Wine_%28software%29" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;WINE&lt;/a&gt;, but Varda had to abandon this scheme. As he explains on his site:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;em&gt;&lt;br /&gt;&amp;quot;Amazingly, a majority of games worked fine, although many had minor bugs (e.g. flickering mouse cursor, minor rendering artifacts, etc.). Some games, however, did not work, or had bad bugs that made them annoying to play.&lt;/em&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Subsequently, the gaming computers have been moved onto a more conventional gaming choice, Windows 7. It&amp;#39;s a shame that WINE couldn&amp;#39;t be made to work, but I can sympathize as it&amp;#39;s rare to find modern games that work perfectly and at full native speed. Another problem with WINE is that it tends to suffer from regressions, which is hardly surprising when considering the difficulty of constantly improving the emulation of the Windows API. Varda points out that he preferred working with Linux clients as they were easier to modify and came with less licensing baggage.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Linux still runs the server and all of the tools used are open source software. The hardware here is a &lt;a class="jive-link-external-small" href="http://ark.intel.com/products/52271" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;Intel Xeon E3-1230&lt;/a&gt; with 4GB of RAM. The storage hanging off this machine is a bit more complex than the clients. In addition to the 60GB SSD, it also has 2x1TB drives and a 240GB SDD.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;When the clients were running Linux, they booted over PXE using a toolchain that will be familiar to anyone who has setup Linux network booting. &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Dhcp" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;DHCP&lt;/a&gt; pointed the clients to the server which then supplied &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/PXELINUX#PXELINUX" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;PXELINUX&lt;/a&gt; using &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Tftp" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;TFTP&lt;/a&gt;. When booted, file access was accomplished through &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Network_block_device" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;network block device&lt;/a&gt; (NBD). This is a very easy to use system that allows you to serve the contents of a file as a block device over the network. The client computer runs a user mode device driver and the device can be mounted within the file system using the mount command.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;One snag with offering file access via NBD is that it&amp;#39;s difficult to impose any security restrictions on different areas of the file system as the server only sees a single file. The advantage is perfomance as the client operating system simply sees a block device, and besides, these security issues aren&amp;#39;t relevant in this setup.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Unfortunately, Windows 7 can&amp;#39;t use NBD, so, Varda had to switch to iSCSI (which works in both server and client mode under Linux). His network cards are not compliant with this standard when doing a netboot, but fortunately, &lt;a class="jive-link-external-small" href="http://etherboot.org/wiki/start" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;gPXE&lt;/a&gt; came to the rescue, and he boostraps it over PXE. gPXE is also available as an ISO image and is worth knowing about if you encounter an awkward machine that can&amp;#39;t manage a network boot. It can also optionally boot from a HTTP server rather than the more traditional TFTP server.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;According to Varda, booting all 12 machines over the Gigabit Ethernet network is surprisingly fast, and once booted, the machines don&amp;#39;t seem noticeably slower than if they were using local storage. Once loaded, most games attempt to load in as much data as possible, filling the RAM, and the the disk and network bandwidth required is small. It&amp;#39;s worth noting that these are aspects of this project that might differ from some other thin client scenarios.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;At time of writing, it doesn&amp;#39;t seem as though the local storage of the client machines is being utilized. Instead, the clients boot into Windows from an image on the server that contains the operating system and the games themselves. It uses the copy on write feature of &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29" rel="nofollow ugc noopener" style="color:#003366;font-weight:bold;" target="_blank"&gt;LVM&lt;/a&gt; so that any writes from a client are added to a differencing image allocated to that client. As the administrator, Varda can log into the Linux server and authorize changes to the master image for updates etc.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;span style="font-size:8pt;"&gt;&lt;strong&gt;VIA &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12pt;"&gt;&lt;a class="jive-link-external-small" href="http://www.linuxjournal.com/content/linux-powered-lan-gaming-house" rel="nofollow ugc noopener" target="_blank"&gt;LINUX JOURNAL&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: lan., gaming, linux&lt;/div&gt;
</description></item></channel></rss>