EPFL 2015 Tutorial: Rigorous and Practical Server Design Evaluation

  • Tutorial Schedule
  • Slides (Day 1)
  • Slides (Day 2)


  • Hands-On Session Instructions

    This section of the tutorial covers a demonstration of bringing up the CloudSuite workloads and performing architectural simulation using Flexus. The tutorial consists of four main parts: (1) CloudSuite on real hardware, running the media streaming workload as an example. (2) Using Simics to perform full-system simulation, porting media streaming into the simulated system and creating a Simics checkpoint. (3) Using the Flexus tools along with the sampling methodology to measure the performance of a workload. (4) An overview of the images we are releasing for CloudSuite and how to set them up on your own systems.

    All the work required by this tutorial will be performed through secure connections to the PARSA servers at EPFL. On Unix-based machines, connection can be set up via the terminal application, and on Windows, connection can be set up via an SSH program that supports Xterm, such as Putty. (Please refer to this link to convert the ssh key to the Windows format and then this link to set up Putty with Xterm on your Windows machine. In putty, you need to specify the path to the key generated by PuttyGen under Connection, SSH, Auth using the Browse button.

    To connect to our server:
    1. Download the ssh keys for your given account
    2.  wget http://parsa.epfl.ch/cloudsuite_old/tutorial_keys/tutorialN_keys.tar 
    3. Untar the file
    4.  tar xvf tutorialN_keys.tar 
    5. Change the permissions
    6.  chmod 600 tutorialN_keys/id_rsa
    7. Then, ssh to the main server
    8. ssh -Y -i tutorialN_keys/id_rsa tutorialN@parsasrv2.epfl.ch
    9. Finally, ssh to the node assigned to you
    10. ssh -Y n1XX 

    CloudSuite on Real Hardware (Day 1)

    In this part of the tutorial, you will go through the whole process of installing and running the media streaming workload. Before you start, you need to log in to your account from two terminals (or you can use screen), one for the client application and the other for the server application. Once you log in to your account (ssh), you will find the media streaming package under your home directory, streaming-release.

    Media Streaming (+)

    Preparing a Simics Checkpoint (Not in this tutorial)

    (+)

    Media Streaming in Simics (Day 1)

    (+)

    Working with Flexus (Day 2)

    In this section, we will run sample Flexus simulations with the 16-CPU web serving workload. We have already prepared a valid initial ckeckpoint for you, stored as /home/tutorial3/workloads/ckpts/cloudstone/16cpu/baseline/phase_000/simics.

    1. Before starting working with Flexus, you need to create some initial directories under your home directory (which we will explain in the next steps):
      ~/specs
      ~/results
      
    2. Please copy folder/home/tutorial3/specs/16-core-1t-baseline to your ~/specs folder
    3. Please copy folder/home/tutorial3/FLEXUS/flexus-4.1 to your home folder

    Getting familiar with the run_job script (+)

    Displaying statistics with the stat-manager tool (+)

    Creating a new Flexus component and simulator (+)

    Cleanup (+)


    © 2015 EPFL PARSA 1015 Lausanne, Switzerland tel. +41 21 693 1395 all rights reserved       webmaster