Skip to main content

Implementation of Fast Address-Space Switching and TLB Sharing on the StrongARM Processor

  • Conference paper
Advances in Computer Systems Architecture (ACSAC 2003)

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

Included in the following conference series:

Abstract

The StrongARM processor features virtually-addressedcaches and a TLB without address-space tags. A naive implementation therefore requires flushing of all CPU caches and the TLB on each context switch, which is very costly. We present an implementation of fast context switches on the architecture in both Linux and the L4 microkernel. It is based on using domain tags as address-space identifiers and delaying cache flushes until a clash of mappings is detected. We observe a reduction of the context-switching overheads by about an order of magnitude compared to the naive scheme presently implemented in Linux.

We also implemented sharing of TLB entries for shared pages, a natural extension of the fast-context-switch approach. Even though the TLBs of the StrongARM are quite small and a potential bottleneck, we found that benefits from sharing TLB entries are generally marginal, and can only be expected to be significant under very restrictive conditions.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Liedtke, J., Elphinstone, K., Schönberg, S., Härtig, H., Heiser, G., Islam, N., Jaeger, T.: Achieved IPC performance (still the foundation for extensibility). In: Proceedings of the 6th Workshop on Hot Topics in Operating Systems (HotOS), Cape Cod, MA, USA, pp. 28–31 (1997)

    Google Scholar 

  2. Jagger, D. (ed.): Advanced RISC Machines Architecture Reference Manual. Prentice-Hall, Englewood Cliffs (1995)

    Google Scholar 

  3. ITRON Committee, TRON Association: μITRON4.0 Specification (1999), http://www.ertl.jp/ITRON/SPEC/mitron4-e.html

  4. Liedtke, J.: On μ-kernel construction. In: Proceedings of the 15th ACM Symposium on OS Principles (SOSP), Copper Mountain, CO, USA, pp. 237–250 (1995)

    Google Scholar 

  5. Mery, D.: Symbian OSversion 7.0 functional description. White paper, Symbian Ltd. (2003), http://www.symbian.com/technology/whitepapers.html

  6. Wiggins, A., Heiser, G.: Fast address-space switching on the StrongARM SA- 1100 processor. In: Proceedings of the 5th Australasian Computer Architecture Conference (ACAC), Canberra, Australia, pp. 97–104. IEEE CS Press, Los Alamitos (2000)

    Google Scholar 

  7. L4Ka Team: L4Ka — Pistachio kernel (2003), http://l4ka.org/projects/pistachio/

  8. Chase, J.S., Levy, H.M., Feeley, M.J., Lazowska, E.D.: Sharing and protection in a single-address-space operating system. ACM Transactions on Computer Systems 12, 271–307 (1994)

    Article  Google Scholar 

  9. Heiser, G., Elphinstone, K., Vochteloo, J., Russell, S., Liedtke, J.: The Mungi single-address-space operating system. Software: Practice and Experience 28, 901–928 (1998)

    Article  Google Scholar 

  10. Intel Corp.: Intel StrongARM SA-1100 Microprocessor Developer’s Manual (1999)

    Google Scholar 

  11. Murray, J.: Inside Microsoft Windows CE. Microsoft Press (1998)

    Google Scholar 

  12. McVoy, L., Staelin, C.: lmbench: Portable tools for performance analysis. In: Proceedings of the 1996 USENIX Technical Conference, San Diego, CA, USA (1996)

    Google Scholar 

  13. Chapman, M., Wienand, I., Heiser, G.: Itanium page tables and TLB. Technical Report UNSW-CSE-TR-0307, School of Computer Science and Engineering, University of NSW, Sydney 2052, Australia (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Wiggins, A., Tuch, H., Uhlig, V., Heiser, G. (2003). Implementation of Fast Address-Space Switching and TLB Sharing on the StrongARM Processor. In: Omondi, A., Sedukhin, S. (eds) Advances in Computer Systems Architecture. ACSAC 2003. Lecture Notes in Computer Science, vol 2823. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39864-6_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-39864-6_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20122-9

  • Online ISBN: 978-3-540-39864-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics