Life Sciences

HPC Lens for the AWS Well-Architected Framework

Issue link: https://read.uberflip.com/i/1187300

Contents of this Issue

Navigation

Page 37 of 46

Amazon Web Services – HPC Lens AWS Well-Architected Framework Page 34 recommended for HPC applications. Previously, AWS also offered the paravirtual (PV) virtualization type. PV is considered a legacy approach and is no longer supported on current generation instance types. HPCPERF 2: How do you select your operating system and virtualization type? Underlying hardware features: In addition to choosing an AMI, you can further optimize your environment by taking advantage of the hardware features of the underlying Intel processors. There are four primary methods to consider when optimizing the underlying hardware: 1. Advanced processor features 2. Intel Hyper-Threading Technology 3. Processor affinity 4. Processor state control First, HPC applications can greatly benefit from these advanced processor features (for example, Advanced Vector Extensions) and can considerably increase their calculation speeds by simply compiling the software for the Intel architecture. 8 The compiler options for architecture-specific instructions vary by compiler (check the usage guide for your compiler). Second, AWS enables Intel Hyper-Threading Technology, commonly referred to as "hyperthreading," by default. Hyperthreading improves performance for some applications by allowing one process per hyperthread (two processes per core). Other HPC applications benefit by disabling hyperthreading, and it tends to be the preferred environment for HPC applications. Hyperthreading is easily disabled in Amazon EC2. Unless an application has been tested with hyperthreading enabled, it is recommended that hyperthreading be disabled and that processes are launched and individually pinned to cores when running HPC applications. CPU or processor affinity allows process pinning to easily happen. Third, processor affinity can be controlled in a variety of ways. For example, it can be configured at the operating system level (available in both Windows and Linux), set as a compiler flag within the threading library, or specified as an

Articles in this issue

Links on this page

view archives of Life Sciences - HPC Lens for the AWS Well-Architected Framework