|
15-410 Virtual Andrew Accelerator DocumentationIntroductionOne of our S'20 students, the intrepid Fan Pu Zeng, discovered a performance accelerator for Simics which will help some students substantially. This is likely to be useful if your ping time to Pittsburgh, as reported by, e.g., ping linux.andrew.cmu.edu, is much over 50 milliseconds. ApproachThe basic issue is that Simics makes many small drawing requests to the window system. The X Window system was designed to support a program that wishes to draw (Simics) being on the other side of a network from the display to draw on (your laptop). However, in practice usually the program and the display are on the same machine, so some programs aren't careful with how they draw. If you are using X forwarding from a very distant place, each drawing request (essentially an RPC) must be shipped across the network, and in practice the answer must come back, before the next request can be issued. As discussed in the RPC lecture, if network latency is high this is dreadful. The approach we are documenting is to have Simics draw on a virtual display that is very close to it (probably only 100 feet away), after which you will view that display via a tool that is explicitly designed to deal with long-haul network delays. Basically, Simics will draw on the virtual display hundreds of times per second and you will view the virtual display at a frame rate commensurate with your network. License codeDownload the X-Win32 Windows installer (even if you don't have a Windows machine!) from here, including accepting the license agreement. Your personal license code will be found in a file called VN.txt. LINUX.ANDREW SSH fingerprintSSH into LINUX.ANDREW however you normally would, then:
Remember the LINUX.ANDREW server fingerprint. Accessing Virtual AndrewYou can access Virtual Andrew through a browser client or you can install a client specific to Windows, MacOS, iOS, or Android. Once you're logged in to Virtual Andrew, you can escape via the Windows menu on the lower left: among the millions of things it pops up is, on the upper left, an icon of a human torso, which will let you end the Windows session. Configuring the Hack
Running It LaterGoing forward, you can make a Windows "shortcut" for the connection. Launching it will prompt you for your username and password, then Bob's your uncle! | ||||||||||
[Last modified Friday September 06, 2024] |