The Roofline performance model offers an insightful and intuitive method for extracting the key execution characteristics of HPC applications and comparing them against the performance bounds of modern CPUs and GPUs. Its ability to abstract the complexity of memory hierarchies and identify the most profitable optimization techniques have made Roofline-based analysis increasingly popular in the HPC community. The tutorial will introduce the fundamental aspects behind different Roofline modeling principles as well as providing several practical use case scenarios that highlight their efficacy for application optimization on CPUs and GPUs. This tutorial presents a unique combination of instruction to Roofline, hands-on instruction in using Roofline within Intel and NVIDIA production performance tools by Intel and NVIDIA staff and discussions of real-world Roofline use cases at ALCF, NERSC and INESC computing centers. The tutorial presenters have a long history of collaborating on the Roofline model and have presented several Roofline-based tutorials.
- Monday, November 9th, 10am-2pm EST
- 10:00am: Welcome and Administration
- 10:05am: Introduction to the Roofline Model (55mins)
- 11:00am: Cache-Aware Roofline Model (25mins)
- 11:25am: Session I Q&A and Break (35mins)
- 12:00pm: Intel Advisor Roofline Hands-On (90mins)
- 1:30pm: Session II Q&A and Wrap Up (30mins)
- Tuesday, November 10th, 10am-2pm EST
- 10:00am: NVIDIA NSight Compute Roofline Hands-On (90mins)
- 11:30am: Session III Q&A and Break (30mins)
- 12:00pm: INESC Application Use Cases (20mins)
- 12:20pm: ALCF Application Use Cases (35mins)
- 12:55pm: NERSC Application Use Cases (35mins)
- 1:30pm: Session IV Q&A and Wrap Up (30mins)
We have created a slack space for tutorial discussions.
Intel Advisor Hands-On
It is strongly suggested that attendees wishing to participate in the Intel Advisor Roofline Tutorial follow these instructions. Download the Intel Advisor build (linux, windows or macOS) and hands-on materials form http://bit.ly/sc20_roofline_intel. Users do not need any hardware other than a computer (laptop, desktop or server) with an internet connection and a recent browser (Firefox and Chrome recommended).
As an alternative (aforementioned approach is highly recommended), users can access Intel cloud (“devcloud”) with CPU and GPU hardware resources and all hands-on software provided.
Go to https://intelsoftwaresites.secure.force.com/devcloud/oneapi to request devcloud account. Enter your name and e-mail and you will get an email response in minutes with setup instructions. There is a detailed video explaining the process at the URL above.
Follow https://devcloud.intel.com/oneapi/documentation/connect-with-ssh-linux-macos/ to access devcloud after account is created.
Use /data/oneapi_workshop/sc20.tutorial location to access SC20 hands-on materials.
To setup Advisor do following: source /data/oneapi_workshop/sc20.tutorial/advisor_2021.1.1/advisor-vars.sh
NVIDIA NSight Compute Hands-On
For the NVIDIA profiling tools tutorial, users will be provided with accesses to nodes in the cloud which are provisioned with NVIDIA V100 GPUs. Users do not need any hardware other than a computer with an internet connection and a recent browser (Firefox and Chrome recommended). Access to the cloud GPUs will be granted through the NVIDIA Deep Learning Institute Platform. Prior to the event, attendees should create an account on this platform at http://courses.nvidia.com/join (this requires an NVIDIA Developer Zone account, and you will be prompted to create one if you do not already have one). This will require an email address that you can access to confirm your account. On the day of the event, the instructor will provide instructions on how to access the content with your account.
Please also verify that you can use WebSockets over port 80 by visiting http://websocketstest.com/. If you have questions about the technical requirements, please visit https://courses.nvidia.com/troubleshooting.
It is also recommended, but not required, that you download and install the NVIDIA Nsight Systems (https://developer.nvidia.com/nsight-systems) and Nsight Compute (https://developer.nvidia.com/nsight-compute) developer tools on the system you will be using on the day of the event. These tools are available for Linux, Mac, and Windows and are free to download, although require an NVIDIA Developer Zone account (which you should have created above anyway). We will be collecting profile reports on the remote GPUs on the cloud, but having the tools installed locally would allow you to interact with their user interfaces at lower latency than the remote desktop solution that we will use during the event. It is strictly optional, however we recommended it because then you will be better prepared to use these tools on your own after the event.