Skip to main content

Physical Memory Management with Two Page Sizes in Tender OS

  • Conference paper
  • First Online:
Advances in Networked-Based Information Systems (NBiS 2021)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 313))

Included in the following conference series:

  • 420 Accesses

Abstract

Physical memory capacity has increased owing to large-scale integration. In addition, memory footprints have increased in size, as multiple programs are executed on a single computer. Many operating systems manage physical memory by paging a 4 KB page. Therefore, the number of entries in the virtual address translation table for virtual to physical increases along with the size of the memory footprints. This cause a decrease in the translation lookaside buffer (TLB) hit ratio, resulting in the performance degradation of the application. To address this problem, we propose the implementation of physical memory management with two page sizes: 4 KB and 4 MB. This allows us to expand range of addresses to be translated by a single TLB entry, thereby improving the TLB hit rate. This paper describes the design and implementation of the physical memory management mechanism that manages physical memory using two page sizes on The ENduring operating system for Distributed EnviRonment ( OS). Our results showed that when the page size is 4 MB, the processing time of the memory allocation can be reduced by as much as approximately 99.7%, and the processing time for process creation can be reduced by as much as approximately 51%, and the processing time of the memory operation could be reduced by as much as 91.9%.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.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

References

  1. Persistent huge pages in Linux. https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt

  2. Tender project. https://www.swlab.cs.okayama-u.ac.jp/lab/tani/research/tender/index.html

  3. Transparent huge pages in Linux. https://www.kernel.org/doc/Documentation/vm/transhuge.txt

  4. Windows large page support. https://docs.microsoft.com/en-us/windows/win32/memory/large-page-support

  5. Kwon, Y., et al.: Coordinated and efficient huge page management with ingens. In: 12th USENIX Symposium on Operating Systems Design and Implementation, pp. 705–721 (2016)

    Google Scholar 

  6. Michailidis, T., et al.: Mega: Overcoming traditional problems with OS huge page management. In: Proceedings of 12th ACM International Conference on Systems and Storage, pp. 121–131 (2019)

    Google Scholar 

  7. Panwar, A., et al.: Making huge pages actually useful. In: Proceedings of Twenty-Third International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 679–692 (2018)

    Google Scholar 

  8. Panwar, A., et al.: Hawkeye: efficient fine-grained OS support for huge pages. In: Proceedings of Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 347–360 (2019)

    Google Scholar 

  9. Park, C.H., et al.: Perforated page: supporting fragmented memory allocation for large pages. In: 2020 ACM/IEEE 47th Annual International Symposium on Computer Architecture, pp. 913–925 (2020)

    Google Scholar 

  10. Zhu, W., et al.: A comprehensive analysis of superpage management mechanisms and policies. In: 2020 USENIX Annual Technical Conference, pp. 829–842 (2020)

    Google Scholar 

Download references

Acknowledgements

This research was partially supported by Grant-in-Aid for Scientific Research 21K11830.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Koki Kusunoki .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kusunoki, K., Yamauchi, T., Taniguchi, H. (2022). Physical Memory Management with Two Page Sizes in Tender OS. In: Barolli, L., Chen, HC., Enokido, T. (eds) Advances in Networked-Based Information Systems. NBiS 2021. Lecture Notes in Networks and Systems, vol 313. Springer, Cham. https://doi.org/10.1007/978-3-030-84913-9_22

Download citation

Publish with us

Policies and ethics