Skip to main content

Regularity considerations in instance-based locality optimization

  • Conference paper
  • First Online:
Parallel and Distributed Processing (IPPS 1999)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1586))

Included in the following conference series:

Abstract

Instance-based locality optimization [6] is a semi-automatic program restructuring method that reduces the number of cache misses. The method imitates the human approach of considering several small program instances, optimizing the instances, and generalizing the structure of the solutions to the program under consideration. A program instance appears as a sequence of statement instances that are reordered for better locality. In [6], a local search algorithm was introduced that reorders the statement instances automatically.

This paper supplements [6] by introducing a second objective into the optimization algorithm for program instances: regularity. A sequence of statement instances is called regular if it can be written compactly using loops. We quantify the intuitive notion of regularity in an objective function, and incorporate this function into the local search algorithm. The functionality of the compound algorithm is demonstrated with examples, that also show trade-offs between locality and regularity.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aarts, E.H.L. and Lenstra, J.K.: Local Search in Combinatorial Optimization. Wiley, 1997

    Google Scholar 

  2. Cifuentes, C.: Structuring Decompiled Graphs. Int. Conf. on Compiler Construction, 1996, LNCS 1060, 91–105

    Google Scholar 

  3. Fenton, N.E.: Software Metrics—A Rigorous Approach. Chapman & Hall, 1991, Chapter 10

    Google Scholar 

  4. LaMarca, A. and Ladner, R.E.: The Influence of Caches on the Performance of Sorting. Proc. ACM SIGPLAN Symp. on Discrete Algorithms, 1997, 370–379

    Google Scholar 

  5. Koza, J.R.: Genetic Programming II. MIT Press, 1994

    Google Scholar 

  6. Leopold, C.: Arranging Statements and Data of Program Instances for Locality. Future Generation Computer Systems (to appear)

    Google Scholar 

  7. Muchnick, S.S.: Advanced Compiler Design and Implementation. Morgan Kaufmann, 1997

    Google Scholar 

  8. Wolf, M.E. and Lam, M.S.: A Data Locality Optimizing Algorithm. Proc. ACM SIGPLAN’91 Conf. on Programming Language Design and Implementation, 1991, 30–44

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

José Rolim Frank Mueller Albert Y. Zomaya Fikret Ercal Stephan Olariu Binoy Ravindran Jan Gustafsson Hiroaki Takada Ron Olsson Laxmikant V. Kale Pete Beckman Matthew Haines Hossam ElGindy Denis Caromel Serge Chaumette Geoffrey Fox Yi Pan Keqin Li Tao Yang G. Chiola G. Conte L. V. Mancini Domenique Méry Beverly Sanders Devesh Bhatt Viktor Prasanna

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag

About this paper

Cite this paper

Leopold, C. (1999). Regularity considerations in instance-based locality optimization. In: Rolim, J., et al. Parallel and Distributed Processing. IPPS 1999. Lecture Notes in Computer Science, vol 1586. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0097904

Download citation

  • DOI: https://doi.org/10.1007/BFb0097904

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65831-3

  • Online ISBN: 978-3-540-48932-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics