|The Leading Source for Global News and Information Covering the Ecosystem of High Productivity Computing / March 24, 2006|
"Adaptive supercomputing will cause a paradigm shift in the way users select and use HPC systems. Adaptive supercomputing is necessary to support the future needs of HPC users as their need for higher performance on more complex applications outpaces Moore's Law. The Cray motto is: adapt the system to the application - not the application to the system," says Steve Scott, CTO of Cray Inc., March 2006.
This past week Cray announced their vision of "Adaptive Supercomputing," the company's long-range HPC technology strategy. Steve Scott, CTO of Cray, briefed me about this strategy and I'd like to share with you, in broad terms, what he said.
The increasing demand for better performance can no longer be achieved through processor improvements predicted by Moore's law and a one-size-fits-all mentality. HPC users are no longer getting the performance advances they need from microprocessors. Commercial response to the slowdown in Moore's law has been to provide multi-core chips. These are general-purpose architectures, optimized for most widely used applications. But as it is widely recognized, when scientific computing migrated to commodity platforms, interconnect performance, both in terms of bandwidth and latency, became the limiting factor on overall application performance and remains a bottleneck to this day.
If one takes an example from Earth sciences: Users wish to perform simulations on coupled climate models, such as ocean, atmosphere, biosphere and solid earth. [NASA Report; Earth Sciences Vision 2030]. Currently, these models are designed to run on only one processor architecture (e.g., scalar or vector). However, an increase in both model complexity and number of components lends itself to a variety of processing technologies. With this new approach, applications can have dramatically shorter time scales to completion. The goal is to tie these models together and exchange data.
Another example is from Computer Aided Engineering (CAE). Industry is pushing the limits on the size of the problem and its complexity. Model sizes of CAE, are currently limited by computational and data storage capabilities. Moving to multi-physics simulations and modeling real-world behavior requires coupling previously independent simulations. A full system analysis requires a system with orders of magnitude better performance, since one needs to examine the behavior of composite materials at micro-scale and real-time stress-strain behavior at macro-scale.
The CAE example above was used as a Grand Challenge Case Study in a recent report on High Performance Computing & Competitiveness, sponsored by the Council on Competitiveness in the USA. The report states: "The next high-payoff high performance computing grand challenge is to optimize the design of a complete vehicle by simultaneously simulating all market and regulatory requirements in a single integrated computational model."
After exhaustive analysis Cray Inc. concluded that, although multi-core commodity processors will deliver some improvement, exploiting parallelism through a variety of processor technologies using scalar, vector, multithreading and hardware accelerators (e.g., FPGAs or ClearSpeed co-processors) creates the greatest opportunity for application acceleration.
Adaptive supercomputing combines multiple processing architectures into a single scalable system. From the user's point of view, one has the application program, which uses libraries, tools, compilers, scheduling system management and a runtime system. Then comes the adaptive software, a compiler, which knows what types of processors are available on the heterogeneous system and targets code to the most appropriate processor. In certain cases, at run-time, the system will determine the most appropriate processor for running a piece of code, and direct the execution accordingly. As Scott said: "Adapt the system to the application - not the application to the system."
Cray's roadmap to adaptive supercomputing will unfold in phases. Phase 0 represents the current generation. They have individual architecture systems: The Cray XT3 - MPP scalar, the Cray X1E - Vector, the Cray MTA - Multithreaded, and Cray XD1 - AMD Opteron plus FPGA accelerators.
Phase 1, codenamed "Rainer," will create an integrated user environment across all of Cray's platforms. In Phase 2, Cray plans integrated multi-architecture systems. These are currently codenamed "Eldorado" (upgraded Cray XT3 technology plus multithreading) and "Black Widow" (upgraded Cray XT3 technology plus vector processors) scheduled to become available in 2007. All of these platforms will use AMD Opterons for their scalar processor base.
In Phase 3, the plan is to progress to adaptive supercomputing, in a transparent, scalable, robust, optimized way, using scalar, vector, multithreading and possibly reconfigurable computing. At this phase, one will see the development of Cray systems that incorporate dynamic resource allocation using software that automates adaptive supercomputing. The emerging technologies being developed for Cray's Cascade project are expected to deliver this integrated platform by year 2009/10. Cascade is expected to include heterogeneous processing at the node level, with fast serial, vector and highly multithreaded capability, all in the same cabinet.
To recall, the motivation for Cascade was to address the lack of productivity in large-scale HPC (MPP) machines, based on commodity microprocessors. The reasons why they were unproductive became obvious and rather painful to the user community.
It is a difficult task to write parallel code, using low level constructs in MPI and this is a major burden for computational scientists, especially since programming tools that understand program behavior are in short supply. As it is well known, conventional models break down with scale. And as complexity increases, a lot of time is spent trying to modify code to fit machine's characteristics. For example, cluster machines have relatively low bandwidth between processors and can't directly access global memory. As a result, programmers try hard to reduce communication traffic and have to bundle communication up in messages, instead of simply accessing shared memory. If the machine doesn't match the code's attributes, it makes programming much more difficult.
The biggest challenge comes because application codes vary significantly in their requirement. To scale an application it must have some form of parallelism. Many HPC applications have rich, SIMD-style data-level parallelism. They perform similar operations on arrays of data and can significantly accelerate execution, using fine-grained parallelism. Other application can take advantage of thread-level parallelism. This enables many separate threads to execute independently. This parallelism may be found at multiple levels in the code, allowing significant acceleration via multithreading. Some parts of applications are not parallel at all and need fast serial scalar execution speed, as slow serial performance will drag down performance (Amdahl's Law). Applications also vary in their memory and network bandwidth needs -- low vs. high, dense vs. sparse.
According to Cray, the Cascade project has a core mission to ease the development of parallel codes. It will support legacy programming models MPI, OpenMP, as well as improved variants SHMEM, UPC and CAF. In addition, it is developing a new alternative global view, with languages such as Chapel and GMA. It will provide programming tools to ease debugging, tuning and performance analysis. Cray in the Cascade project is designing an adaptive, configurable machine that can match the attributes of a wide variety of applications: fast serial performance, data-level parallelism, multithreading parallelism, as well as regular and sparse bandwidth of varying intensities. The overall objective is delivering a significant increase in performance. These attributes also ease programming and should make the machine much more broadly applicable.
For modern, large-scale systems most hardware cost is in the interconnect packages -- circuit boards, connectors, wires, routers, electro-optics, fibers and so on. The task is to make global bandwidth less costly and provide dynamic reconfiguration to match interconnects to customer needs. The challenge is to push signaling rates as much as possible, using the least expensive technology at each level (electrical, optics), design routers that use all network links well and use efficient network topologies.
According to Steve Scott, for ease of programming, global shared memory is unbeatable. It provides the lowest latency communication and lowest overhead communication. It enables fine-grained overlap of computation and communication and tolerates latency with processor concurrency. In contrast, message passing concurrency is constraining and hard to program. Vectors provide concurrency within a thread, multithreading provides concurrency between threads. The challenge is to exploit locality, to reduce bandwidth demand. This is done using hierarchical processor architectures, to enhance temporal locality and lightweight thread migration, to exploit spatial locality. Other techniques to reduce network traffic, such as atomic memory operations and single word network transfers when no locality is present, are also used.
In order to exploit the Cascade architecture in an optimal fashion, Cray specified and is implementing a new high productivity language, named Chapel. Current parallel languages tend to require fragmentation of data and control. They fail to cleanly isolate computation from its virtual processor topology. Also, they tend to support a single type of data parallelism, or, task parallelism and fail to support a composition of parallelism. In short, they have few data abstractions.
On the other hand, Chapel was designed as a language for rapid development of new codes. It supports abstractions for data, task parallelism, arrays (sparse, hierarchical, etc.), graphs, hash tables and so on. Most importantly, it has the ability to evolve prototype code into production very quickly.
Thus, the Cascade project addresses performance by providing configurable high-bandwidth memory and interconnects, globally-addressable memory with fine-grain synchronization and heterogeneous processing to match application needs. It preserves portability with Linux-based OS, standard POSIX API and Linux services. It also provides support for mixed legacy languages and programming models. In addition, Chapel provides an architecturally neutral path forward for code.
In summary, the benefits of Cray's adaptive supercomputing vision are:
As stated at the beginning of this article: "Adaptive supercomputing is necessary to support the future needs of HPC users, as their need for higher performance on more complex applications outpaces Moore's Law. Adaptive supercomputing will cause a paradigm shift in the way users select and use HPC systems. Cray's experience, existing investments and innovative technologies position Cray to deliver on the adaptive supercomputing vision," says Steve Scott.
In my view, the Cray vision for adaptive supercomputing is exciting and the phased strategy is very sensible. The big challenge in the next few years is how to manage the extra complexity both at software and hardware level so that enhanced productivity is delivered to the user application, transparently. Nevertheless, the mission is clear. Cross the one petaflop barrier by the end of this decade.
Copyright (c) Christopher Lazou, HiPerCom Consultants, Ltd., UK. March 2006. Brands and names are the property of their respective owners.