<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rob Farber on Medium]]></title>
        <description><![CDATA[Stories by Rob Farber on Medium]]></description>
        <link>https://medium.com/@rmfarber?source=rss-df7598e08f1c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LCkriFSmiR42odC4</url>
            <title>Stories by Rob Farber on Medium</title>
            <link>https://medium.com/@rmfarber?source=rss-df7598e08f1c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:42:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rmfarber/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Heterogeneous Code Performance and Portability Using CUDA to SYCL Migration Tools]]></title>
            <link>https://medium.com/@rmfarber/heterogeneous-code-performance-and-portability-using-cuda-to-sycl-migration-tools-6371be894aa?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6371be894aa</guid>
            <category><![CDATA[sycl]]></category>
            <category><![CDATA[cuda]]></category>
            <category><![CDATA[intel]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nvidia]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Fri, 07 Jul 2023 16:30:07 GMT</pubDate>
            <atom:updated>2023-07-07T16:30:07.397Z</atom:updated>
            <content:encoded><![CDATA[<p>The need for faster time to solution along with meeting customer needs for more power- and cost-efficient computing has made heterogenous computing using both CPUs and GPUs a ubiquitous part of modern computing. The speed and scope of this uptake has been magnified by the extraordinary successes of machine learning and AI in solving complex problems given that the foundational neural network models tend to map beautifully to parallel hardware. The need for heterogenous computing has also created a software challenge. Very simply, customers want to run their software on the best hardware suited to their solution needs, regardless of the target platform, be it a CPU or GPU, or if the data center runs on AMD, Intel, or NVIDIA hardware or a mix of these products.</p><p>To accelerate code compatibility for multiarchitecture systems, the open source <a href="https://github.com/oneapi-src/SYCLomatic">SYCLomatic project</a> includes tools to help developers migrate their CUDA source code to create multiarchitecture C++ with SYCL code. SYCLomatic is part of an industry initiative. However Intel also has the <a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/training/migrate-from-cuda-to-cpp-with-sycl.html#gs.hxodtz">Intel® DPC++ Compatibility Tool</a> in the Intel® oneAPI Base Toolkit, which is based on periodic snapshots from the <a href="https://github.com/oneapi-src/SYCLomatic">SYCLomatic project</a>.</p><p>Historically, Intel notes the Intel® DPC++ Compatibility Tool was created first, then open sourced as the ‘SYCLomatic project.’ These roles have reversed as Intel now bundles the SYCLomatic snapshots into the compatibility tool after testing.<a href="#_edn1">[1]</a> Transitioning to a community open source project broadens the support base and technical contributions to this source-to-source code migration tool. Now the compatibility tool benefits from advancements made by the SYCLomatic community. Thus, the two names will be used interchangeably in this article.</p><p>Thorsten Moeller (senior product manager at Intel) explained the importance of migrating CUDA source code to SYCL, “The idea is to transition GPU users from CUDA to an open computing environment. Due to the vendor-agnostic nature of SYCL, CUDA applications ported to SYCL can run efficiently not only on Intel CPUs and GPUs but also on NVIDIA and AMD GPUs for free as an added benefit. The open source nature of SYCL also opens the door to running on future accelerators, including on FPGAs.”</p><p><strong>The idea is to transition GPU users from CUDA to an open computing environment. Due to the vendor-agnostic nature of SYCL, CUDA applications ported to SYCL can run efficiently not only on Intel CPUs and GPUs, but also on NVIDIA and AMD GPUs for free as an added benefit. The open source nature of SYCL also opens the door to running on future accelerators, including FPGAs.</strong> — Thorsten Moeller</p><p>At the recent Intel investor webinar, Greg Lavender (senior vice president, chief technology officer and general manager of the Software and Advanced Technology Group at Intel Corporation) made the value concrete saying: <a href="https://www.intel.com/content/www/us/en/newsroom/news/four-takeaways-from-intel-investor-webinar.html">SYCLomatic is typically able to migrate about 90%-95% of CUDA source code automatically to SYCL source code</a>, leaving very little for programmers to manually tune.<a href="#_edn2">[2]</a> Even though SYCLomatic greatly eases the migration from CUDA to C++ with SYCL, it should be expected that any major application will need some time after migration to test, tune and validate before retiring a CUDA source code.</p><h3>Multiarchitecture Performance Acceleration</h3><p>In the HPC community, performance is a gating criterion. Moeller noted, “Intel has many success stories where CUDA codes are now running on oneAPI’s SYCL implementation. Benchmarks demonstrate that SYCL code performance on NVIDIA GPUs (and AMD GPUs) is on parity to native CUDA or HIP.” See Figure 1 for representative HPC and AI examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Ep3Ue6nV6I3oktAWIluPJA.png" /><figcaption>Figure 1. CUDA code ported via the SYCLomatic tool to SYCL can perform comparably with CUDA on NVIDIA hardware.<a href="#_edn3"><strong>[3]</strong></a></figcaption></figure><p>Moeller observed that this is just a performance snapshot using the current migration tool as both Intel and the open source SYCLomatic community are actively working to improve performance. “Continuing optimizations are working to generate cleaner and more performant code, and to address the needs of multiple GPU generations and types. For example, Intel is optimizing the runtime for both Intel® Data Center Max Series GPUs and CPUs.”</p><p><strong>Continuing optimizations are working to generate cleaner and more performant code, and to address the needs of multiple GPU generations and types. For example, Intel is optimizing the runtime for both Intel</strong>®<strong>Data Center Max Series GPUs and CPUs.</strong> — Thorsten Moeller</p><h3>Using a Code Migration Workflow</h3><p>The code <a href="https://www.intel.com/content/www/us/en/developer/articles/technical/syclomatic-new-cuda-to-sycl-code-migration-tool.html">migration workflow</a> is straightforward as users can simply run their CUDA source code through the tool to create human readable C++ with SYCL (Figure 2). The tool is designed to assist humans in migrating their CUDA code (currently by translating 90% — 95% of a CUDA code). The readability of the translated code can be assessed through code examples such as those on the <a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html">Code Migration: Before &amp; After</a> section of the compatibility tool site. A simple walkthrough can also be found on <a href="https://www.codeproject.com/Articles/5328712/Using-oneAPI-to-Convert-CUDA-to-SYCL">The Code Project</a><em>. </em>Once the code is migrated to SYCL, it can be compiled and executed by any compiler that implements the <a href="https://www.khronos.org/sycl/">SYCL specification</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*96_rZDIOlu4BFBzKuz2Ueg.png" /><figcaption>Figure 2. CUDA-to-SYCL code migration workflow.</figcaption></figure><p>According to Moeller, the Intel estimate of 90% to 95% automated code migration was based on porting a set of 70 HPC benchmarks and samples, with examples like Rodinia, SHOC, Pennant to SYCL.<a href="#_edn4">[4]</a> Note that after the code is ported, additional tuning per architecture is typically required.</p><p>Rather than relying on a single, estimated number, it is far more accurate to evaluate the experiences of third-party users porting real HPC applications. Moeller highlighted the importance of porting applications such as <a href="https://www.oneapi.io/event-sessions/preparing-namd-for-the-aurora-supercomputer-ai-hpc-2022/">NAMD</a> as discussed in the Developer Summit AI &amp; HPC 2022 video and<a href="https://www.youtube.com/watch?v=OO3b-gWbpSQ"> LAAMPS</a> as discussed in the Intel Newsroom video. (Please click the hyperlinks to view the videos.)</p><p>More success stories can be found in <a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/training/migrate-from-cuda-to-cpp-with-sycl.html">the examples section of the Intel DPC++ Compatibility Tool site</a>. Examples for a variety of other codes abound at <a href="https://codeplay.com/solutions/oneapi/for-cuda/">Codeplay</a> and <a href="https://www.oneapi.io/implementations/">oneapi.io</a>. Following are a couple of videos illustrating the breadth of codes that can be successfully migrated to SYCL including AI, and sparse linear algebra applications:</p><p>· <a href="https://www.youtube.com/watch?v=-yphY7Rtltc">A Comparison of SYCL, OpenCL, CUDA, and OpenMP for Massively Parallel Support Vector Machine Classification on Multivendor Hardware</a></p><p>· <a href="https://www.youtube.com/watch?v=TuR-eMUWR5Q">Porting the Ginkgo Sparse Linear Algebra Library</a></p><h3>Library Compatibility</h3><p>Source-to-source code migration is a big aspect of porting an application from one language to another, but many applications also call libraries that are not available in source form. To address this Moeller noted that the software teams worked hard to create compatible APIs and ensure they are accessible in the compatibility tool, but there is more to be done. In general, the project is constantly improving the automatic migration of more CUDA APIs to the equivalent SYCL language and oneAPI library functions including runtime, math, and neural network domains. There are <a href="https://oneapi-src.github.io/SYCLomatic/dev_guide/api-mapping-status.html">a large number of APIs</a> that are already addressed. <a href="https://oneapi-src.github.io/SYCLomatic/dev_guide/api-mapping-status.html">The CUDA API Migration support status can be viewed here</a>. However, the easiest way to evaluate library compatibility is to try it on your own source code.</p><h3>Productive Computing</h3><p>CUDA to SYCL code migration is not just for scientific and research codes. Code portability, performance and productive programming in the datacenter is a huge reason for moving to SYCL with support for multiarchitecture systems comprising multiple vendor’s architectures (Intel, Nvidia, AMD and more), but there are many AI and HPC codes that fit perfectly on Intel Xeon processors (which have a significance presence in the datacenter market<a href="#_edn5">[5]</a>) along with the newer GPUs (such as Intel® Arc™) See the <a href="https://www.intel.com/content/www/us/en/products/details/discrete-gpus/data-center-gpu.html">Intel® Data Center Flex and Max Series</a> for more information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUi-hSI5hSBf8pL2S50PkA.png" /><figcaption>Figure 3. Inference performance on the Intel Data Center GPU Flex 170 GPU.<a href="#_edn6"><strong>[6]</strong></a></figcaption></figure><p>Greg Lavender made the connection between CUDA and SYCL explicit, “The desire for an open, multivendor, multiarchitecture alternative to (NVIDIA) CUDA is not waning,” Lavender said. “We believe that the industry will benefit from an open, standards-based programming language that everyone can contribute to, collaborate on, is not locked into a particular vendor and can evolve organically based on its members and public requirements.” Avoiding vendor lock-in is reflected in the transition of the compatibility tool to the open source SYCLomatic project. As seen in the <a href="https://www.intel.com/content/www/us/en/developer/platform/data-center-gpu-flex.html#tab-blade-1-0">Software Stack for Flex Series</a>, TensorFlow, PyTorch, and other AI capabilities including CUDA-to-SYCL code migration integrate nicely into the datacenter and the Intel Data Center Flex Series GPU software stack.</p><h3>Summary</h3><p>Source code migration from CUDA to SYCL can be a game changer for many groups who are currently locked into CUDA. Along with migrating to a free and open software ecosystem, customer stories also claim performance, and productivity benefits. Significant effort invested by agencies such as the <a href="https://www.exascaleproject.org/">Exascale Computing Project</a>, which has been working for years to prepare a number of HPC codes to run on Department of Energy (DOE) exascale systems, demonstrates the need for an open, agnostic software ecosystem. DOE supercomputers run GPU and CPU from many vendors including AMD, NVIDIA, and Intel.</p><p>The automated migration of CUDA source code to SYCL has already played an important role in transitioning HPC to this agnostic runtime environment.<a href="#_edn7">[7]</a> <a href="#_edn8">[8]</a>Further, the community model of the open source SYCLomatic project eliminates single vendor/proprietary programming limitations and enables a broad community support for multivendor hardware including NVIDIA, AMD, and Intel.</p><p>SYCLomatic can be downloaded from <a href="https://github.com/oneapi-src/SYCLomatic">GitHub</a>, or a free Intel tested and productized version can be used via the Intel® DPC++ Compatibility Tool in oneAPI and on the <a href="https://www.intel.com/content/www/us/en/developer/tools/devcloud/overview.html">Intel Developer Cloud</a>. The Intel Developer cloud is also free.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and machine learning technology.</em></p><p><a href="#_ednref1">[1]</a> <a href="https://www.intel.com/content/www/us/en/developer/articles/technical/syclomatic-new-cuda-to-sycl-code-migration-tool.html">https://www.intel.com/content/www/us/en/developer/articles/technical/syclomatic-new-cuda-to-sycl-code-migration-tool.html</a></p><p><a href="#_ednref2">[2]</a> <a href="https://www.intel.com/content/www/us/en/newsroom/news/four-takeaways-from-intel-investor-webinar.html">https://www.intel.com/content/www/us/en/newsroom/news/four-takeaways-from-intel-investor-webinar.html</a></p><p><a href="#_ednref3">[3]</a> Testing Date: Performance results are based on testing by Intel as of August 15,2022 and may not reflect all publically available updates. Configuration Details and Workload Setup: Intel® Xeon® Platinum 8360Y CPU @ 2.4 GHz, 2 socket, Hyper Thread On, Turbo On, 256GB Hynix DDR4–3200, ucode 0x000363, GPU Nvidia A100 PCIe 80GB GPU memory, Software: SYCL open arch-compute_80,code=sm80, Represented workloads with Intel optimizations.</p><p><a href="#_ednref4">[4]</a> <a href="https://www.intel.com/content/www/us/en/developer/articles/technical/syclomatic-new-cuda-to-sycl-code-migration-tool.html">https://www.intel.com/content/www/us/en/developer/articles/technical/syclomatic-new-cuda-to-sycl-code-migration-tool.html</a></p><p><a href="#_ednref5">[5]</a> <a href="https://www.statista.com/statistics/735904/worldwide-x86-intel-amd-market-share/">https://www.statista.com/statistics/735904/worldwide-x86-intel-amd-market-share/</a></p><p><a href="#_ednref6">[6]</a> Source: <a href="https://wccftech.com/intel-flex-series-gpus-shipping-now-achieves-up-to-5x-faster-performance-against-nvidia-a10-in-specific-workloads/">https://wccftech.com/intel-flex-series-gpus-shipping-now-achieves-up-to-5x-faster-performance-against-nvidia-a10-in-specific-workloads/</a>. See Jeff McVeigh slides at the end of the article and specifically slide 22.)</p><p><a href="#_ednref7">[7]</a> <a href="https://www.exascaleproject.org/event/auroradpcpp/">https://www.exascaleproject.org/event/auroradpcpp/</a></p><p><a href="#_ednref8">[8]</a> <a href="https://www.exascaleproject.org/event/sycl-dpcpp/">https://www.exascaleproject.org/event/sycl-dpcpp/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6371be894aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Balancing High Bandwidth Memory and Faster Time-To-Solution for Manufacturing]]></title>
            <link>https://medium.com/@rmfarber/balancing-high-bandwidth-memory-and-faster-time-to-solution-for-manufacturing-bd2b4ff7f74e?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd2b4ff7f74e</guid>
            <category><![CDATA[cpu]]></category>
            <category><![CDATA[intel]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[hpc]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Tue, 25 Apr 2023 23:14:19 GMT</pubDate>
            <atom:updated>2023-04-25T23:14:19.227Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Balancing High Bandwidth Memory and Faster Time-To-Solution for Manufacturing</em></strong></p><p>Multiphysics simulations are at the core of modern manufacturing and computer-aided engineering (CAE) because they enable the analysis of multiple, simultaneously acting physical phenomena.<a href="#_edn1">[1]</a> Part of the magic of mathematics is that solvers can operate on many different systems of equations to evaluate the behavior of wildly disparate physical phenomena. Scientists and engineers use these general mathematical tools to address problems in manufacturing including <a href="https://www.exascaleproject.org/highlight/exaam-transforming-additive-manufacturing-through-exascale-simulation/">additive manufacturing</a> (e.g., 3D printing),<a href="#_edn2">[2]</a> <a href="https://www.energy.gov/eere/wind/articles/exawind-supercharges-wind-power-plant-simulations-land-and-sea#:~:text=ExaWind%20is%20a%20marriage%20of,a%20whole%2Dturbine%20simulation%20code.">complex flows in wind farms</a>, <a href="https://docs.nersc.gov/performance/case-studies/chombo-crunch/">carbon sequestration</a>, <a href="https://www.exascaleproject.org/highlight/wdmapp-the-first-simulation-software-in-fusion-history-to-couple-tokamak-core-to-edge-physics/">modeling of plasmas in fusion reactors</a>, and more. Popular solvers can be found in many software frameworks including the popular <a href="https://petsc.org/release/overview/">PETSc</a>, <a href="https://www.openfoam.com/documentation/user-guide/a-reference/a.1-standard-solvers">OpenFOAM</a>, <a href="https://www.exascaleproject.org/helping-large-scale-multiphysics-engineering-and-scientific-applications-achieve-their-goals/">Trillinos</a>, and <a href="https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods">HYPRE</a> projects.</p><p>Nearly all manufacturing and multiphysics simulations are described as large systems of equations which are represented in computer memory in the form of a matrix.<a href="#_edn3">[3]</a> Unfortunately, many matrix operations, particularly those operating on sparse matrices (matrices that have only a few non-zero entries) are memory bandwidth limited. <a href="#_edn4">[4]</a> As the Department of Energy (DOE) Office of Advanced Scientific Computing Research notes, “Sparse matrix computations, which form the computational kernel of many DOE simulation codes, are severely memory bandwidth limited. In the best of circumstances, one cannot achieve more than 15 to 20 percent of the processors’ performance in such computations because the processors are waiting on memory loads for much of the time.”<a href="#_edn5">[5]</a> Thus, <em>increased memory bandwidth translates to faster time-to-solution</em>.</p><p>Now becoming available on processors, high bandwidth memory (HBM) is a gateway technology to faster-time-to-solution with real-world benefits for the manufacturing industry. While the promise of peak performance may entice many with trillions of operations per second (TFlop/s), the reality is that actual performance for most applications ultimately depends on the memory subsystem. According to the HBM2e specification, a single stack can deliver up to 307 GB/s, but some manufacturers including Intel, Samsung and SK Hynix, already exceed this.<a href="#_edn6">[6]</a> The new Intel® Xeon® CPU Max Series processors, for example, can realize more than 16 GB memory capacity per core without having to drop the core count. This can equate to significantly faster time-to-solution on many workloads. As a generic baseline, Intel reports impressive speedups on the HPL and HPCG synthetic benchmarks, and exceeding 5X on the Stream Triad synthetic benchmarks (Figure 1).<a href="#_edn7">[7]</a> In addition, the Intel Max Series CPU cores are designed to work internally and directly with HBM and local DDR5 on the same compute tile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*yrzDlKRXqKT5vJPHm0Lfew.png" /><figcaption>Figure 1. Overall performance increases on the HPL, HPCG, and Stream Traid synthetic benchmarks. [7]</figcaption></figure><h3>Ansys Reflects General Manufacturing Simulation Needs</h3><p>As a leader in commercial multiphysics simulation software, Ansys provides a good example of how to match customer workloads to appropriate hardware due to their large customer base. Their manufacturing customers are working on problems of great social importance such as hydrogen consumption analysis in fuel cells, batteries, electric motor cooling, electrolysis, and more.</p><p>Wim Slagter, Strategic Partnerships Director at Ansys, provides a vision for their customer’s computational future that includes HBM for memory bandwidth limited computations, high memory-capacity nodes for memory capacity limited workloads, and support for both on-premises and cloud computing. He explained, “It is all about performance, and how customers can benefit from their software investment. Ansys performance optimizations are designed to get as much performance as possible out of the hardware platform, be it on-premises or in the cloud, while delivering highly accurate simulation results. Our customers need fast time-to-solution because waiting for simulation results is expensive. A key performance factor requires eliminating as much of the memory bandwidth bottleneck as possible. To measure this, we employ a number of representative customer benchmark models and solver applications.”</p><h3>Hardware Vendors Now Offer a Wealth of Options</h3><p>Hardware vendors also recognize the importance of memory bandwidth, which is why they are rapidly incorporating increased memory bandwidth into their product lines.<a href="#_edn8">[8]</a> This has caused an abundance of product offerings. The <a href="https://www.intel.com/content/www/us/en/newsroom/resources/press-kit-4th-gen-intel-xeon-scalable-processors.html#gs.p2zj2i">recently announced 4th Gen Intel® Xeon® processors</a>, for example, is made up of nearly 50 SKUs <a href="#_edn9">[9]</a> and offers up to 8 channels of DDR5 memory. The <a href="https://www.intel.com/content/www/us/en/newsroom/resources/press-kit-4th-gen-intel-xeon-scalable-processors.html#gs.p2zj2i">4th Gen Intel Xeon processor</a> also offers new support for reduced precision data types, such as FP16 in AVX-512 and BF16 in Intel Advanced Matrix Extensions (Intel AMX) to help software minimize their memory footprint and bandwidth requirement.</p><p>Adding to this abundance of options, Intel <a href="https://www.intc.com/news-events/press-releases/detail/1598/intel-launches-4th-gen-xeon-scalable-processors-max-series">recently announced the Intel Max Series CPUs</a> that support HBM2e memory systems.<a href="#_edn10">[10]</a> Intel is the only current vendor on the market to use as a yardstick in evaluating the impact memory bandwidth on CPU workloads because they offer competitive multi-channel DDR5 memory subsystems plus they are the only vendor to offer a CPU series that uses HBM. Intel notes that the HBM equipped Max Series CPUs provides up to 4.8x better performance compared to the competition on real-world HPC workloads.<a href="#_edn11">[11]</a></p><p>The challenge is that the quest for higher memory bandwidth can be expensive and has to be tempered by a need for memory capacity as well. Big simulations frequently require a large memory capacity, far beyond that of a GPU or the current HBM2e limit of 128 GB per Intel Xeon Max Series dual-socket node. To meet these capacity requirements, customers may opt to run on an 8 or 12 memory channel DDR5 memory subsystem per socket. With the availability of the Max Series CPUs, customers can now opt to deploy HBM memory as a high-speed cache for the slower DDR5 memory. This two-memory approach provides a great way to balance HBM to serve high bandwidth needs and DDR DIMMs to meet capacity needs.</p><h3>Look to the Leaders to Sort All this Out</h3><p>Ansys Fluent is an industry-leading fluid simulation software that is known for its advanced physics modeling capabilities and high accuracy. <a href="#_edn12">[12]</a> Given its broad installed user base, Ansys Fluent acts as a good template to use in adapting to a changing hardware landscape.</p><p>Slagter summarized the current HBM results by noting that “We observed a 2x+ gen-to-gen performance increase on some Ansys Fluent workloads when running on an Intel Max Series processors compared to the 3rd Generation Intel Xeon 8380 processor. In the cloud, we observed up to a 1.6x over the very fast HBv3 Azure virtual machines.” More recent benchmark results (Figure 1) show that the Intel Max Series processors deliver significant speedups on a variety of manufacturing workloads including Ansys Fluent.<a href="#_edn13">[13]</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*EihIrJV5FkXEhf2A02XCDQ.png" /><figcaption>Figure 2. Ansys Fluent results and other manufacturing benchmarks determined by Intel and cross-verified with third-party benchmarks results.<a href="#_edn14"><strong>[14]</strong></a></figcaption></figure><p>These results reflect only part of the picture. Slagter continued, “We want customers to run all their models. The larger the model the greater the memory utilization. I advise our Fluent customers to utilize both DDR5 and HBM systems. Use the DDR5 systems for large capacity (&gt; 128 GB) workloads. Use HBM for the fastest time-to-solution. The Ansys software can make use of both memory capabilities, which gives our customers the flexibility to balance the cost of hardware and software against time to solution benefits and how long their engineers need to wait for results.”</p><p>In conclusion, the availability of high bandwidth memory now offers more flexibility for manufacturing workloads. For more information, see , “<a href="https://download.intel.com/newsroom/2023/data-center-hpc/4th-Gen-Xeon-Customer-Fact-Sheet.pdf">Customers Showcase Adoption of 4th Gen Intel Xeon Scalable Processors and Max Series CPUs and GPUs</a>”.</p><p><em>Rob Farber is a technology consultant and author with an extensive background in HPC and machine learning technology.</em></p><p><a href="#_ednref1">[1]</a> <a href="https://prace-ri.eu/wp-content/uploads/using_state-of-the-art_sparse_matrix_optimizations_for_accelerating_the_performance_of_multiphysics_simulations.pdf">https://prace-ri.eu/wp-content/uploads/using_state-of-the-art_sparse_matrix_optimizations_for_accelerating_the_performance_of_multiphysics_simulations.pdf</a></p><p><a href="#_ednref2">[2]</a> <a href="https://www.exascaleproject.org/highlight/petsc-tao-how-to-create-maintain-and-modernize-a-numerical-toolkit-throughout-decades-of-supercomputer-innovations/">https://www.exascaleproject.org/highlight/petsc-tao-how-to-create-maintain-and-modernize-a-numerical-toolkit-throughout-decades-of-supercomputer-innovations/</a></p><p><a href="#_ednref3">[3]</a> <a href="https://www.exascaleproject.org/highlight/sundials-and-hypre-exascale-capable-libraries-for-adaptive-time-stepping-and-scalable-solvers/">https://www.exascaleproject.org/highlight/sundials-and-hypre-exascale-capable-libraries-for-adaptive-time-stepping-and-scalable-solvers/</a></p><p><a href="#_ednref4">[4]</a> See references 1 and 2.</p><p><a href="#_ednref5">[5]</a> <a href="https://science.osti.gov/-/media/ascr/pdf/program-documents/docs/reportExtremeScaleSolvers2012.pdf">https://science.osti.gov/-/media/ascr/pdf/program-documents/docs/reportExtremeScaleSolvers2012.pdf</a></p><p><a href="#_ednref6">[6]</a> <a href="https://en.wikipedia.org/wiki/High_Bandwidth_Memory">https://en.wikipedia.org/wiki/High_Bandwidth_Memory</a></p><p><a href="#_ednref7">[7]</a> <strong>HPL</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s DDR4), BIOS Version SE5C620.86B.01.01.0006.2207150335, ucode revision=0xd000375, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, HPL from MKL_v2022.1.0</p><p>Intel® Xeon® 8480+: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, Total Memory 512 GB (16x32GB 4800MT/s, DDR5 Dual-Rank), BIOS Version SE5C7411.86B.8713.D03.2209091345, ucode revision=0x2b000070, Ubuntu 22.04.1 LTS, Linux version 5.15.0–50-generic, HPL from MKL_v2022.1.0</p><p>Intel® Xeon® Max 9480: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, HPL from MKL_v2022.1.0</p><p><strong>HPCG</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s DDR4), BIOS Version SE5C620.86B.01.01.0006.2207150335, ucode revision=0xd000375, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, HPCG from MKL_v2022.1.0</p><p>Intel® Xeon® 8480+: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, Total Memory 512 GB (16x32GB 4800MT/s, DDR5 Dual-Rank), BIOS Version SE5C7411.86B.8713.D03.2209091345, ucode revision=0x2b000070, Ubuntu 22.04.1 LTS, Linux version 5.15.0–50-generic, HPCG from MKL_v2022.1.0</p><p>Intel® Xeon® Max 9480: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, HPCG from MKL_v2022.1.0</p><p><strong>Stream Triad</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s DDR4), BIOS Version SE5C620.86B.01.01.0006.2207150335, ucode revision=0xd000375, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, Stream v5.10</p><p>Intel® Xeon® 8480+: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, SNC4, Total Memory 512 GB (16x32GB 4800MT/s, DDR5), BIOS Version SE5C7411.86B.8713.D03.2209091345, ucode revision=0x2b000070, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, Stream v5.10</p><p>Intel® Xeon® Max 9480: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, Stream v5.10</p><p><a href="#_ednref8">[8]</a> <a href="https://www.tomshardware.com/news/intel-launches-sapphire-rapids-fourth-gen-xeon-cpus-and-ponte-vecchio-max-gpu-series">https://www.tomshardware.com/news/intel-launches-sapphire-rapids-fourth-gen-xeon-cpus-and-ponte-vecchio-max-gpu-series</a></p><p><a href="#_ednref9">[9]</a> <a href="https://wccftech.com/intel-4th-gen-xeon-cpus-official-sapphire-rapids-up-to-60-cores-8-socket-scalability-350w-tdp-17000-usd/">https://wccftech.com/intel-4th-gen-xeon-cpus-official-sapphire-rapids-up-to-60-cores-8-socket-scalability-350w-tdp-17000-usd/</a></p><p><a href="#_ednref10">[10]</a> <a href="https://www.intel.com/content/www/us/en/newsroom/news/introducing-intel-max-series-product-family.html#gs.p11aa3">https://www.intel.com/content/www/us/en/newsroom/news/introducing-intel-max-series-product-family.html#gs.p11aa3</a></p><p><a href="#_ednref11">[11]</a> <a href="https://www.intel.com/content/www/us/en/newsroom/news/introducing-intel-max-series-product-family.html#gs.p11aa3">https://www.intel.com/content/www/us/en/newsroom/news/introducing-intel-max-series-product-family.html#gs.p11aa3</a> (footnote #1: Visit the Supercomputing 22 page on intel.com/performance index for workloads and configurations. Results may vary.</p><p><a href="#_ednref12">[12]</a> <a href="https://www.ansys.com/resource-center/webinar/introduction-to-ansys-fluent">https://www.ansys.com/resource-center/webinar/introduction-to-ansys-fluent</a></p><p><a href="#_ednref13">[13]</a> <strong>Siemens Simcenter Star-CCM+ (civil, HlMach10AoA10Sou, kcs_with_physics, lemans_poly_17m.amg, reactor, TurboCharger7M)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 25-Oct-22. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s, Dual-Rank), BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode revision=0xd000270, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, StarCCM+ 17.04.007, reactor 9m @ 20 iterations, lemans_poly_17m @ 20 iterations, civil 20m @ 20 iterations, TurboCharger7M @ 20 iterations, HlMach10AoA10Sou 6.4m @ 20 iterations, kcs_with_physics 3m @ 20 iterations</p><p>Intel® Xeon® 8480+: Test by Intel as of 14-Sep-22. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, Total Memory 1024 GB (16x64GB 4800MT/s, Dual-Rank), BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode revision=0xaa000090, CentOS Stream 8, Linux version 4.18.0–394.el8.x86_64, StarCCM+ 17.04.007, reactor 9m @ 20 iterations, lemans_poly_17m @ 20 iterations, civil 20m @ 20 iterations, TurboCharger7M @ 20 iterations, HlMach10AoA10Sou 6.4m @ 20 iterations, kcs_with_physics 3m @ 20 iterations</p><p>Intel® Xeon® Max 9480: Test by Intel as of 14-Sep-22. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, StarCCM+ 17.04.007, reactor 9m @ 20 iterations, lemans_poly_17m @ 20 iterations, civil 20m @ 20 iterations, TurboCharger7M @ 20 iterations, HlMach10AoA10Sou 6.4m @ 20 iterations, kcs_with_physics 3m @ 20 iterations</p><p><strong>Ansys LS-DYNA (ODB-10M)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 10/7/2022. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s DDR4), BIOS Version SE5C620.86B.01.01.0006.2207150335, ucode revision=0xd000375, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, LS-DYNA R11</p><p>Intel® Xeon® 8480+: Test by Intel as of ww41’22. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, SNC4, Total Memory 512 GB (16x32GB 4800MT/s, DDR5), BIOS Version SE5C7411.86B.8713.D03.2209091345, ucode revision=0x2b000070, Rocky Linux 8.6, Linux version 4.18.0–372.26.1.el8_6.crt1.x86_64, LS-DYNA R11</p><p>Intel® Xeon® Max 9480: Test by Intel as of ww36’22. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, LS-DYNA R11</p><p><strong>Ansys Fluent (pump_2m, sedan_4m, rotor_3m, aircraft_wing_14m, combustor_12m, exhaust_system_33m)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 08/24/2022. 1-node, 2x Intel® Xeon® 8380, HT ON, Turbo ON, Quad, Total Memory 256 GB, BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode 0xd000270, Rocky Linux 8.6, kernel version 4.18.0–372.19.1.el8_6.crt1.x86_64, Ansys Fluent 2022R1</p><p>Intel® Xeon® 8480+: Test by Intel as of 09/02/2022. 1-node, 2x Intel® Xeon® 8480+, HT ON, Turbo ON, SNC4, Total Memory 512 GB, BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode 0xaa0000a0, CentOS Stream 8, kernel version 4.18.0–365.el8.x86_64, Ansys Fluent 2022R1</p><p>Intel® Xeon® Max 9480: Test by Intel as of 08/31/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo ON, SNC4, Total Memory 128 GB (HBM2e at 3200 MHz), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode 2c000020, CentOS Stream 8, kernel version 5.19.0-rc6.0712.intel_next.1.x86_64+server, Ansys Fluent 2022R1</p><p><strong>Ansys Mechanical (V22iter-1, V22iter-2, V22iter-3, V22iter-4, V22direct-1, V22direct-2, V22direct-3)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 08/24/2022. 1-node, 2x Intel® Xeon® 8380, HT ON, Turbo ON, Quad, Total Memory 256 GB, BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode 0xd000270, Rocky Linux 8.6, kernel version 4.18.0–372.19.1.el8_6.crt1.x86_64, Ansys Mechanical 2022 R2</p><p>Intel® Xeon® 8480+: Test by Intel as of 09/02/2022. 1-node, 2x Intel® Xeon® 8480+, HT ON, Turbo ON, SNC4, Total Memory 512 GB DDR5 4800 MT/s, BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode 0xaa0000a0, CentOS Stream 8, kernel version 4.18.0–365.el8.x86_64, Ansys Mechanical 2022 R2</p><p>Intel® Xeon® Max 9480: Test by Intel as of 08/31/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo ON, SNC4, Total Memory 512 GB DDR5 4800 MT/s, 128 GB HBM in Cache Mode (HBM2e at 3200 MHz), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode 2c000020, CentOS Stream 8, kernel version 5.19.0-rc6.0712.intel_next.1.x86_64+server, Ansys Mechanical 2022 R2</p><p><strong>Altair AcuSolve (HQ Model)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 09/28/2022. 1-node, 2x Intel® Xeon® 8380, HT ON, Turbo ON, Quad, Total Memory 256 GB, BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode 0xd000270, Rocky Linux 8.6, kernel version 4.18.0–372.19.1.el8_6.crt1.x86_64, Altair AcuSolve 2021R2</p><p>Intel® Xeon® 6346: Test by Intel as of 10/08/2022. 4-nodes connected via HDR-200, 2x Intel® Xeon® 6346, 16 cores, HT ON, Turbo ON, Quad, Total Memory 256 GB, BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode 0xd000270, Rocky Linux 8.6, kernel version 4.18.0–372.19.1.el8_6.crt1.x86_64, Altair AcuSolve 2021R2</p><p>Intel® Xeon® 8480+: Test by Intel as of 09/28/2022. 1-node, 2x Intel® Xeon® 8480+, HT ON, Turbo ON, SNC4, Total Memory 512 GB, BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode 0xaa0000a0, CentOS Stream 8, kernel version 4.18.0–365.el8.x86_64, Altair AcuSove 2021R2</p><p>Intel® Xeon® Max 9480: Test by Intel as of 10/03/2022. 1-node, 2x Intel® Xeon® Max 9480, HT ON, Turbo ON, SNC4, Total Memory 128 GB (HBM2e at 3200 MHz), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode 2c000020, CentOS Stream 8, kernel version 5.19.0-rc6.0712.intel_next.1.x86_64+server, Altair AcuSolve 2021R2</p><p><strong>OpenFOAM (Geomean of Motorbike 20M, Motorbike 42M)</strong></p><p>Intel® Xeon® 8380: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® 8380 CPU, HT On, Turbo On, Total Memory 256 GB (16x16GB 3200MT/s, Dual-Rank), BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode revision=0xd000270, Rocky Linux 8.6, Linux version 4.18.0–372.19.1.el8_6.crt1.x86_64, OpenFOAM 8, Motorbike 20M @ 250 iterations, Motorbike 42M @ 250 iterations</p><p>Intel® Xeon® 8480+: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® 8480+, HT On, Turbo On, Total Memory 512 GB (16x32GB 4800MT/s, Dual-Rank), BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode revision=0xaa0000a0, CentOS Stream 8, Linux version 4.18.0–365.el8.x86_64, OpenFOAM 8, Motorbike 20M @ 250 iterations, Motorbike 42M @ 250 iterations</p><p>Intel® Xeon® Max 9480: Test by Intel as of 9/2/2022. 1-node, 2x Intel® Xeon® Max 9480, HT On, Turbo On, SNC4, Total Memory 128 GB (8x16GB HBM2 3200MT/s), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode revision=0x2c000020, CentOS Stream 8, Linux version 5.19.0-rc6.0712.intel_next.1.x86_64+server, OpenFOAM 8, Motorbike 20M @ 250 iterations, Motorbike 42M @ 250 iterations.</p><p><a href="#_ednref14">[14]</a> System configurations:</p><p>· <strong>SPR-HBM B2</strong>: Test by Intel as of 08/31/2022. 1-node, 2x Intel® Xeon® Sapphire Rapids Plush HBM (Family 6, Stepping 6), 112 cores, HT ON, Turbo ON, SNC4, Total Memory 128 GB (HBM2e at 3200 MHz), BIOS Version SE5C7411.86B.8424.D03.2208100444, ucode 2c000020, CentOS Stream 8, kernel version 5.19.0-rc6.0712.intel_next.1.x86_64+server, Ansys Fluent 2022R1</p><p>· <strong>SPR-SP E3</strong>: Test by Intel as of 09/02/2022. 1-node, 2x Intel® Xeon® 8480+ Sapphire Rapids SP, 112 cores, HT ON, Turbo ON, SNC4, Total Memory 512 GB, BIOS Version EGSDCRB1.86B.0083.D22.2206290535, ucode 0xaa0000a0, CentOS Stream 8, kernel version 4.18.0–365.el8.x86_64, Ansys Fluent 2022R1</p><p>· <strong>ICX 8380</strong>: Test by Intel as of 08/24/2022. 1-node, 2x Intel® Xeon® 8380, 80 cores, HT ON, Turbo ON, Quad, Total Memory 256 GB, BIOS Version SE5C6200.86B.0020.P23.2103261309, ucode 0xd000270, Rocky Linux 8.6, kernel version 4.18.0–372.19.1.el8_6.crt1.x86_64, Ansys Fluent 2022R1</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd2b4ff7f74e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Why AI and Analytics Have to Run on HPC Clusters]]></title>
            <link>https://medium.com/@rmfarber/understanding-why-ai-and-analytics-have-to-run-on-hpc-clusters-66a6eb1ebeb1?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/66a6eb1ebeb1</guid>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[intel]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Fri, 03 Jan 2020 03:54:49 GMT</pubDate>
            <atom:updated>2020-01-03T03:54:49.237Z</atom:updated>
            <content:encoded><![CDATA[<p><em>AI and HPC are converging to become part and parcel of each other.</em></p><p><em>This article reflects my putting to words the thoughts of Esther Baldwin, an AI strategist at Intel. I’d like to thank Esther for making this article possible.</em></p><p><em>We are lucky to get insight into the inner thinking of one so closely involved in the AI technology development thought process at Intel, a premier technology vendor with significant global impact and a vendor who will have a dramatic impact on how the amalgam of AI and HPC technologies will coalesce.</em></p><p>Data science is now a first-class citizen in the HPC data center, in the cloud, and on the workstation. The converse is also true, High Performance Computing (HPC) is now a high priority for data scientists who confront issues of time-to-model when training, inference latency, and of course, the ever present need to manipulate large amounts of data. HPC clusters must support these workloads, and vendor support now means that HPC clusters can be pooled to increase utilization and reduce capital and operating costs.</p><p>When done right, the convergence of HPC, AI, and High Performance Data Analytics (HPDA) really does reflect a golden age for data sciences where people expect to run with supercomputer performance on their workstations, in the cloud, and — as discussed in this article — on their local clusters. Workload optimized servers for AI provide optimized software stacks that run industry-standard tools like TensorFlow with support for vectorized low-precision arithmetic and AVX-512 floating point operations. Higher core count processors deliver greater parallelism in high memory bandwidth configurations. In combination, these capabilities eliminate the need for accelerators for many organizations.</p><p>When done right, this also is a golden age of HPC as well, as the mass adoption of AI has introduced new thinking and created a new ecosystem of industry-standard tools and workload-optimized, high performance hardware. Cutting edge libraries like the <a href="http://www.nlafet.eu/working-notes/">NLAFET reduced-precision BLAS</a> is affecting how the HPC community views numerical precision. HPC applications also run faster using capabilities such as expanded vector instruction sets that include AVX512 and VNNI (Vector Neural Network Instructions). Further, cloud adoption in the HPC world has added a level of flexibility for users and administrators with regards to resource utilization and accessibility.</p><p>As expected, the devil is in the details to ‘get it right’ and realize these golden age scenarios.</p><p>Succinctly, running AI and HPDA on HPC systems is unavoidable, which means both data science and HPC organizations must integrate their computational platforms to support HPC-AI-HPDA workloads. Otherwise, expect to incur significant CAPEX (capital) and OPEX (operating) expenditures as well as significant user pain.</p><h3>Look to the costs of running separate clusters to determine the direct value for your organization.</h3><p>Experience has shown that running multiple, siloed clusters as shown in figure 3 below adds significantly to the capital expenditure (CAPEX) associated with purchasing and deploying the systems in the first place, as well as the operating expenditure (OPEX) to keep them running.<a href="#_edn1">[i]</a></p><p>For example, most organizations that need infrastructure for deep learning networks don’t run these workloads on a 24x7 basis. The part-time nature of these workloads means that the special-purpose infrastructure often stands idle and may require rarefied skills to support, both of which can be costly to the business. In many cases, the performance of modern Intel Xeon processors used in most servers eliminates the need for specialized accelerators for AI. Overall, basing your clusters on general-purpose servers it can the most efficient way to support a wide mix of workloads.</p><p>To support all types of workloads for its many researchers, Dr. Thomas Steinke, Head of ZIB Supercomputing in Germany, sums up the procurement of their new nearly quarter of a million processor system based on the just announced 2nd Generation Intel Xeon Scalable processors, “Although we looked at accelerators, including GPUs, as part of the procurement process, there was no advantage with regards to obtaining the highest performance in using GPUs or other accelerators in the system.”.</p><h3>The AI, HPC, cloud convergence is unavoidable</h3><p>Currently AI and cloud computing are both acting as massive drivers for innovation. In combination, users are seeing a rapid maturation of cloud- and cluster-based software and hardware ecosystems. The trick is to give users access to these tools and new technologies without decimating existing infrastructure and budgets. Happily, vendor support for a unified computing based on pooled clusters is now a reality.</p><h3>The AI and Data Analytics mass driver</h3><p>In a nutshell, the huge growth in electronically analyzable data coupled with a large, accessible open-source ecosystem of industry-standard AI and data analytics tools lets users work with data in ways that has transformed the computer industry and created a new era in HPC. The following figure illustrates the breadth of adoption of AI and HPDA across a number of industries and market segments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*AfC1C29b_RAJVlbm2nmNqA.png" /><figcaption>Figure 1: Adoption of AI across verticals</figcaption></figure><p>The impact on computing has been substantial as reflected in studies such as one by Narrative Science which reports that 61% of study respondents are currently implementing AI, with predictive analytics as the most widely used type of AI-powered solution.<a href="#_edn2">[ii]</a> Similarly, AI continues to become more important to the enterprise; MarketWatch* estimates growth of the global AI market at a compound annual growth rate of 36% through 2024.<a href="#_edn3">[iii]</a></p><p>Trish Damkroger, Intel Data Center vice president, summarizes this impact by stating, “Supercomputers are the secret weapon of major industries from transportation, banking, to drug discovery”.</p><p><strong>Today supercomputers are the secret weapon of major industries from transportation, banking, to drug discovery — Trish Damkroger, Intel Data Center vice president</strong></p><h3>Understanding the balance between HPC Cloud computing and Cloud</h3><p>Cloud computing is now a mass market driver in computing. In particular, the public cloud has garnered much media attention as it empowers a huge mass audience of SMBs (Small Medium Businesses) and small research teams with supercomputer class performance. For example, a Clemson research team recently utilized 1.1 million vCPUs on Amazon EC2 to study how human language is processed by computers. <a href="#_edn4">[iv]</a> Clemson has recently expanded this milestone to <a href="https://cloud.google.com/blog/topics/hpc/clemson-experiment-uses-2-1-million-vcpus-on-google-cloud">2.14 million vCPUs</a>.</p><h3>The impact of AI</h3><p>AI has made a large impact on computational hardware, as discussed in this white paper, <a href="https://www.intel.com/content/www/us/en/high-performance-computing/running-ai-and-analytics-on-hpc-clusters-brief.html">The Case for Running AI and Analytics on HPC Clusters</a>. The data intensive nature of AI workloads and need to run them in HPC environments mean that vendors now speak in terms of “building blocks” that include processors, accelerators, fast storage and networking building blocks plus simulation and modeling-focused tools and optimization.</p><p>Many vendors now sell workload-optimized servers as building blocks that simplify cluster configuration and ensure performance. These servers are pre-validated to ensure efficient operation given:</p><p>· Processor and accelerator configuration</p><p>· Scalable networking capability that supports AI and HPC</p><p>· Scalable storage for data intensive workloads</p><p>· Tool and library configurations</p><p>· Provide upgrade paths to new technologies including accelerators including dedicated neural network hardware (like the Intel Neural Processor) as well as FPGAs.</p><h3>The ever-increasing impact of cloud</h3><p>Public access to now makes massive “secret weapon” supercomputing resources available to users. The public cloud is changing profitability for cloud service providers.</p><p>According to Forbes, the cloud profit model has recently undergone a seismic shift from companies that sell components for public and private clouds to companies that service customers. “Five years ago, nearly all profits from cloud went to companies that sold the components to build public and private clouds. Profits today are four times greater than in 2012, and cloud service providers that sell to end customers now command 20% of total profits”. <a href="#_edn5">[v]</a></p><h3>Even with cloud, local compute is still a mainstay</h3><p>While cloud has built user expectations, Damkroger observes, “It still stands that if a supercomputer is utilized over 80%, then on-premises hardware is still the most cost-effective means of providing HPC resources”.</p><p><strong>It still stands that if a supercomputer is utilized over 80%, then on-premises hardware is still the most cost-effective means of providing HPC resources — Damkroger</strong></p><h3>Consider the public cloud as your testbed for technology innovation</h3><p>The combination of readily accessible resources and a mass market has made cloud a technology leader as each cloud service provider competes for user dollars.</p><p>This makes the public cloud an excellent planning and evaluation resource that organizations can exploit to gain hard information about what technologies and software tools they need to procure and deploy in the future. Dan Stanzione (Executive Director at TACC) summarized this nicely when he stated at SC18, “Giving users access to the cloud means they can experiment with the latest architectures as cloud providers are deploying those all the time.” <a href="#_edn6">[vi]</a></p><h3>The ground zero impact — expect significant retooling</h3><p>The cumulative impact of these drivers is bringing about a massive retooling in the data center. Server investment levels and growth are projected to increase significantly to support HPC-AI-HPDA workloads through 2021.<a href="#_edn7">[vii]</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*slCD5-MM3nHs7ZVln7Vqsg.png" /><figcaption>Figure 2: Projected server investment and growth supporting HPC-AI-HPDA through 2021<a href="#_edn8"><strong>[viii]</strong></a></figcaption></figure><h3>Integrated infrastructure rather than piece-meal</h3><p>Unfortunately, many businesses that run on-premises hardware incorrectly adopt AI and HPDA as distinct entities. This leads to siloed clusters that suffer from underutilization and can exacerbate user dissatisfaction due to long wait times in job queues and for data transfer between the silos. Instead, it is much better to pool these clusters together to run as a unified environment as illustrated in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jvununf5cvf-cVPIJrlCiQ.png" /><figcaption>Figure 3: Siloed versus unified cluster architecture for simulation and modeling, AI, and analytics workloads</figcaption></figure><p>This is where the mass convergence of AI and HPDA with HPC is paying off for the consumer as vendors are now supporting workload optimized systems that can be pooled together by a software resource manager. The end result maximizes the value of existing resources because the resource manager, not humans, works 24/7 to keep the hardware busy. Meanwhile, a unified architecture of pooled servers also meets overall business needs as illustrated below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjI1PZlGs1C9ddLbGEnx_Q.png" /><figcaption>Figure 4: Motivation for AI and HPC convergence</figcaption></figure><h3>Resource management is core to efficiency</h3><p>As discussed in the brief, <a href="https://www.intel.com/content/www/us/en/high-performance-computing/hpc-workloads-on-a-common-platform-brief.html">Supporting Simulation and Modeling, AI, and Analytics on a Common Platform</a>, a unified cluster architecture optimizes the ability to manage multiple workflows holistically. This boils down to providing a few essential changes to the software stack as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lLUeMiyLj1v1Lj331TP_OQ.png" /><figcaption>Figure 5: A unified architecture</figcaption></figure><h3>Key component: Unified job scheduling</h3><p>The unified cluster manager is a necessary and critical component to unifying the data within the pooled clusters. In short, use a vendor-supported, industry resource manager to run jobs on all your systems — regardless if the jobs are managed on the local cluster by a traditional batch-oriented HPC scheduler or via a private cloud framework like Apache Mesos. To manage and optimize distributed applications, services, and big data frameworks — even across a WAN on geographically distance clusters — many companies use the Univa Grid Engine* or the open-source Magpie* for SLURM.</p><h3>Key component: Reducing brittleness and data movement via a unifying storage abstraction</h3><p>Without a unified view of the data, the system becomes brittle due to human error (such as incorrect path names in the scripts that access data) or spends inordinate amounts of time moving data between clusters. One solution many vendors recommend to provide a unified storage abstraction is the <a href="https://www.alluxio.org/overview/storage-unification">open-source Alluxio storage abstraction software</a>.</p><h3>Summary</h3><p>Many organizations incorrectly adopt AI and HPDA as distinct entities which leads to underutilization of their clusters and perpetuates user dissatisfaction due to issues such as longer job queues (wall time). To avoid this, we point out that vendors are recognizing the need and providing solutions so customers can purchase and run optimized servers that can be pooled together to save (or potentially eliminate) capital expenditures and reduce OPEX costs.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and in developing machine learning technology that he applies at national labs and commercial organizations. Rob can be reached at </em><a href="/service/mailto:info@techenablement.com">info@techenablement.com</a><em>.</em></p><p><a href="#_ednref1">[i]</a> <a href="https://www.intel.com/content/www/us/en/high-performance-computing/hpc-workloads-on-a-common-platform-brief.html">https://www.intel.com/content/www/us/en/high-performance-computing/hpc-workloads-on-a-common-platform-brief.html</a></p><p><a href="#_ednref2">[ii]</a> . Outlook on Artificial Intelligence in the Enterprise 2018. Narrative Science <a href="https://medium.com/@narrativesci/2018-outlook-on-artificial-intelligence-b1b63a7386f4">https://medium.com/@narrativesci/2018-outlook-on-artificial-intelligence-b1b63a7386f4</a></p><p><a href="#_ednref3">[iii]</a> <em>Artificial Intelligence Market to Rise at Spectacular CAGR of 36.10% During 2016–2024, Players in End-use Industries Leverage its Potential to Automate Processes</em> — TMR. MarketWatch, August 16, 2018, <a href="https://www.marketwatch.com/press-release/artificial-intelligence-market-to-rise-at-spectacular-cagr-of-3610-during-2016-2024-players-in-end-useindustries-leverage-its-potential-to-automate-processes---tmr-2018-08-16">https://www.marketwatch.com/press-release/artificial-intelligence-market-to-rise-at-spectacular-cagr-of-3610-during-2016-2024-players-in-end-useindustries-leverage-its-potential-to-automate-processes---tmr-2018-08-16</a></p><p><a href="#_ednref4">[iv]</a> <a href="https://aws.amazon.com/blogs/aws/natural-language-processing-at-clemson-university-1-1-million-vcpus-ec2-spot-instances/">https://aws.amazon.com/blogs/aws/natural-language-processing-at-clemson-university-1-1-million-vcpus-ec2-spot-instances/</a></p><p><a href="#_ednref5">[v]</a> <a href="https://www.forbes.com/sites/baininsights/2017/03/16/adapting-to-the-clouds-mainstream-future">https://www.forbes.com/sites/baininsights/2017/03/16/adapting-to-the-clouds-mainstream-future</a></p><p><a href="#_ednref6">[vi]</a> Cloud is one component in TACC’s strategy for the Frontera supercomputer, which will be the fastest system at any U.S. university and will be one of the most powerful supercomputers in the world.</p><p><a href="#_ednref7">[vii]</a> Analyst Report, The Business Value of Leading-Edge High Performance Computing. Hyperion Research, 2017, <a href="https://hpe.lookbookhq.com/c/the-business-value-p?x=1aqP6M">https://hpe.lookbookhq.com/c/the-business-value-p?x=1aqP6M</a></p><p><a href="#_ednref8">[viii]</a> <a href="https://www.forbes.com/sites/baininsights/2017/03/16/adapting-to-the-clouds-mainstream-future">https://www.forbes.com/sites/baininsights/2017/03/16/adapting-to-the-clouds-mainstream-future</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66a6eb1ebeb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reduced Precision Math Increases Datacenter Value]]></title>
            <link>https://medium.com/@rmfarber/reduced-precision-math-increases-datacenter-value-9e21124cc828?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e21124cc828</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cpu]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[enterprise-technology]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Mon, 09 Dec 2019 18:50:10 GMT</pubDate>
            <atom:updated>2019-12-09T18:50:10.694Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Rob Farber</em></p><p>It’s no surprise that AI models such as artificial neural networks (ANN) don’t need high precision arithmetic operations. One only has to look at biological brains to understand that Mother Nature does not require 32- or 64-bits of arithmetic precision. What is surprising is how quickly and pervasively reduced precision arithmetic has been adopted by vendors to speed applications that use those valuable ANN inference operations that comprise the core of many enterprise applications. Reduced-precision math is a feature that is becoming more important in generating value for enterprise customers and <a href="https://www.enterpriseai.news/2019/08/19/translating-ai-and-storage-innovations-into-business-value-innovate-or-die/">to put more and more data into the hands of decision makers</a>. <a href="#_edn1">[i]</a></p><p>Vendors have capitalized on the 4x performance speedup reduced-precision arithmetic to speed AI applications to make their products stand out in the market. This fits with the recognition that <a href="https://youtu.be/XS7U2W65BF8">the impact of AI will be “Everywhere”</a> which encompasses changes to data center hardware, software, application workloads, node design, and the nearly ubiquitous commercial application of data-intensive high-performance data analytics (HPDA).</p><p>Even with technical realities such as rescaling that make a 4x performance increase with lower precision more of a theoretical limit rather than a commonly observed speedup, market visibility for reduced-precision has been intense and fast-moving as illustrated by wide-spread optimized hardware instantiations in everything from GPUs to the latest generation CPUs. Naveen Rao (Intel VP and GM, Artificial Intelligence Products Group) notes that Intel is working to address the needs of AI everywhere in the enterprise with reduced-precision CPU capabilities like <a href="https://www.intel.ai/intel-deep-learning-boost/#gs.b8vhj2">DL boost</a>, “To get to a future state of ‘AI everywhere,’ we’ll need to address the crush of data being generated and ensure enterprises are empowered to make efficient use of their data, processing it where it’s collected when it makes sense and making smarter use of their upstream resources. Data centers and the cloud need to have access to performant and scalable general purpose computing and specialized acceleration for complex AI applications.</p><p><strong>To get to a future state of ‘AI everywhere,’ we’ll need to address the crush of data being generated and ensure enterprises are empowered to make efficient use of their data, processing it where it’s collected when it makes sense and making smarter use of their upstream resources. Data centers and the cloud need to have access to performant and scalable general purpose computing and specialized acceleration for complex AI applications. — Naveen Rao, Intel VP and GM, Artificial Intelligence Products Group</strong></p><h3>The reason to adopt: reduced-precision makes memory more effective</h3><p>Reduced-precision makes memory more effective in terms of capacity and ability to move information. The caveat is that numerical accuracy becomes a factor in the decision of when and how to use reduced precision.</p><p>Looking at a number of data center use cases (illustrated below), we can clearly see that ANN architectures have rapidly grown in terms of size and complexity to become, in some cases, truly huge. The green oval representing currently accepted AI benchmarks compared to the data center use cases illustrates the rapidity of growth in terms of ANN parameters vs input and how enterprise use has outpaced the standard AI benchmarks. This increase in size and complexity (along with a corresponding need to preserve high performance) has contributed to the rapid acceptance of reduced-precision arithmetic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HvYsssfTPyx90CApohncsw.png" /><figcaption>Figure 1: Data center use cases (Source Intel)</figcaption></figure><h3>Obsolescence due to large AI memory requirements</h3><p>The shift in AI towards big memory ANNs is striking with projects such as the Google project that uses 4.9 <em>billion</em> ANN parameters as will be discussed further below.</p><p>Large memory is clearly a must as a single copy of the ANN parameters in FP32 representation exceeds the 16 GB memory capacity of Intel coprocessors and NVIDIA accelerators sold just a few years ago. Similarly, the upper y-axis show that oil &amp; gas plus medical applications stress and exceed the memory capacity of most AI acceleration devices with 10’s to 100’s of gigabytes of input data.</p><p>These are two of many reasons why the introduction of terabyte capacity augmented-memory computational nodes that can deliver cost-effect nanosecond access and tens of gigabytes per second of bandwidth <a href="#_edn2">[ii]</a> is so exciting. Succinctly “real memory for real performance” is now an AI catchphrase and provides cautionary tale when procuring limited memory AI accelerators.</p><p>CPU vendors are highlighting the demands of AI on memory capacity with reduced-precision BF16 and INT8 vector instructions and by stressing the generality of <a href="https://en.wikipedia.org/wiki/MIMD">MIMD</a>-based CPUs vs. <a href="https://en.wikipedia.org/wiki/SIMD">SIMD</a>-based accelerators. (MIMD devices can run all computational workloads. SIMD imposes some limitation on the workloads that can be processed. Hence they are referred to as accelerators.) As Rao stated, “Data centers and the cloud need to have access to performant and scalable general purpose computing and specialized acceleration for complex AI applications”.</p><h3>When reduced precision can work</h3><p>In a nutshell, reduced precision works for computations that are able to tolerate the smaller dynamic range that can be stored in INT8 and bfloat16 numbers. ANNs are extremely good at operating in noisy computational environments. Intuitively this makes sense as biological brains are considered noisy, but it is easy to find papers discussing the robustness of ANNs to noisy computations. <a href="#_edn3">[iii]</a> <a href="#_edn4">[iv]</a> In fact, ANNs are frequently trained with noise to reduce overfitting so reduced precision can be considered as a benefit. <a href="#_edn5">[v]</a> However, naïvely converting computations to reduced precision arithmetic can have apocalyptic consequences on the dynamic range (and resulting accuracy) of a computation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*PRjEp6I1AKh6i2coNSTP7A.png" /><figcaption>Figure 2: Naïve TensorFlow* conversion from an FP32 to INT8 tensor histogram (Source Intel)</figcaption></figure><p>The current state-of-the-art in the industry is to use some form of <a href="https://en.wikipedia.org/wiki/Heuristic_(computer_science)">heuristic method</a> to find which parts of a trained ANN can be converted to use reduced-precision math without affecting the accuracy of the ANN in an unacceptable manner.</p><h3>Some clear lessons about reduced-precision arithmetic</h3><p>There are some clear lessons about the use of reduced-precision arithmetic. An excellent paper, “<a href="https://arxiv.org/pdf/1906.00532.pdf">Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Model</a>” by Bhandare, et.al discusses the issues and performance achieved after quantizing the trained Google Transformer machine language translation English-to-German model mentioned earlier in this article.</p><h3>Rescaling overhead</h3><p>To preserve predictive accuracy, only a portion of the ANN can utilize reduced-precision INT8 arithmetic. The good news is that evening after factoring in the computational overhead of rescaling, the average time per batch remained lower than running entirely with FP32 arithmetic. Thus reduced reduced-precision ANNs can run faster and hence can deliver a performance benefit to datacenter customers. The rescaling cost can be seen in the graphic below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9oWE3S5x57fOVb8y0VpXvQ.png" /><figcaption>Figure 3: Distribution of percentage operation times in FP32 vs INT8 graph; INT8/VNNI avg time per batch is lower than FP32</figcaption></figure><h3>Performance must take into account both parallelism and rescaling</h3><p>Current vendor INT8 and bfloat16 (or FP16) implementations pack two or four arithmetic operations into a single 32-bit memory location. This conveniently utilizes existing 32-bit pathways in CPU and GPU devices (FP16 in case of GPU). However, this packing means that the hardware must process these length two or four vectors in parallel, which fits naturally onto vector hardware.</p><h3>Optimizing variable length-data</h3><p>The challenge is that many batch inference problems such as those in machine translation receive inputs of varying length. This means that optimizing the input pipeline and batch operations is important to realizing a performance benefit as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HLwHDuWWhFxUzMsHP_QyVw.png" /><figcaption>Figure 4: Comparison of the serial and parallel execution techniques (source <a href="https://arxiv.org/pdf/1906.00532.pdf">https://arxiv.org/pdf/1906.00532.pdf</a>)</figcaption></figure><h3>Reduced-precision increases inference throughput</h3><p>In combination, the paper authors observed an overall 4.5x increase in inference throughput of the Transformer model through pipeline optimizations and by using the INT8/VNNI <a href="https://www.intel.ai/intel-deep-learning-boost/">DL boost</a> optimizations on 2S 2nd Generation Intel Xeon Platinum 8268 with optimized FP32 on 2S Intel Xeon 8168 platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*c_iFnqiRC-6pgqrhrGmiZw.png" /><figcaption>Figure 5: An observed 4.5x increase in inference throughput (source <a href="https://arxiv.org/pdf/1906.00532.pdf">https://arxiv.org/pdf/1906.00532.pdf</a>)</figcaption></figure><p>The first two bars report the throughput results obtained by using default word-sorted input data measured with 1 and 2 streams per node respectively. The next two sets use token-sorted input data on 2 and 4 streams per node respectively. The last three sets use both token-sorted and parallel batching with 2, 4, and 8 streams per node respectively.</p><h3>Staying honest, comparative INT8 vs FP32 performance after pipeline optimizations</h3><p>The team observed that the pipeline optimizations also benefitted the FP32-based ANN performance as well.</p><p>Comparing optimized throughput performance scaling using INT8/VNNI relative to the best FP32 SKX-8168 with the best system configuration shoes that the highest INT8 throughput was 1.51x compared to the two inference streams/socket with token sorting and parallel batching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*WX3Xg5qQyuZt0LcNLMn7gw.png" /><figcaption>Figure 6: An observed 1.51x increase in inference throughput after optimizing FP32 pipeline (source <a href="https://arxiv.org/pdf/1906.00532.pdf">https://arxiv.org/pdf/1906.00532.pdf</a>)</figcaption></figure><h3>Summary</h3><p>Even though current AI benchmarks lag behind the data center use cases, reduced-precision arithmetic clearly provides value to the data center. Along with big memory configurations (to support large, complex AI inference operations), data centers must look for hardware devices that run reduced-precision in hardware for future procurements.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and machine learning technology can redefine business models and research efforts. Rob can be reached at </em><a href="/service/mailto:info@techenablement.com">info AT techenablement.com</a><em>.</em></p><p><a href="#_ednref1">[i]</a> <a href="https://www.enterpriseai.news/2019/08/19/translating-ai-and-storage-innovations-into-business-value-innovate-or-die/">https://www.enterpriseai.news/2019/08/19/translating-ai-and-storage-innovations-into-business-value-innovate-or-die/</a></p><p><a href="#_ednref2">[ii]</a> <a href="https://lenovopress.com/lp1066-intel-optane-dc-persistent-memory">https://lenovopress.com/lp1066-intel-optane-dc-persistent-memory</a></p><p><a href="#_ednref3">[iii]</a> <a href="https://arxiv.org/abs/1811.10649">https://arxiv.org/abs/1811.10649</a></p><p><a href="#_ednref4">[iv]</a> <a href="https://arxiv.org/abs/1807.06555">https://arxiv.org/abs/1807.06555</a></p><p><a href="#_ednref5">[v]</a> <a href="https://machinelearningmastery.com/train-neural-networks-with-noise-to-reduce-overfitting/">https://machinelearningmastery.com/train-neural-networks-with-noise-to-reduce-overfitting/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e21124cc828" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hurray for DAOS! Exit the Bottlenecks Imposed by POSIX IO]]></title>
            <link>https://medium.com/@rmfarber/hurray-for-daos-exit-the-bottlenecks-imposed-by-posix-io-479feba87ec1?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/479feba87ec1</guid>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[daostack]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[storage-solutions]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Tue, 15 Oct 2019 15:23:34 GMT</pubDate>
            <atom:updated>2019-10-15T15:23:34.310Z</atom:updated>
            <content:encoded><![CDATA[<p>By Rob Farber</p><p>DAOS (Distributed Asynchronous Object Storage) is the welcome replacement for POSIX storage. Unlike the POSIX standard that was designed in the era of spinning disks to hide the latency of devices that could only manage a few hundred IOP/s (IO Operations per second), DAOS has been architected from the ground up to make use of new persistent memory technologies such as Intel Optane DC Persistent Memory Modules (DCPMMs) that exhibit sub-microsecond access latency. These new Intel Optane-based devices are so fast that they can be used to augment main memory <a href="#_edn1">[i]</a> as well as bring persistent HPC storage into the modern era. The benefits will dramatically accelerate all aspects of HPC storage from the smallest academic clusters and scientific workstations to the largest of the large leadership government supercomputers.</p><p>To highlight the exascale capability of DAOS, along with meeting the need for high-performance storage on an exascale system, Susan Coghlan, ALCF-X Project Director/Exascale Computing Systems Deputy Director points out, “The Argonne Leadership Computing Facility will be the first major production deployment of the DAOS storage system as part of Aurora, the first US exascale system coming in 2021. The DAOS storage system is designed to provide the levels of metadata operation rates and bandwidth required for I/O extensive workloads on an exascale-level machine.”</p><p><strong>“The DAOS storage system is designed to provide the levels of metadata operation rates and bandwidth required for I/O extensive workloads on an exascale-level machine.” Susan Coghlan, ALCF-X Project Director/Exascale Computing Systems Deputy Director</strong></p><p>DAOS is worth investigating for those who wish to futureproof their HPC applications, as well as those who wish to evaluate a new level of HPC storage performance. Succinctly, POSIX is outdated <a href="#_edn2">[ii]</a> and its strong consistency model represents a bottleneck to HPC storage. <a href="#_edn3">[iii]</a> <a href="#_edn4">[iv]</a> As Liu and his co-authors note, “POSIX-based parallel file systems provide strong consistency semantics, which many modern HPC applications do not need and do not want.” <a href="#_edn5">[v]</a></p><p><strong>POSIX-based parallel file systems provide strong consistency semantics, which many modern HPC applications do not need and do not want — Jialin Liu, Lawrence Berkeley National Laboratory</strong></p><h3>Designed to bypass the traditional POSIX IO bottlenecks</h3><p>The key to DAOS performance when used in combination with the Intel® Optane™ DCPMM module is that the CPU can communicate in user space directly with storage via special Direct Access (DAX) instructions available on second generation Intel Xeon Scalable Family processors.</p><p>The difference is significant as illustrated in the following figure, because direct user space access eliminates many of the frustrating performance limiting aspects of traditional <a href="https://en.wikipedia.org/wiki/POSIX">POSIX</a> I/O that increase latency and reduce storage bandwidth such as the operating system, page cache, block driver, and PCIe bus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hTA1vIXUmAHBx5H_noayKQ.png" /><figcaption>The DAOS software stack versus conventional storage systems</figcaption></figure><p>Overall, the DAOS API and data model are driving a new scalable storage model for structured and unstructured data sets that supports a rich set of data models that can capitalize on the performance of Intel® Optane™ non-volatile memory. DAOS supports both non-blocking data and metadata operations are supported plus a burgeoning software ecosystem already includes a number of rich data models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OMMAaTzBdf9hIkrQPj_Htw.png" /><figcaption>DAOS is a non-POSIX rich storage API that provides a new foundation for HPC IO</figcaption></figure><h3>DAOS is open-source, available now</h3><p>DAOS is available now. Simply download from the DAOS <a href="https://github.com/daos-stack">github</a> repository and install to evaluate the benefits in your environment. Numerous paths can be followed to test and integrate DAOS into your HPC application environment:</p><p>· A high-performance <a href="https://github.com/daos-stack/mpich">MPICH and ROMIO middleware layer is provided</a> which means many HPC codes will realize full DAOS performance immediately without code modification.</p><p>· Similarly, <a href="https://github.com/daos-stack/daos/blob/master/src/include/daos_fs.h">libdfs</a> implements files and directories over the DAOS API by encapsulating a POSIX namespace into a DAOS container. This library can be linked directly with the application or mounted locally through <a href="https://en.wikipedia.org/wiki/Filesystem_in_Userspace">FUSE</a>.</p><p>· Native C, Python, and Go interfaces are provided, which means most HPC applications can be ported to directly utilize DAOS.</p><p>· Other popular IO middleware layers have been integrated into DAOS including HDFS for Hadoop codes.</p><p>· Persistent Memory Over Fabric (PMOF) enables replication of data remotely between machines with persistent memory.</p><p>· For those in a rush, the DAOS software can be tested without persistence using DRAM via tmpfs.</p><h3>Intel DCPMM technology redefines storage performance — even without DAOS</h3><p>By ingeniously packaging Intel Optane memory in a DDR form factor so it can sit on the processor’s memory bus, Intel Optane DCPMM literally requires new units of measure be applied to the performance of non-volatile storage. Lenovo summarized the difference succinctly by stating, “When properly optimized, DCPMM devices can provide up to multiple tens of GB/s of throughput at nanosecond latencies versus single digit GB/s of throughput at microsecond latencies seen with high performing NAND-based flash storage devices.” <a href="#_edn6">[vi]</a></p><h3>The many paths to Intel Optane DCPMM</h3><p>While DAOS is exciting, it is not the only way to directly access Intel Optane DCPMM memory.</p><p>After 330 hours of in-depth benchmarking, the Non-Volatile Systems Laboratory at the University of California San Diego observed that Intel Optane DCPMM “can make key storage applications <a href="https://ucsdnews.ucsd.edu/pressrelease/intels_optane_dimms">17 times faster</a>”.</p><p>In this study, DAOS was not used. Rather the researchers directly accessed Intel DCPMM memory via the Ext4 and XFS file-systems as well as the UCSD Nova file-system specifically developed for byte-addressable persistent memory like Intel Optane memory. The UCSD team also evaluated several application frameworks using the Intel supplied <a href="https://software.intel.com/en-us/articles/introduction-to-programming-with-persistent-memory-from-intel">Persistent Memory Development Kit (PMDK)</a> to support the transactional operations necessary to keep the persistent data consistent and durable.</p><p>Note that Intel Optane DCPMM memory can be used as a non-persistent memory tier to augment main memory. This means that “fat” computational nodes can essentially contain many terabytes of main memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9yMEfYNfxZkz_XTjIsT0Q.png" /><figcaption>There are many form factors and ways to use Intel(R) Optane(TM) memory</figcaption></figure><p>When used to augment the DRAM main memory in a system, the NVSL team observed that Intel Optane DCPMM memory, “provides comparable performance to DRAM for many of the real world applications we explored”.<a href="#_edn7">[vii]</a> An observation also reported by researchers at the University of Edinburgh, “We show that it is possible to achieve equivalent performance and better efficiency for a CASTEP simulation that struggles with memory capacity limitations on conventional DRAM-only systems without needing to introduce any changes to the application”.<a href="#_edn8">[viii]</a></p><p>Overall, a burgeoning software ecosystem is rapidly evolving that shows what is possible for many HPC applications including those that use extremely large, globally accessible data sets. <a href="https://www.intel.com/content/www/us/en/software/apache-spark-optimization-technology-brief.html">Intel optimized Apache Spark*, for example, doubles throughput and reduces runtime by 40%</a> for data centric workloads. Other partner frameworks such as <a href="https://www.intel.com/content/www/us/en/big-data/partners/sap/overview.html">SAP HANA</a>*, <a href="https://software.intel.com/en-us/articles/intel-optane-dc-persistent-memory-for-greater-capacity-affordability-persistence">Redis* Labs</a>, <a href="https://www.intel.com/content/www/us/en/processors/xeon/scalable/software-solutions/asiainfo-comms-telco-bss-brief.html">AsiaInfo</a>*, <a href="https://www.intel.com/content/www/us/en/processors/xeon/scalable/software-solutions/aerospike-enterprise-database-brief.html">Aerospike</a>*, and a number of <a href="https://www.intel.com/content/www/us/en/processors/xeon/scalable/software-solutions/overview.html">ISVs</a> demonstrate how the bottleneck imposed by the current popular HPC parallel distributed file-systems such as Lustre* and GPFS* can be eliminated.</p><p>In terms of raw performance, the graphic below shows that memory-system based Intel Optane DCPMM persistent memory can be accessed in nanoseconds. In comparison, it takes over 80 µs for a modern NAND-based SSD, which plugs into the PCIe* bus and communicates using the NVM Express* protocol, to read a single block of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aHLkHrF9Mpnpcr9zEwI_qw.png" /><figcaption>Extreme performance with Intel(R) DC Persistent Memory</figcaption></figure><h3>Summary</h3><p>Forget what you previously knew about high-performance storage and file systems. In combination, DAOS plus Intel Optane provide a more performant (i.e. lower latency, higher BW/IOPS), scalable (i.e. millions of MPI tasks and thousands of storage servers) plus capable (e.g. fine-grain data access, native object API, key-value store) computational storage than previous generation storage for HPC applications and workflows.</p><p>Find more information about Intel Optane DC Persistent Memory and DAOS <a href="https://www.intel.com/content/www/us/en/high-performance-computing/daos-high-performance-storage-brief.html">here</a>.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and machine learning technology can redefine business models and research efforts. Rob can be reached at </em><a href="/service/mailto:info@techenablement.com">info@techenablement.com</a><em>.</em></p><p><a href="#_ednref1">[i]</a> See “The many paths to Intel® DCPMM” below.</p><p><a href="#_ednref2">[ii]</a> <a href="http://www.cs.columbia.edu/~vatlidak/resources/POSIXmagazine.pdf">http://www.cs.columbia.edu/~vatlidak/resources/POSIXmagazine.pdf</a></p><p><a href="#_ednref3">[iii]</a> <a href="https://arxiv.org/pdf/1807.02562.pdf">https://arxiv.org/pdf/1807.02562.pdf</a></p><p><a href="#_ednref4">[iv]</a> <a href="https://www.sciencedirect.com/science/article/pii/S0965997816301740?via%3Dihub">https://www.sciencedirect.com/science/article/pii/S0965997816301740?via%3Dihub</a></p><p><a href="#_ednref5">[v]</a> <a href="https://sdm.lbl.gov/pdc/pubs/201811_PDSW2018-ObjEval.pdf">https://sdm.lbl.gov/pdc/pubs/201811_PDSW2018-ObjEval.pdf</a></p><p><a href="#_ednref6">[vi]</a> <a href="https://lenovopress.com/lp1083.pdf">https://lenovopress.com/lp1083.pdf</a></p><p><a href="#_ednref7">[vii]</a> <a href="https://arxiv.org/pdf/1903.05714.pdf">https://arxiv.org/pdf/1903.05714.pdf</a></p><p><a href="#_ednref8">[viii]</a> <a href="https://www.research.ed.ac.uk/portal/en/publications/an-early-evaluation-of-intels-optane-dc-persistent-memory-module-and-its-impact-on-highperformance-scientific-applications(00807d1c-b95f-449a-8aaf-7e95d8fb6e45).html">https://www.research.ed.ac.uk/portal/en/publications/an-early-evaluation-of-intels-optane-dc-persistent-memory-module-and-its-impact-on-highperformance-scientific-applications(00807d1c-b95f-449a-8aaf-7e95d8fb6e45).html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=479feba87ec1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Democratizing the Challenges of Visualization in the Age of Data with Software]]></title>
            <link>https://medium.com/@rmfarber/democratizing-the-challenges-of-visualization-in-the-age-of-data-with-software-377205a9d73c?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/377205a9d73c</guid>
            <category><![CDATA[enterprise-technology]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[visualization]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Fri, 21 Jun 2019 19:15:16 GMT</pubDate>
            <atom:updated>2019-06-21T19:15:16.824Z</atom:updated>
            <content:encoded><![CDATA[<p>Fifteen years ago, visualization luminary Chris Johnson (currently Distinguished Professor of Computer Science, Co-Director Center for Integrative Biomedical Computing, University of Utah faculty member in multiple departments) published an article on the <a href="https://ieeexplore.ieee.org/document/1310205">top visualization research problems</a>. The purpose of the article was to motivate visualization researchers to think either about new problems or persistent problems in a new way. About the potentially profound impact of visualization, Johnson wrote, “Researchers in scientific visualization will determine the futures not only of their own field, but of the many scientific fields to which they contribute”.<a href="#_edn1">[i]</a></p><p><strong><em>Researchers in scientific visualization will determine the futures not only of their own field, but of the many scientific fields to which they contribute — Chris Johnson, currently Distinguished Professor of Computer Science, Co-Director Center for Integrative Biomedical Computing, University of Utah faculty member in multiple departments</em></strong></p><p>Johnson acknowledged that in 2004 scientific visualization was still a relatively new discipline. In 2012, Johnson and co-authors published another survey. <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3907777/pdf/nihms456696.pdf"><em>The Top 10 Challenges in Extreme-Scale Visual Analytics</em></a> shared their findings and results on applying visual analytics to extreme-scale data. This article looks at how the field has matured and addressed the challenges of visualization in the current age of big data.</p><p>The impact of tenacious efforts spearheaded by visualization luminaries and countless researchers over the past fifteen years has resulted in software acting as the democratizing force in real-time interactive visualization over all data scales. This software empowers users running on platforms ranging from laptops to those who will run on the largest exascale systems currently being envisioned for future deployments.</p><h3>The top visualization challenges</h3><p>At Supercomputing 2018, Johnson observed that visualization is not about displaying data, but rather, as John Tukey (the mathematician who developed the FFT and box plot) wrote, “The greatest value of a picture is when it forces us to notice what we never expected to see”.</p><p><strong><em>The greatest value of a picture is when it forces us to notice what we never expected to see — John Tukey — Mathematician who developed the FFT and box plot</em></strong></p><p>Johnson’s abbreviated version of the top visualization challenges suggests the following:</p><p>· Moving Ridiculous Amounts of Data</p><p>· In Situ Visualization</p><p>· Scalable High Dimensional Visualization</p><p>· Usability and HCI</p><p>· Uncertainty Visualization</p><p>· Reproducible Visualization</p><h3>Ridiculous amounts of data</h3><p>In November 2004, the IBM/DOE BlueGene/L beta system with an Rpeak of 91 GFlop/s was the fastest supercomputer in the world. <a href="#_edn2">[ii]</a>In November 2018, the fastest supercomputer in the world is the DOE/SC/ORNL Summit system that delivers 200 TFlop/s Rpeak performance. <a href="#_edn3">[iii]</a></p><p>With a roughly 1753x increase in computing power over the past fifteen years, scientists can now generate “ridiculous” amounts of data. Once true exascale systems launch, that amount will have increased by nearly 10,000 times. Meanwhile, the Internet has created a wealth of data that is now being scrutinized by data intensive machine learning algorithms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sPj3N1fYZ23CrffRTFs7yA.png" /><figcaption>Figure 1: The tremendous availability of data (Source <a href="http://www.domo.com)/">www.domo.com)</a></figcaption></figure><p>The challenge for the visualization scientists lies in distilling this content down to something meaningful that humans can understand <em>so that we can notice the unexpected. </em>Given the current state of the industry, visualization luminary Jim Jeffers (senior director and senior principle engineer, Intel Visualization Solutions) likes to observe, “A picture is worth an exabyte of data”.</p><p><strong><em>A picture is worth an exabyte of data — Jim Jeffers, senior director and senior principle engineer, Intel Visualization Solutions</em></strong></p><h3>The long road to In situ visualization</h3><p>Not just a glib comment, Jeffers’ quote reflects the reality of modern day visual analytics. Real-time rendering of an exabyte of data is simply not possible when one has to move the data to storage. On Summit, the current fastest supercomputer in the world, saving an exabyte would take many hundreds of seconds as the storage subsystem can only read and write at 2.5 TB/s. While huge in comparison to other supercomputer IO systems, 2.5 TB/s is small relative to an exabyte.</p><p>In the absence of an ability to move data quickly enough, the solution is not to move the data but rather to render the data in place using a technique called <em>in situ</em> visualization. <em>In situ</em> visualization renders data in memory on the same computational nodes that perform the simulation. It has been identified by the US Department of Energy (DOE) as a key technology to enable science at the exascale<a href="#_edn4">[iv]</a>.</p><p>Software that can render and perform visualization on the same nodes that perform the computation is the key to <em>in situ</em> visualization.</p><p>Way back in 2004, Johnson foresaw the need for visual algorithms that can exploit CPUs as well as GPUs. At that time, most people believed that GPUs were the only devices fast enough for real-time rendering. Instead Johnson wrote, “Hardware and systems software goes well beyond the ever-present pain of platform and compiler portability, device driver versions, and other mundane implementation issues … Visualization algorithms should strive for utmost efficiency for targeted platforms. Examples of algorithms that achieve such efficiency include RTRT, the Real Time Ray Tracer, which leverages the CPU, and algorithms that leverage graphics hardware (GPUs).” <a href="#_edn5">[v]</a></p><p>However, the software needed for software-defined visualization needed time to mature and, while Wald’s 2004 optimism was well founded, the hardware simply needed time to catch up. The importance of organizations such as the University of Utah SCI Institute and Intel Corporation in supporting the development of software define visualization (SDVis) on CPUs during a time dominated by GPU hardware cannot be underestimated.</p><p>Nearly seven years later, in November 2011, Intel released v1.0 of the Embree Ray Tracing Kernels library. One of the stated goals was to “Address misconceptions about relative performance of CPUs and GPUs for ray tracing”.<a href="#_edn6">[vi]</a></p><p>As HPC moved into the petascale computing era (we are now moving into the 1000x greater exascale era), a 2012 NIH study highlighted the challenges of data movement for visualization.</p><p>In this study, <em>in situ</em> analysis was highlighted in the first of the Top 10 challenges: “The traditional postmortem approach of storing data on disk and then analyzing the data later” they wrote, “might not be feasible beyond petascale in the near future. Instead, in situ VA [Visual Analysis] tries to perform as much analysis as possible while the data are still in memory.”</p><p>The challenge in 2012 is that the HPC community was not ready for <em>in situ</em> visualization:<em> </em>“the potential solution [<em>in situ] </em>would require a radical change in the high-performance computing (HPC) community’s operation, regulation, and policy and in commercial hardware vendors’ systems and engineering support.”</p><p>However, the motivation was clear: “As computing power’s cost continues to decrease, data movement will quickly become the most expensive component in the VA pipeline. To make the matter even more challenging, as data sources disperse geographically and the data become overwhelmingly large, applications’ demand to move data will increase.”</p><p>In 2018, roughly seven years later, we are just starting to see widespread adoption of <em>in situ</em> visualization by the HPC community. This has been brought about by improved technology as the parallelism and performance of processors has increased to the point that users can now run real-time ray tracing visualizations that can be deployed “anywhere, anytime, any-scale” <a href="#_edn7">[vii]</a>. In addition, the push to exascale supercomputers and changes that data-intensive computing has wrought in the HPC community have made HPC systems and data centers more flexible and agile.</p><p>Given his team’s long-term development of software rendering, starting with the 2011 release of <a href="https://github.com/embree">Intel Embree</a> and the more recent <a href="https://www.ospray.org/">Intel OSPRay</a> library both of which are released under the Apache 2.0 license, Jim Jeffers has a right to be proud when he observes that “With the Intel Rendering Framework, all the work is being done on the CPU while users are getting the same or better experience than with dedicated graphics hardware.” Not limited to just ray tracing, OpenGL rendering at the trillion triangle scale<a href="#_edn8">[viii]</a> is possible using the drop-in replacement OpenSWR library.</p><p><strong>Users are getting the same or better experience than with dedicated graphics hardware — Jim Jeffers, Intel Visualization Solutions Senior Director and Senior Principle Engineer</strong></p><h3>Visualization for everyone</h3><p>After fifteen years of work by a number of visionary people and organizations, we now have an answer to Johnson’s first two summary bullets, “Moving Ridiculous Amounts of Data” and “In Situ Visualization.” Even better, anyone can freely download and start using the software, which enables the world-wide community of visualization aficionados to address the remaining challenges centered on human cognition and user interaction. Data size is no longer a limit. All one needs is access to hardware, be it in the cloud, at an HPC center, or via one’s personal computing device. To that end, Intel provides optimized visualization hardware configurations to help users more quickly adopt modern visualization techniques via their <a href="https://www.intel.com/content/www/us/en/products/solutions/select-solutions/hpc/professional-visualization.html">Intel® Select Solutions for Professional Visualization</a>.<a href="#_edn9">[ix]</a> However, all that is really required is a processor and the ability to render from memory. No GPU acceleration is required but can be utilized if desired.</p><h3>Download and visualize</h3><p>Users and developers alike benefit from CPU-based rendering as both the popular VisIt<a href="#_edn10">[x]</a> and ParaView viewers make it simple to switch between triangle-based OpenGL rendering with Intel OpenSWR and photorealistic ray-traced rendering.</p><h3>Any-scale in situ and in transit visualization with SENSEI</h3><p>Large scale installations are also exploiting CPU-based rendering. In preparation for the arrival of Aurora, a new Intel-Cray system that will be capable of over 1 exaflops, Argonne National Laboratory is actively working to make techniques such as <em>in situ</em> and <em>in transit</em> visualization and analysis available to their user community in addition to the HPC community at large. <em>In transit</em> visualization is a refinement of in situ visualization that is not as directly coupled to the simulation. It can help load-balance by using more nodes to support computationally expensive simulations.</p><p>More specifically, <a href="https://www.hpcwire.com/2018/10/30/preparing-for-the-arrival-of-aurora-with-cpu-based-interactive-visualization/">ANL is working to leverage SENSEI</a>, a portable framework that enables <em>in situ, in transit, </em>and traditional batch visualization workflows that can use either ray tracing or triangle-based rendering back ends for analysis and scalable interactive rendering. <a href="http://www.sensei-insitu.org/">SENSEI</a> can be downloaded for free.</p><h3>AI and visualization</h3><p>Significant work is also being done to join machine learning and visualization. For example, autoencoders can be used to map high-dimensional data into a 3D space that humans can visualize.<a href="#_edn11">[xi]</a> Meanwhile, researchers are using AI to categorize storms in weather maps as a means to validate large HPC climate models by ensuring the models correctly generate historical storm distributions.<a href="#_edn12">[xii]</a> The convergence of HPC, visual analytics, and AI is just beginning, which means there are exciting opportunities for all. Thus the community is working to address more of the challenges identified by Johnson.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and in developing machine learning technology that he applies at national labs and commercial organizations. Rob can be reached at </em><a href="/service/mailto:info@techenablement.com"><em>info@techenablement.com</em></a><em>.</em></p><p><a href="#_ednref1">[i]</a> <a href="http://www.sci.utah.edu/publications/crj04/Vis_Viewpoints04.pdf">http://www.sci.utah.edu/publications/crj04/Vis_Viewpoints04.pdf</a></p><p><a href="#_ednref2">[ii]</a> <a href="https://www.top500.org/list/2004/11/">https://www.top500.org/list/2004/11/</a></p><p><a href="#_ednref3">[iii]</a> <a href="https://www.top500.org/list/2018/11/">https://www.top500.org/list/2018/11/</a></p><p><a href="#_ednref4">[iv]</a> <a href="https://science.energy.gov/~/media/ascr/pdf/program-documents/docs/Exascale-ASCR-Analysis.pdf">https://science.energy.gov/~/media/ascr/pdf/program-documents/docs/Exascale-ASCR-Analysis.pdf</a></p><p><a href="#_ednref5">[v]</a> <a href="http://www.sci.utah.edu/publications/crj04/Vis_Viewpoints04.pdf">http://www.sci.utah.edu/publications/crj04/Vis_Viewpoints04.pdf</a></p><p><a href="#_ednref6">[vi]</a> <a href="https://embree.github.io/data/embree-siggraph-2012-final.pdf">https://embree.github.io/data/embree-siggraph-2012-final.pdf</a></p><p><a href="#_ednref7">[vii]</a> <a href="https://software.intel.com/en-us/rendering-framework">https://software.intel.com/en-us/rendering-framework</a></p><p><a href="#_ednref8">[viii]</a> Kitware rendered 1.1 trillion triangles on the LANL Trinity supercomputer: <a href="http://www.techenablement.com/third-party-use-cases-illustrate-the-success-of-cpu-based-visualization/">http://www.techenablement.com/third-party-use-cases-illustrate-the-success-of-cpu-based-visualization/</a></p><p><a href="#_ednref9">[ix]</a> <a href="https://www.hpcwire.com/2018/10/30/preparing-for-the-arrival-of-aurora-with-cpu-based-interactive-visualization/">https://www.hpcwire.com/2018/10/30/preparing-for-the-arrival-of-aurora-with-cpu-based-interactive-visualization/</a></p><p><a href="#_ednref10">[x]</a> <a href="https://tacc.github.io/visitOSPRay/">https://tacc.github.io/visitOSPRay/</a></p><p><a href="#_ednref11">[xi]</a> <a href="http://www.icst.pku.edu.cn/F/course/ImageProcessing/2017/resource/Science2006_Reducing%20the%20Dimensionality%20of%20Data%20with%20Neural%20Networks.pdf">http://www.icst.pku.edu.cn/F/course/ImageProcessing/2017/resource/Science2006_Reducing%20the%20Dimensionality%20of%20Data%20with%20Neural%20Networks.pdf</a></p><p><a href="#_ednref12">[xii]</a> <a href="https://www.hpcwire.com/2018/03/19/deep-learning-at-15-pflops-enables-training-for-extreme-weather-identification-at-scale/">https://www.hpcwire.com/2018/03/19/deep-learning-at-15-pflops-enables-training-for-extreme-weather-identification-at-scale/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=377205a9d73c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LIBXSMM Brings Deep-learning “Lessons Learned” to Many HPC Applications]]></title>
            <link>https://medium.com/@rmfarber/libxsmm-brings-deep-learning-lessons-learned-to-many-hpc-applications-9143c6c93125?source=rss-df7598e08f1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9143c6c93125</guid>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[modeling]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Rob Farber]]></dc:creator>
            <pubDate>Wed, 13 Jun 2018 16:20:18 GMT</pubDate>
            <atom:updated>2018-06-13T16:20:18.499Z</atom:updated>
            <content:encoded><![CDATA[<p>“Once we realized the performance limitation was memory bandwidth, we really had to get down to work”, Alexander Heinecke (Research Scientist, Intel Labs) stated in his presentation about LIBXSMM at the first Middle East meeting of the Intel Extreme Performance Users Group at KAUST (King Abdullah University of Science and Technology) in Saudi Arabia.</p><p>Many HPC applications can benefit by using LIBXSMM, a library targeting Intel processors for small, dense or sparse matrix multiplications, and small convolutions. LIBXSMM is a cross-organization effort that includes scientists from UCSD and Intel. The library is freely available on <a href="https://github.com/hfp/libxsmm">github</a>.</p><p>Heinecke observes that HPC is moving in new directions, particularly as “Lower precision needs to play an important role in HPC these days as it sees enormous increase due to deep learning” along with fused simulations where operations from multiple tasks occur in parallel exploit the SIMD capability of modern CPUs.</p><p><strong>Lower precision needs to play an important role in HPC these days as it sees enormous increase due to deep learning — Alexander Heinecke, Research Scientist at Intel Labs</strong></p><p>Deep-learning research is redefining our understanding of numerical precision. Running with lower precision increases the effective data item throughput from memory. For example, using single-precision (32-bit) numbers instead of double-precision (64-bit) numbers means the processor can effectively fetch twice as many floating point values per second.</p><p>Running with reduced precision helps to speed the computationally intensive training of deep neural networks (DNNs).</p><p>LIBXSMM brings this same performance benefit to HPC applications, specifically to the widely used small and sparse matrix operations. Coupled with custom, architecture JIT (Just in Time) architecture specific compilation, the LIBXSMM library delivers both high performance and scaling to many generations of Intel processors. For example, LIBXSMM can achieve a very high percentage of peak theoretical performance for <strong>sparse matrix operations </strong>on Intel processors ranging from 78% on the latest Intel Xeon Phi 7295 (codename Knights Mill) processor containing 72 cores to 70% an Intel Xeon Scalable Processor 8180 processor with 28 cores. Older processors also benefit from LIBXSMM as well.</p><h3>Extreme performance HPC examples</h3><p>These benefits, coupled with fused simulations greatly benefit even high-precision HPC codes.</p><p>Heinecke made his performance and scaling claims concrete by reporting 64-bit floating-point performance exceeding 10 PF/s on the NERSC (National Energy Research Scientific Computing Center) Cori-II supercomputer along with scalability results from 32 to 3200 nodes on the Argonne Theta supercomputer.</p><p>More specifically, in collaboration with Intel, Alexander Breuer and Yifeng Cui at the San Diego Supercomputer Center (SDSC) at the University of California San Diego have developed a new seismic software package called EDGE (Extreme-Scale Discontinuous Galerkin Environment). The latest simulations use LIBXSMM and are the fastest in the world to date. Scientists can use this simulation to better predict ground motions to save lives and minimize property damage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*Ub9FqpsQc4sQcvqAeItvoQ.png" /><figcaption>Figure 1: LOH.1 benchmark example mesh and material regions (Image courtesy ISC’16)</figcaption></figure><p>The UCSD blog reports that the UCSD researchers achieved 10.4 PFLOP/s (or 10.4 quadrillion calculations per second) on the NERSC Cori-II supercomputer. This broke the previous seismic performance record of 8.6 PFLOPS conducted on China’s Tianhe-2 supercomputer.</p><p><strong>In collaboration with Intel, Alexander Breuer and Yifeng Cui of SDSC broke the previous seismic performance record of 8.6 PFLOPS conducted on China’s Tianhe-2 supercomputer. — UCSD blog.</strong></p><p>The research projects is part of a <a href="http://www.sdsc.edu/News%20Items/PR20160209_earthquake_center.html">collaboration announced in early 2016</a> under which Intel opened a computing center at SDSC to focus on seismic research.</p><p>The LIBXSMM github wiki shows that LIBXSMM library is a general HPC solution. Specifically, LIBXSMM has been used in CP2K (an open source molecular dynamic package), spectral element codes, the innovative PyFR Python-based computational fluid dynamics (CFD) package, and the Eigen Math library for automating driving workloads<a href="#_edn1">[i]</a>. Not surprisingly, the wiki shows that LIBXSMM also benefits deep-learning packages as well.</p><h3>Optimized matrix operations tie deep-learning to HPC via LIBXSMM</h3><p>Heinecke observes that deep-learning is fast becoming the next “killer app” that exhibits very regular compute patterns that can be performed at lower precision. To benefit deep-learning, hardware vendors are introducing special function units like Intel’s QFMA to speed matrix multiplications. Intel notes that the Quad Fused Multiply Add (QFMA) “doubles the amount of single precision performance”. <a href="#_edn2">[ii]</a></p><p>This can benefit HPC applications, Heinecke points out. The most common deep-learning kernel is a <a href="https://software.intel.com/en-us/articles/introducing-batch-gemm-operations">GEMM</a> (general matrix-matrix multiplication) and convolution, which are perfect for parallelization as they map to long chains of many independent inner products. Even better, convolutions exhibit greater spatial and temporal locality than GEMM, which can benefit sparse operators.</p><p>He states, “We can harvest this for HPC by leveraging a high amount of lower-precision flop/s”. For example running preconditioners with very low precision and evaluating if solvers can be run with FP32 instead of FP64, and running fused simulations to exploit the GEMM-like kernels where locality inside the operator can benefit sparse operations.</p><h3>Lowering precision does translate to faster time to solution.</h3><p>A big unknown when using reduced precision is the effect on the convergence behavior of a numerical algorithm. The concern is that the simulation may take longer to find a solution (e.g. converge to an acceptable solution) in terms of wall clock time even though the use of lower precision arithmetic types means the code runs faster on the hardware and performs more flop/s.</p><p>Heinecke used results from the LOH.1 benchmark in EDGE to show that faster performance does translate to faster runtimes when using lower precision. Stated another way, convergence was not a problem when using reduced precision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*5j6jlotn54OM-FSZZIo9Ew.png" /><figcaption>Figure 2: Exemplary illustration of EDGE’s fourth order solution for the ninth receiver and quantity $u$ of the LOH.1 wave propagation benchmark. Plots a) and b) show a comparison to the reference, using double precision arithmetic. Out of the eight fused, identical solutions of the setting, only the first one is shown. Plots c) and d) show a comparison of the almost identical single and double precision results, obtained when using a single forward simulation. Due to the low misfits, shown in d), the FP32 in and FP64 solutions are visually indistinguishable in the raw receiver plot c). (Image courtesy Intel)</figcaption></figure><h3>Extreme sparse matrix performance</h3><p>EDGE exploits the ability of LIBXSMM to run fused simulations to increase performance. Without getting too technical, the EDGE solver can utilize the results of a number of different seismic sources in its forward solver as illustrated below. Succinctly, the solver uses LIBXSMM to perform the many small, sparse matrix operations in parallel at the same time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*ILdwAmch9w0duQzFyhuUnA.png" /><figcaption>Figure 3: Incorporating multiple seismic sources into the solver using fused simulations (Image courtesy UCSD)</figcaption></figure><p>It’s common in the scientific literature to refer to this as parallelizing over multiple right-hand sides of the PDEs, but the EDGE authors prefer the term fused simulation to highlight the advantages of their approach, which are<a href="#_edn3">[iii]</a>:</p><p>1. The ability to perform full vector operations even when using sparse matrix-operations by fusing multiples of the vector-width. Non-fused operations can have up-to a 50% zero padding, which represents wasted flop/s.</p><p>2. Data structures are automatically aligned for vector operations.</p><p>3. Read-only data structures can substantially increase arithmetic intensities.</p><p>4. Fused simulations are less sensitive to memory latencies and conditional jumps. This reduces the performance penalty of start-up latencies or branch mispredictions. It also helps reduce network latencies due to larger MPI-messages having identical exchange-frequencies.</p><p>At the at the KAUST Extreme Computing Workshop, Heinecke reported results from the SDSC effort demonstrating LIBXSMM can achieve a very high percentage of peak theoretical performance for <strong>sparse matrix operations </strong>on Intel processors ranging from 78% on an Intel Xeon Phi 7295 (codename Knights Mill) with 72 cores to 70% an Intel Xeon Scalable Processor 8180 processor with 28 cores. This is within a few percent of the performance of a highly optimized dense matrix DGEMM (double-precision GEMM) operation, which highlights the benefits of the LIBXSMM JIT code generation and fused operations for sparse matrix operations.</p><p>Fused simulations also help distributed memory computations as well. The following image shows both high floating-point performance and peak efficiency when running the LOH.1 benchmark in EDGE on 16 nodes using various generations of Intel processors — namely Intel Xeon Scalable processors, Intel Xeon Phi (KNL), and Intel Xeon Phi for machine learning (KNM).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*nBmS2ETXa2XloDNynOojuA.png" /><figcaption>Figure 4: Dark grey: non-fused simulation, Light gray: fused simulation (Image courtesy Intel)</figcaption></figure><h3>Summary</h3><p>Small matrix multiplication kernels are very common in scientific applications. Having a library that generates code for the specific processor architecture and which can achieve a high percentage of peak performance — particularly on sparse matrices — is invaluable. The forward thinking use of fused simulations and the use of hardware optimized lower-precision deep-learning capabilities indicate that LIBXSMM will benefit HPC applications even more so in the future as hardware vendors deploy greater numbers of deep-learning optimized products. Up to now LIBXSMM has been successfully integrated into other scientific code which employ small matrix multiplications: The Gordon Bell winning Nek5000/Box family, CP2K (Gordon Bell finalist) and SeisSol (Gordon Bell finalist and SC Best Paper winner) but also the deep learning framework Tensorflow and the linear algebra C++package Eigen.</p><p><em>Rob Farber is a global technology consultant and author with an extensive background in HPC and advanced computational technology that he applies at national labs and commercial organizations. Rob can be reached at </em><a href="/service/mailto:info@techenablement.com">info@techenablement.com</a></p><p><a href="#_ednref1">[i]</a> <a href="https://software.intel.com/sites/default/files/managed/4f/73/parallel-universe-issue-31.pdf">https://software.intel.com/sites/default/files/managed/4f/73/parallel-universe-issue-31.pdf</a></p><p><a href="#_ednref2">[ii]</a> <a href="https://itpeernetwork.intel.com/accelerating-deep-learning-workloads/">https://itpeernetwork.intel.com/accelerating-deep-learning-workloads/</a></p><p><a href="#_ednref3">[iii]</a> For more information see <a href="http://hypocenter.usc.edu/research/SSA/breuera_ssa.pdf">http://hypocenter.usc.edu/research/SSA/breuera_ssa.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9143c6c93125" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>