Browse > Article

MOC: A Multiple-Object Clustering Scheme for High Performance of Page-out in BSD VM  

Yang, Jong-Cheol (광운대학교 컴퓨터과학과)
Ahn, Woo-Hyun (광운대학교 컴퓨터과학과)
Oh, Jae-Won (가톨릭대학교 컴퓨터정보공학부)
Abstract
The virtual memory system in 4.4 BSD operating systems exploits a clustering scheme to reduce disk I/Os in paging out (or flushing) modified pages that are intended to be replaced in order to make free rooms in memory. Upon the page out of a victim page, the scheme stores a cluster (or group) of modified pages contiguous with the victim in the virtual address space to swap disk at a single disk write. However, it fails to find large clusters of contiguous pages if applications change pages not adjacent with each other in the virtual address space. To address the problem, we propose a new clustering scheme called Multiple-Object Clustering (MOC), which together stores multiple clusters in the virtual address space at a single disk write instead of paging out the clusters to swap space at separate disk I/Os. This multiple-cluster transfer allows the virtual memory system to significantly decrease disk writes, thus improving the page-out performance. Our experiments in the FreeBSD 6.2 show that MOC improves the execution times of realistic benchmarks such as NS2, Scimark2 SOR, and nbench LU over the traditional clustering scheme ranging from 9 to 45%.
Keywords
virtual memory; page-out; clustering; swap disk I/O; BSD VM;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Bryant and O'Hallaron, Computer Systems: A Programmer's Perspective, pp.447-458, Prentice Hall, 2003.
2 N. Megiddo and D. S. Modha, "ARC: A selftuning, low overhead replacement cache," 2nd USENIX Conference on File and Storage Technologies (FAST 03), pp.115-130, 2003.
3 S. Bansal and D. Modha, "CAR: Clock with Adaptive Replacement," 3rd USENIX Comference on File and Storage Technologies (FAST 04), pp.187-200, 2004.
4 Alma Riska, James Larkby-Lahet and Eric Riedel, "Evaluating Block-level Optimization Through the IO Path," USENIX Annual Technical Conference, pp.247-260, 2007.
5 M. K. McKusick, K. Bostic, M. Karels, and J. Quarteman, The Design and Implementation of the 4.4BSD Operating System, Addison Wesley, 1996.
6 M. K. McKusick and G. V. Neville-Neil, The Design and Implementation of the FreeBSD Operating System, p. 179, Addison-Wesley, 2004.
7 P. Domingues, P. Marques, L. Silva, "Resource usage of Windows computer laboratories," ICPP 2005 Workshops, pp.469-476, 2005.
8 NS2 home page. Web site: http://www.isi.edu/nsnam/ns.
9 T. Johnson and D. Shasha, "2Q: A low overhead high performance buffer management replacement algorithm," VLDB Conference, pp. 297-306, 1994.
10 Y. Smaragdakis, S. Kaplan, and P. Wilson, "EELRU: simple and effective adaptive page replacement," ACM SIGMETRICS Conference, pp.122-133, 1999.
11 F. J. Corbato, "A Paging Experiment with the Multics System," MIT Project MAC Report MAC-M-384, 1968.
12 nbench benchmark home page. Web site: http://www.tux. org/~mayer/linux/bmark.html.
13 L. B. Sokolinsky, "LFU-K: An Effective Buffer Management Replacement Algorithm," DASFAA 2004, pp.670-681, 2004.
14 S. Jiang and X. Zhang, "LIRS: An efficient low inter-reference recency set replacement policy to improve buffer cache performance," ACM SIGMETRICS Conference, pp.31-42, 2002.
15 O. Babaoglu and D. Ferrari, "Two-level replacement decision in paging stores," IEEE Transactions on Computers, vol.C-32, no.12, pp.1151-1159, 1983.   DOI   ScienceOn
16 R. Cervera, T. Cortes, and Y. Becerra, "Improving Application Performance through Swap Compression," USENIX Annual Technical Conference, pp.207-218, 1999.
17 M.K. McKusick and G. V. Neville-Neil, The Design and Implementation of the FreeBSD Operating System, p.190, Addison-Wesley, 2004.
18 Scimark2 benchmark home pape. Web site: http://math.nist.gov/scimark2.
19 Black D. Carter J. Feinberg G. MacDonald R, Sciver JV, Wang P, Mangalat S, and Sheinbrood E, "OSF/1 virtual memory improvements," USENIX Mach Symposium, pp.87-104, 1991.
20 D. Lee, J. Choi, J.-H. Kim, S. H. Noh, S. L. Min, Y. Cho, and C. S. Kim, "LRFU: A spectrum of policies that subsumes the least recently used and least frequently used policies," IEEE Transactions on Computers, vol.50, no.12, pp.1352-1361, 2001.   DOI   ScienceOn
21 M. K. McKusick and G. V. Neville-Neil, The Design and Implementation of the FreeBSD Operating System, p.616, Addison-Wesley, 2004.
22 S. Jiang, F. Chen and X. Zhang, "CLOCK-Pro: An Effective Improvement of the CLOCK Replacement," USENIX 2005 Annual Technical Conference, pp.323-336, 2005.
23 E. J. O'Neil, P.E.O'Neil, and G. Weikum, "The LRU-K page replacement alorithm for database disk buffering," ACM SIGMOD Conference, pp.297-306, 1993.
24 FreeBSD, FreeBSD home page. Web site: http://www.freebsd.org.