Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “cache locality”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

35 records · Page 2

Algorithms for Performance, Dependability, and Performability Evaluation using Stochastic Activity Networks

Modeling tools and technologies are important for aerospace development. At the University of Illinois, we have worked on advancing the state of the art in modeling by Markov reward models in two important areas: reducing the memory necessary to numerically solve systems represented as stochastic activity networks and other stochastic Petri net extensions while still obtaining solutions in a reasonable amount of time, and finding numerically stable and memory-efficient methods to solve for the reward accumulated during a finite mission time. A long standing problem when modeling with high level formalisms such as stochastic activity networks is the so-called state space explosion, where the number of states increases exponentially with size of the high level model. Thus, the corresponding Markov model becomes prohibitively large and solution is constrained by the the size of primary memory. To reduce the memory necessary to numerically solve complex systems, we propose new methods that can tolerate such large state spaces that do not require any special structure in the model (as many other techniques do). First, we develop methods that generate row and columns of the state transition-rate-matrix on-the-fly, eliminating the need to explicitly store the matrix at all. Next, we introduce a new iterative solution method, called modified adaptive Gauss-Seidel, that exhibits locality in its use of data from the state transition-rate-matrix, permitting us to cache portions of the matrix and hence reduce the solution time. Finally, we develop a new memory and computationally efficient technique for Gauss-Seidel based solvers that avoids the need for generating rows of A in order to solve Ax = b. This is a significant performance improvement for on-the-fly methods as well as other recent solution techniques based on Kronecker operators. Taken together, these new results show that one can solve very large models without any special structure.

Deavours, Daniel D.↗

Spacecraft Contamination Control Challenges for Space Missions with Organic Compound Detection Capabilities and for Potential Sample Return

Contamination control is critical to missions with organic compound detection capabilities, and for missions targeting acquisition of samples for potential return to Earth. Significant challenges are being addressed in the design of current flight projects and conceptual mission studies at JPL. These challenges extend to both orbiting spacecraft, as well as landed missions, for future missions to Mars and Europa, and potential missions to Titan and Enceladus. Contamination control during all phases of a mission, from preliminary design through operation, is fundamental to ensure that organic compounds of terrestrial origin are controlled to ensure successful completion of science objectives. This presentation summarizes contamination control challenges specific to landed missions (which include sample acquisition, encapsulation, caching, potential sample return, and UV instruments), and orbiting missions (modeling interactions between the spacecraft, and local exospheres and plumes).

Soares, Carlos↗

Spacecraft Contamination Control Challenges for Space Missions with Organic Compound Detection Capabilities and for Potential Sample Return

Spacecraft contamination control is critical to space exploration missions with organic compound detection capabilities, and also for missions targeting acquisition of samples for potential return to Earth. Significant challenges are being addressed and resolved in the design of current flight projects and conceptual mission studies at JPL. These challenges extend to both orbiting spacecraft, as well as landed missions, for future missions to Mars and Europa, and potential missions to Titan and Enceladus. Contamination control during all phases of a mission, from preliminary design through operation, is fundamental to ensure that organic compounds of terrestrial origin are controlled to ensure successful completion of science objectives. This paper examines contamination control challenges specific to landed missions (which include sample acquisition, encapsulation, caching, potential sample return, and UV instruments), and orbiting missions (modeling interactions between the spacecraft and local exospheres and plumes).

Sylvia, Margarite↗

Processor architecture and data buffering

A set of architectures from three major architecture families: stack, register, and memory-to-memory is discussed. It is shown that scalable architectures are not applicable for low-density technologies because they require at least 32 words of local memory. Software support is shown to be capable of bridging the performance gap between scalable and nonscalable architectures. A register architecture with 32 words of local memory allocated interprocedurally outperforms scalable architectures with equal sizes local memories and even some with larger size local memories. The performance advantage of unscalable architectures becomes significant when in addition to quality compile-time support, a small cache is added to an unscalable architecture. A 32-register architecture with 512 byte cache executes 20 percent less cycles when compared with an 8-set multiple overlapping set organization.

Mulder, Hans↗

Client-Side Data Processing and Training for Multispectral Imagery Applications in the GOES-R Era

RGB imagery can be created locally (i.e. client-side) from single band imagery already on the system with little impact given recommended change to texture cache in AWIPS II. Training/Reference material accessible to forecasters within their operational display system improves RGB interpretation and application as demonstrated at OPG. Application examples from experienced forecasters are needed to support the larger community use of RGB imagery and these can be integrated into the user's display system.

VIIRS↗

Is random access memory random?

Most software is contructed on the assumption that the programs and data are stored in random access memory (RAM). Physical limitations on the relative speeds of processor and memory elements lead to a variety of memory organizations that match processor addressing rate with memory service rate. These include interleaved and cached memory. A very high fraction of a processor's address requests can be satified from the cache without reference to the main memory. The cache requests information from main memory in blocks that can be transferred at the full memory speed. Programmers who organize algorithms for locality can realize the highest performance from these computers.

Denning, P. J.↗

Efficacy of Code Optimization on Cache-Based Processors

In this paper a number of techniques for improving the cache performance of a representative piece of numerical software is presented. Target machines are popular processors from several vendors: MIPS R5000 (SGI Indy), MIPS R8000 (SGI PowerChallenge), MIPS R10000 (SGI Origin), DEC Alpha EV4 + EV5 (Cray T3D & T3E), IBM RS6000 (SP Wide-node), Intel PentiumPro (Ames' Whitney), Sun UltraSparc (NERSC's NOW). The optimizations all attempt to increase the locality of memory accesses. But they meet with rather varied and often counterintuitive success on the different computing platforms. We conclude that it may be genuinely impossible to obtain portable performance on the current generation of cache-based machines. At the least, it appears that the performance of modern commodity processors cannot be described with parameters defining the cache alone.

VanderWijngaart, Rob F.↗

A Comparison of Three Programming Models for Adaptive Applications

We study the performance and programming effort for two major classes of adaptive applications under three leading parallel programming models. We find that all three models can achieve scalable performance on the state-of-the-art multiprocessor machines. The basic parallel algorithms needed for different programming models to deliver their best performance are similar, but the implementations differ greatly, far beyond the fact of using explicit messages versus implicit loads/stores. Compared with MPI and SHMEM, CC-SAS (cache-coherent shared address space) provides substantial ease of programming at the conceptual and program orchestration level, which often leads to the performance gain. However it may also suffer from the poor spatial locality of physically distributed shared data on large number of processors. Our CC-SAS implementation of the PARMETIS partitioner itself runs faster than in the other two programming models, and generates more balanced result for our application.

Shan, Hong-Zhang↗

On the Efficacy of Source Code Optimizations for Cache-Based Systems

Obtaining high performance without machine-specific tuning is an important goal of scientific application programmers. Since most scientific processing is done on commodity microprocessors with hierarchical memory systems, this goal of "portable performance" can be achieved if a common set of optimization principles is effective for all such systems. It is widely believed, or at least hoped, that portable performance can be realized. The rule of thumb for optimization on hierarchical memory systems is to maximize temporal and spatial locality of memory references by reusing data and minimizing memory access stride. We investigate the effects of a number of optimizations on the performance of three related kernels taken from a computational fluid dynamics application. Timing the kernels on a range of processors, we observe an inconsistent and often counterintuitive impact of the optimizations on performance. In particular, code variations that have a positive impact on one architecture can have a negative impact on another, and variations expected to be unimportant can produce large effects. Moreover, we find that cache miss rates - as reported by a cache simulation tool, and confirmed by hardware counters - only partially explain the results. By contrast, the compiler-generated assembly code provides more insight by revealing the importance of processor-specific instructions and of compiler maturity, both of which strongly, and sometimes unexpectedly, influence performance. We conclude that it is difficult to obtain performance portability on modern cache-based computers, and comment on the implications of this result.

VanderWijngaart, Rob F.↗

On the Efficacy of Source Code Optimizations for Cache-Based Systems

Obtaining high performance without machine-specific tuning is an important goal of scientific application programmers. Since most scientific processing is done on commodity microprocessors with hierarchical memory systems, this goal of "portable performance" can be achieved if a common set of optimization principles is effective for all such systems. It is widely believed, or at least hoped, that portable performance can be realized. The rule of thumb for optimization on hierarchical memory systems is to maximize temporal and spatial locality of memory references by reusing data and minimizing memory access stride. We investigate the effects of a number of optimizations on the performance of three related kernels taken from a computational fluid dynamics application. Timing the kernels on a range of processors, we observe an inconsistent and often counterintuitive impact of the optimizations on performance. In particular, code variations that have a positive impact on one architecture can have a negative impact on another, and variations expected to be unimportant can produce large effects. Moreover, we find that cache miss rates-as reported by a cache simulation tool, and confirmed by hardware counters-only partially explain the results. By contrast, the compiler-generated assembly code provides more insight by revealing the importance of processor-specific instructions and of compiler maturity, both of which strongly, and sometimes unexpectedly, influence performance. We conclude that it is difficult to obtain performance portability on modern cache-based computers, and comment on the implications of this result.

VanderWijngaart, Rob F.↗

Multi-Dimensional Spectral Difference Method for Unstructured Grids

A new, high-order, conservative, and efficient method for conservation laws on unstructured grids is developed. It combines the best features of structured and unstructured grid methods to attain computational efficiency and geometric flexibility; it utilizes the concept of discontinuous and high-order local representations to achieve conservation and high accuracy; and it is based on the finite-difference formulation for simplicity. Universal reconstructions are obtained by distributing unknowns in a geometrically similar manner for all unstructured cells. Placements of the unknown and flux points with various order of accuracy are given for the line, triangular and tetrahedral elements. The data structure of the new method permits an optimum use of cache memory, resulting in further computational efficiency on modern computers. A new pointer system is developed that reduces memory requirements and simplifies programming for any order of accuracy. Numerical solutions are presented and compared with the exact solutions for wave propagation problems in both two and three dimensions to demonstrate the capability of the method. Excellent agreement has been found. The method is simpler and more efficient than previous discontinuous Galerkin and spectral volume methods for unstructured grids.

Liu, Yen↗

Mars ISRU for Production of Mission Critical Consumables - Options, Recent Studies, and Current State of the Art

In 1978, a ground breaking paper titled, "Feasibility of Rocket Propellant Production on Mars" by Ash, Dowler, and Varsi discussed how ascent propellants could be manufactured on the Mars surface from carbon dioxide collected from the atmosphere to reduce launch mass. Since then, the concept of making mission critical consumables such as propellants, fuel cell reactants, and life support consumables from local resources, commonly known as In-Situ Resource Utilization (ISRU), for robotic and human missions to Mars has been studied many times. In the late 1990's, NASA initiated a series of Mars Human Design Reference Missions (DRMs), the first of which was released in 1997. These studies primarily focused on evaluating the impact of making propellants on Mars for crew ascent to Mars orbit, but creating large caches of life support consumables (water & oxygen) as a backup for regenerative life support systems for long-duration surface stays (>500 days) was also considered in Mars DRM 3.0. Until science data from the Mars Odyssey orbiter and subsequent robotic missions revealed that water may be widely accessable across the surface of Mars, prior Mars ISRU studies were limited to processing Mars atmospheric resources (carbon dioxide, nitrogen, argon, oxygen, and water vapor). In December 2007, NASA completed the Mars Human Design Reference Architecture (DRA) 5.0 study which considered water on Mars as a potential resource for the first time in a human mission architecture. While knowledge of both water resources on Mars and the hardware required to excavate and extract the water were very preliminary, the study concluded that a significant reduction in mass and significant enhancements to the mission architecture were possible if Mars water resources were utilized. Two subsequent Mars ISRU studies aimed at reexamining ISRU technologies, processing options, and advancements in the state-of-the-art since 2007 and to better understand the volume and packaging associated with Mars ISRU systems further substantiated the preliminary results from the Mars DRA 5.0 study. This paper will provide an overview of Mars ISRU consumable production options, the analyses, results, and conclusions from the Mars DRA 5.0 (2007), Mars Collaborative (2013), and Mars ISRU Payload for the Supersonic Retro Propulsion (2014) mission studies, and the current state-of-the-art of Mars ISRU technologies and systems. The paper will also briefly discuss the mission architectural implications associated with Mars resource and ISRU processing options.

Sanders, G. B.↗

Performance Modeling and Measurement of Parallelized Code for Distributed Shared Memory Multiprocessors

This paper presents a model to evaluate the performance and overhead of parallelizing sequential code using compiler directives for multiprocessing on distributed shared memory (DSM) systems. With increasing popularity of shared address space architectures, it is essential to understand their performance impact on programs that benefit from shared memory multiprocessing. We present a simple model to characterize the performance of programs that are parallelized using compiler directives for shared memory multiprocessing. We parallelized the sequential implementation of NAS benchmarks using native Fortran77 compiler directives for an Origin2000, which is a DSM system based on a cache-coherent Non Uniform Memory Access (ccNUMA) architecture. We report measurement based performance of these parallelized benchmarks from four perspectives: efficacy of parallelization process; scalability; parallelization overhead; and comparison with hand-parallelized and -optimized version of the same benchmarks. Our results indicate that sequential programs can conveniently be parallelized for DSM systems using compiler directives but realizing performance gains as predicted by the performance model depends primarily on minimizing architecture-specific data locality overhead.

Waheed, Abdul↗

Mars 2020's First Sample: The Fractured Rough Rock Unit on the Floor of Jezero Crater

A central goal of the Mars 2020 mission is to select and cache samples for future return to Earth. The first samples targeted for collection are from the crater-retaining, Crater Floor Fractured Rough (CF-Fr) unit of Stack et al., 2020.The CF-Fr unit is a topographically low unit in the current Jezero setting, likely overlain by morphologically discrete units, including possible Jezero delta deposits and eolian features. CF-Fr is an aerially extensive unit with lobate margins. Two distinct morphologies are observed: a locally-exposed lower expression, with flat relatively horizontal light-toned surfaces and polygonal fracturing, and an upper expression consisting of up to ~5vertical meters of massive, sometimes boulder-producing, material. The locally-exposed lower expression appears to represent a local ground level in which the upper material has been removed. Near the Octavia E. Butler landing site, the lower morphology is exposed as polygonally-fractured, light-toned bedrock that appears to grade continuously into higher-standing massive outcrops, often with no clearly exposed contact. Further south, a darker upper expression of the CF-Fr unit is more distinct and the unit exhibits some horizontal layering. The Perseverance rover will initially sample the flat-lying expression of this unit. Hypotheses for the origin of CF-Fr include fluvial, aeolian, or lacustrine sediment likely derived from the Jezero watershed, and/or pyroclastic material resulting from regional volcanism. Geochronology of the returned sample could be used to help constrain the timing of geological events in Jezero. It may also help constrain stratigraphic relationships with crater-retaining units outside of Jezero within the Nili Planum, which could be used to calibrate the cratering chronology of Mars. Paleomagnetic analyses of an oriented sample could establish the history of the martian dynamo and whether it persisted into the Hesperian. Finally, if present, secondary phases within the primary deposit would help constrain diagenetic conditions and inform post-depositional aqueous and potentially habitable environmental conditions.

Justin I Simon↗

Using Transparent Informed Prefetching (TIP) to reduce file read latency

As processor performance gains continue to outstrip Input/Output gains, I/O performance is becoming critical to overall system performance. File read latency is the most significant bottleneck for high performance I/O. Other aspects of I/O performance benefit from recent advances in disk bandwidth and throughput resulting from disk arrays, and in write performance derived from buffered write behind and the Log-structured File System. The access gap problem limiting improvements in read latency is exacerbated by distributed file systems operating over networks with diverse bandwidth. Focus is on extending the power of caching and prefetching to reduce file read latencies by exploiting hints from high-levels of a system. Such Transparent Informed Prefetching, TIP, and its benefits are described. It is argued that hints that disclose high level knowledge are a means for transferring optimization information across, without violating, module boundaries. How TIP can be used to convert the high throughput of new technologies such as disk arrays and log-structured file systems into low latency for applications is discussed. Our preliminary experiments show reductions in wall - clock execution time of 13 percent and 20 percent for a multiple module compilation tool (make) accessing data on a local disk and remote Coda file server, respectively, and a reduction of 30 percent for a text search (grep) remotely accessing many small files.

Patterson, R. H.↗

RAID 7 disk array

Each RAID level reflects a different design architecture. Associated with each is a backdrop of imposed limitations, as well as possibilities which may be exploited within the architectural constraints of that level. There are three unique features that differentiate RAID 7 from all other levels. RAID 7 is asynchronous with respect to usage of I/O data paths. Each I/O drive (includes all data and one parity drives) as well as each host interface (there may be multiple host interfaces) has independent control and data paths. This means that each can be accessed completely, independently, of the other. This is facilitated by a separate device cache for each device/interface as well. RAID 7 is asynchronous with respect to device hierarchy and data bus utilization. Each drive and each interface is connected to a high speed data bus controlled by the embedded operating system to make independent transfers to and from central cache. RAID 7 is asynchronous with respect to the operation of an embedded real time process oriented operating system. This means that exclusive and independent of the host, or multiple host paths, the embedded OS manages all I/O transfers asynchronously across the data and parity drives. A key factor to consider is that of the RAID 7's ability to anticipate and match host I/O usage patterns. This yields the following benefits over RAID's built around micro-code based architectures. RAID 7 appears to the host as a normally connected Big Fast Disk (BFD). RAID 7 appears, from the perspective of the individual disk devices, to minimize the total number of accesses and optimize read/write transfer requests. RAID 7 smoothly integrates the random demands of independent users with the principles of spatial and temporal locality. This optimizes small, large, and time sequenced I/O requests which results in users having an I/O performance which approaches performance to that of main memory.

Stout, Lloyd↗

Thermal Design, Analysis, and Sensitivity of a Sample Tube on the Martian Surface

NASA will launch a rover to Mars in 2020 to collect and cache samples of Martian rocks and regolith for potential return to Earth on a future mission. The collected samples will be placed in tubes, hermetically sealed, and deposited on the surface of Mars for a period of up to 10 years. Preventing the deposited samples from overheating is an important consideration in order to ensure their scientific integrity. The samples are required to remain below 60 °C, however there is a goal to keep them below 40 °C. This temperature requirement is challenging, considering that the maximum surface temperature of Mars is 38 °C and the tube must be thermally controlled through only passive means. As a result, a significant effort has been made to design a tube to contain the samples and investigate innovative tube surface treatments that maintain proper sample temperatures without significant adverse effects of sample contamination. The tube uses a specialized aluminum oxide coating to prevent overheating on the Martian surface. The maximum predicted tube temperature is relatively insensitive to local thermal inertia, ground contact, and ground slope, but is very sensitive to landing site latitude and dust deposition. The maximum predicted sample temperature in the +/- 30° landing latitude range with worst case assumptions is 54 °C, but many of the potential landing sites have significantly cooler maximum predicted sample temperatures. This paper describes the thermal design, analysis, and sensitivity studies performed on the sample tubes and also discusses operational considerations.

Novak, Keith↗