5,466 research outputs found

    On the Theory of Spatial and Temporal Locality

    Get PDF
    This paper studies the theory of caching and temporal and spatial locality. We show the following results: (1) hashing can be used to guarantee that caches with limited associativity behave as well as fully associative cache; (2) temporal locality cannot be characterized using one, or few parameters; (3) temporal locality and spatial locality cannot be studied separately; and (4) unlike temporal locality, spatial locality cannot be managed efficiently online

    Ray casting implicit fractal surfaces with reduced affine arithmetic

    Get PDF
    A method is presented for ray casting implicit surfaces defined by fractal combinations of procedural noise functions. The method is robust and uses affine arithmetic to bound the variation of the implicit function along a ray. The method is also efficient due to a modification in the affine arithmetic representation that introduces a condensation step at the end of every non-affine operation. We show that our method is able to retain the tight estimation capabilities of affine arithmetic for ray casting implicit surfaces made from procedural noise functions while being faster to compute and more efficient to store

    Development and demonstration of an on-board mission planner for helicopters

    Get PDF
    Mission management tasks can be distributed within a planning hierarchy, where each level of the hierarchy addresses a scope of action, and associated time scale or planning horizon, and requirements for plan generation response time. The current work is focused on the far-field planning subproblem, with a scope and planning horizon encompassing the entire mission and with a response time required to be about two minutes. The far-feld planning problem is posed as a constrained optimization problem and algorithms and structural organizations are proposed for the solution. Algorithms are implemented in a developmental environment, and performance is assessed with respect to optimality and feasibility for the intended application and in comparison with alternative algorithms. This is done for the three major components of far-field planning: goal planning, waypoint path planning, and timeline management. It appears feasible to meet performance requirements on a 10 Mips flyable processor (dedicated to far-field planning) using a heuristically-guided simulated annealing technique for the goal planner, a modified A* search for the waypoint path planner, and a speed scheduling technique developed for this project

    Optimal Eviction Policies for Stochastic Address Traces

    Full text link
    The eviction problem for memory hierarchies is studied for the Hidden Markov Reference Model (HMRM) of the memory trace, showing how miss minimization can be naturally formulated in the optimal control setting. In addition to the traditional version assuming a buffer of fixed capacity, a relaxed version is also considered, in which buffer occupancy can vary and its average is constrained. Resorting to multiobjective optimization, viewing occupancy as a cost rather than as a constraint, the optimal eviction policy is obtained by composing solutions for the individual addressable items. This approach is then specialized to the Least Recently Used Stack Model (LRUSM), a type of HMRM often considered for traces, which includes V-1 parameters, where V is the size of the virtual space. A gain optimal policy for any target average occupancy is obtained which (i) is computable in time O(V) from the model parameters, (ii) is optimal also for the fixed capacity case, and (iii) is characterized in terms of priorities, with the name of Least Profit Rate (LPR) policy. An O(log C) upper bound (being C the buffer capacity) is derived for the ratio between the expected miss rate of LPR and that of OPT, the optimal off-line policy; the upper bound is tightened to O(1), under reasonable constraints on the LRUSM parameters. Using the stack-distance framework, an algorithm is developed to compute the number of misses incurred by LPR on a given input trace, simultaneously for all buffer capacities, in time O(log V) per access. Finally, some results are provided for miss minimization over a finite horizon and over an infinite horizon under bias optimality, a criterion more stringent than gain optimality.Comment: 37 pages, 3 figure

    Parallel Stack Distance Computation for the Least Recently Used Replacement Policy

    Get PDF
    In questa tesi è stato affrontato il problema del calcolo delle stack distance per la policy LRU. Il problema è relativamente banale se affrontato con un solo processore, ma per utilizzare il parallelismo è necessario fare diverse considerazioni a monte. La nostra strategia prevede l'utilizzo delle Macchine a Stati Finiti e del calcolo dei prefissi. Abbiamo ideato e testato un algoritmo che si avvale dei red-black tree per simulare lo stac

    Single conjugate adaptive optics for the ELT instrument METIS

    Get PDF
    The ELT is a 39m large, ground-based optical and near- to mid-infrared telescope under construction in the Chilean Atacama desert. Operation is planned to start around the middle of the next decade. All first light instruments will come with wavefront sensing devices that allow control of the ELT's intrinsic M4 and M5 wavefront correction units, thus building an adaptive optics (AO) system. To take advantage of the ELT's optical performance, full diffraction-limited operation is required and only a high performance AO system can deliver this. Further technically challenging requirements for the AO come from the exoplanet research field, where the task to resolve the very small angular separations between host star and planet, has also to take into account the high-contrast ratio between the two objects. We present in detail the results of our simulations and their impact on high-contrast imaging in order to find the optimal wavefront sensing device for the METIS instrument. METIS is the mid-infrared imager and spectrograph for the ELT with specialised high-contrast, coronagraphic imaging capabilities, whose performance strongly depends on the AO residual wavefront errors. We examined the sky and target sample coverage of a generic wavefront sensor in two spectral regimes, visible and near-infrared, to pre-select the spectral range for the more detailed wavefront sensor type analysis. We find that the near-infrared regime is the most suitable for METIS. We then analysed the performance of Shack-Hartmann and pyramid wavefront sensors under realistic conditions at the ELT, did a balancing with our scientific requirements, and concluded that a pyramid wavefront sensor is the best choice for METIS. For this choice we additionally examined the impact of non-common path aberrations, of vibrations, and the long-term stability of the SCAO system including high-contrast imaging performance.Comment: 37 pages, 27 figures, accepted for publication in Experimental Astronom
    corecore