Skip to main content
Erschienen in: Soft Computing 2/2020

18.12.2019 | Foundations

A page replacement algorithm based on a fuzzy approach to improve cache memory performance

verfasst von: Davood Akbari Bengar, Ali Ebrahimnejad, Homayun Motameni, Mehdi Golsorkhtabaramiri

Erschienen in: Soft Computing | Ausgabe 2/2020

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The memory management in the operating system includes a part called the page replacement algorithms. Replacement algorithms in environments that require high-performance computing are considered as an important issue. For example, these algorithms are very important in cache management in microprocessors, web caching, replication strategies in distributed information systems and so on. Due to the important role of replacement algorithms in overcoming the problem of performance caused by the difference in processor speeds and memory, many algorithms were proposed. Most of them are the developed schemes of the least frequently used (LFU) and least recently used (LRU). Although most proposed designs can solve the LRU and LFU defects, they are implemented in a difficult way. The most important advantage of LRU and LFU is their simple implementation. This research proposes a page replacement algorithm that is simple to implement. The algorithm, which uses three parameters to cluster cache pages, is called the fuzzy page replacement algorithm. Whenever a miss occurs, it selects a page of the cluster with the lowest priority which has the smallest Euclidean distance with its center and then exits the cache. The most significant advantage of the algorithm is using the FCM (fuzzy c-means) algorithm to cluster pages, resulting in better replacement and hence higher memory performance.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
Zurück zum Zitat Abid SM, Youssef H (2010) Impact of one-timer/N-timer object classification on the performance of web cache replacement algorithms. In: 2010 IEEE/WIC/ACM international conference on web intelligence and intelligent agent technology (WI-IAT) 1, pp 208–211 Abid SM, Youssef H (2010) Impact of one-timer/N-timer object classification on the performance of web cache replacement algorithms. In: 2010 IEEE/WIC/ACM international conference on web intelligence and intelligent agent technology (WI-IAT) 1, pp 208–211
Zurück zum Zitat Akbari BD, Jazayeri RADH, Berenjian G (2012) An improvement in WRP block replacement policy with reviewing and solving its problems. Adv Comput Res 3:67–75 Akbari BD, Jazayeri RADH, Berenjian G (2012) An improvement in WRP block replacement policy with reviewing and solving its problems. Adv Comput Res 3:67–75
Zurück zum Zitat Albayrak S, Amasyali F (2003) Fuzzy c-means clustering on medical diagnostic systems. In: Proceedings of international twelfth turkish symposium on artificial intelligence and neural networks (TAINN 2003), Canakkale, Turkey (July 2003), pp 1–3 Albayrak S, Amasyali F (2003) Fuzzy c-means clustering on medical diagnostic systems. In: Proceedings of international twelfth turkish symposium on artificial intelligence and neural networks (TAINN 2003), Canakkale, Turkey (July 2003), pp 1–3
Zurück zum Zitat Bagchi S (2016) Distributed scheduling with probabilistic and fuzzy classifications of processes. Future Gener Comput Syst 62:1–16CrossRef Bagchi S (2016) Distributed scheduling with probabilistic and fuzzy classifications of processes. Future Gener Comput Syst 62:1–16CrossRef
Zurück zum Zitat Bansal S, Modha DS (2004) CAR: clock with adaptive replacement. FAST 4:187–200 Bansal S, Modha DS (2004) CAR: clock with adaptive replacement. FAST 4:187–200
Zurück zum Zitat Batra GK, Tomar P (2017) A novel longest distance first page replacement algorithm. Sci Technol 10:1–6 Batra GK, Tomar P (2017) A novel longest distance first page replacement algorithm. Sci Technol 10:1–6
Zurück zum Zitat Bezdek JC, Ehrlich R, Full W (1984) FCM: the fuzzy c-means clustering algorithm. Comput Geosci 10:191–203CrossRef Bezdek JC, Ehrlich R, Full W (1984) FCM: the fuzzy c-means clustering algorithm. Comput Geosci 10:191–203CrossRef
Zurück zum Zitat Borst S, Gupta V, Walid (2010) A distributed caching algorithms for content distribution networks. In: 2010 Proceedings of INFOCOM. IEEE, pp 1–9 Borst S, Gupta V, Walid (2010) A distributed caching algorithms for content distribution networks. In: 2010 Proceedings of INFOCOM. IEEE, pp 1–9
Zurück zum Zitat Chen K, Jin P, Yue L (2014) A novel page replacement algorithm for the hybrid memory architecture involving PCM and DRAM. In: IFIP international conference on network and parallel computing, pp 108–119 Chen K, Jin P, Yue L (2014) A novel page replacement algorithm for the hybrid memory architecture involving PCM and DRAM. In: IFIP international conference on network and parallel computing, pp 108–119
Zurück zum Zitat Cho S, Moakar LA (2009) Augmented Fifo cache replacement policies for low-power embedded processors. J Circuits Syst Comput 18:1081–1092CrossRef Cho S, Moakar LA (2009) Augmented Fifo cache replacement policies for low-power embedded processors. J Circuits Syst Comput 18:1081–1092CrossRef
Zurück zum Zitat Gupta MR, Tokekar S (2010a) A novel pair of replacement algorithms on L1 and L2 cache for FFT. Int J Comput Sci Eng 2:92–97 Gupta MR, Tokekar S (2010a) A novel pair of replacement algorithms on L1 and L2 cache for FFT. Int J Comput Sci Eng 2:92–97
Zurück zum Zitat Gupta R, Tokekar S (2010b) Proficient pair of replacement algorithms on L1 and L2 cache for merge sort. Computing 2:2151–9617 Gupta R, Tokekar S (2010b) Proficient pair of replacement algorithms on L1 and L2 cache for merge sort. Computing 2:2151–9617
Zurück zum Zitat Hosseini-Khayat S (2000) On Optimal replacement of nonuniform cache objects. IEEE Trans Comput 49:769–778CrossRef Hosseini-Khayat S (2000) On Optimal replacement of nonuniform cache objects. IEEE Trans Comput 49:769–778CrossRef
Zurück zum Zitat Khaleel MSA, Osman SEF, Sirour HAN (2017) Average least frequency used (ALFUR) cache replacement technology USING intelligent agents. In: International conference on communication, control, computing and electronics engineering (ICCCCEE) (2017), pp 1–5 Khaleel MSA, Osman SEF, Sirour HAN (2017) Average least frequency used (ALFUR) cache replacement technology USING intelligent agents. In: International conference on communication, control, computing and electronics engineering (ICCCCEE) (2017), pp 1–5
Zurück zum Zitat Kim S, Hwang SH, Kwak JW (2018) Adaptive-classification CLOCK: page replacement policy based on read/write access pattern for hybrid DRAM and PCM main memory. Microprocess Microsyst 57:65–75CrossRef Kim S, Hwang SH, Kwak JW (2018) Adaptive-classification CLOCK: page replacement policy based on read/write access pattern for hybrid DRAM and PCM main memory. Microprocess Microsyst 57:65–75CrossRef
Zurück zum Zitat Kumaar R, Sharma A, Bhaskar M (2016) Reference table based cache design using LRU replacement algorithm for Last Level Cache. In: Region 10 conference (TENCON), 2016. IEEE, pp 2219–2223 Kumaar R, Sharma A, Bhaskar M (2016) Reference table based cache design using LRU replacement algorithm for Last Level Cache. In: Region 10 conference (TENCON), 2016. IEEE, pp 2219–2223
Zurück zum Zitat Kushwah JS, Tamrakar S (2017) An extensive review of webs caching techniques to reduce cache pollution. Imp J Interdiscip Res 3:111–118 Kushwah JS, Tamrakar S (2017) An extensive review of webs caching techniques to reduce cache pollution. Imp J Interdiscip Res 3:111–118
Zurück zum Zitat Liu Y, Ni W, Ge Z (2017) Fuzzy decision fusion system for fault classification with analytic hierarchy process approach. Chemom Intell Lab Syst 166:61–68CrossRef Liu Y, Ni W, Ge Z (2017) Fuzzy decision fusion system for fault classification with analytic hierarchy process approach. Chemom Intell Lab Syst 166:61–68CrossRef
Zurück zum Zitat Ma T, Hao Y, Shen W, Tian Y, Al-dhelaan A, Al-Rodhaan M (2018a) An improved web cache replacement algorithm based on weighting and cost. IEEE Access 6:27010–27017CrossRef Ma T, Hao Y, Shen W, Tian Y, Al-dhelaan A, Al-Rodhaan M (2018a) An improved web cache replacement algorithm based on weighting and cost. IEEE Access 6:27010–27017CrossRef
Zurück zum Zitat Ma T, Qu J, Shen W, Tian Y, Al-Dhelaan A, Al-Rodhaan M (2018b) Weighted greedy dual size frequency based caching replacement algorithm. IEEE Access 6:7214–7223CrossRef Ma T, Qu J, Shen W, Tian Y, Al-Dhelaan A, Al-Rodhaan M (2018b) Weighted greedy dual size frequency based caching replacement algorithm. IEEE Access 6:7214–7223CrossRef
Zurück zum Zitat Matick RE, Moreno JH, Ware MS (2011) Cache line replacement techniques allowing choice of LFU or MFU cache line replacement. International Business Machines Corp, U.S. Patent 7,958,311 Matick RE, Moreno JH, Ware MS (2011) Cache line replacement techniques allowing choice of LFU or MFU cache line replacement. International Business Machines Corp, U.S. Patent 7,958,311
Zurück zum Zitat Megiddo N, Modha DS (2003) ARC: a self-tunning, low overhead replacement cache. In: Proceedings of Usenix conference on file and storage technologies (FAST 2003), pp 115–130 Megiddo N, Modha DS (2003) ARC: a self-tunning, low overhead replacement cache. In: Proceedings of Usenix conference on file and storage technologies (FAST 2003), pp 115–130
Zurück zum Zitat Melin P, Castillo O (2014) A review on type-2 fuzzy logic applications in clustering, classification and pattern recognition. Appl Soft Comput 21:568–577CrossRef Melin P, Castillo O (2014) A review on type-2 fuzzy logic applications in clustering, classification and pattern recognition. Appl Soft Comput 21:568–577CrossRef
Zurück zum Zitat Negrão PA, Roque C, Ferreira P, Veiga L (2015) An adaptive semantics-aware replacement algorithm for web caching. Internet Serv Appl 6:1–14CrossRef Negrão PA, Roque C, Ferreira P, Veiga L (2015) An adaptive semantics-aware replacement algorithm for web caching. Internet Serv Appl 6:1–14CrossRef
Zurück zum Zitat O’Neil EJ, O’Neil PE, Weikum G (1999) An optimality proof of the LRU-K page replacement algorithm. J ACM 46:92–112MathSciNetCrossRef O’Neil EJ, O’Neil PE, Weikum G (1999) An optimality proof of the LRU-K page replacement algorithm. J ACM 46:92–112MathSciNetCrossRef
Zurück zum Zitat Olanrewaju RF, Azman AW, Yaacob M (2016) Intelligent web proxy cache replacement algorithm based on adaptive weight ranking policy via dynamic aging. Indian J Sci Technol 9:0974–5645 Olanrewaju RF, Azman AW, Yaacob M (2016) Intelligent web proxy cache replacement algorithm based on adaptive weight ranking policy via dynamic aging. Indian J Sci Technol 9:0974–5645
Zurück zum Zitat Park S, Jung D, Kang J, Kim J, Lee J (2006) CFLRU: a replacement algorithm for flash memory. In: CASES ‘06 Proceedings of the 2006 international conference on compilers, architecture and synthesis for embedded systems, pp 234–241 Park S, Jung D, Kang J, Kim J, Lee J (2006) CFLRU: a replacement algorithm for flash memory. In: CASES ‘06 Proceedings of the 2006 international conference on compilers, architecture and synthesis for embedded systems, pp 234–241
Zurück zum Zitat Prischepa VV (2004) An efficient web caching algorithm based on LFU-K replacement policy. In: Proceedings of the spring young researcher’s colloquium on database and information. IEEE, pp 23–26 Prischepa VV (2004) An efficient web caching algorithm based on LFU-K replacement policy. In: Proceedings of the spring young researcher’s colloquium on database and information. IEEE, pp 23–26
Zurück zum Zitat Priya BK, Kumar S, Begum BS, Ramasubramanian N (2019) Cache lifetime enhancement technique using hybrid cache-replacement-policy. Microelectron Reliab 97:1–15CrossRef Priya BK, Kumar S, Begum BS, Ramasubramanian N (2019) Cache lifetime enhancement technique using hybrid cache-replacement-policy. Microelectron Reliab 97:1–15CrossRef
Zurück zum Zitat Samiee K (2009) A replacement algorithm based on weighting and ranking cache objects. Int J Hybrid Inf Technol 2:93–104 Samiee K (2009) A replacement algorithm based on weighting and ranking cache objects. Int J Hybrid Inf Technol 2:93–104
Zurück zum Zitat Sayiraman S, Dayalan SK, Subbiah SM (2002) A framework for MF-LRU replacement policy. School of Computer Science and Engineering, College of Engineering Guindy, Anna University, Chennai, India, pp 1–5 Sayiraman S, Dayalan SK, Subbiah SM (2002) A framework for MF-LRU replacement policy. School of Computer Science and Engineering, College of Engineering Guindy, Anna University, Chennai, India, pp 1–5
Zurück zum Zitat Sheu JP, Chuo YC (2016) Wildcard rules caching and cache replacement algorithms in software-defined networking. IEEE Trans Netw Serv Manag 13:19–29CrossRef Sheu JP, Chuo YC (2016) Wildcard rules caching and cache replacement algorithms in software-defined networking. IEEE Trans Netw Serv Manag 13:19–29CrossRef
Zurück zum Zitat Songwattana A, Theeramunkong T, Vinh PC (2014) A learning-based approach for web cache management. Mobile Netw Appl 19:258–271CrossRef Songwattana A, Theeramunkong T, Vinh PC (2014) A learning-based approach for web cache management. Mobile Netw Appl 19:258–271CrossRef
Zurück zum Zitat Tam HH, Leung MF, Wang Z, Ng SC, Cheung CC, Lui AK (2016) Improved adaptive global replacement scheme for MOEA/D-AGR. INn: 2016 IEEE Congress on evolutionary computation (CEC), pp 2153–2160 Tam HH, Leung MF, Wang Z, Ng SC, Cheung CC, Lui AK (2016) Improved adaptive global replacement scheme for MOEA/D-AGR. INn: 2016 IEEE Congress on evolutionary computation (CEC), pp 2153–2160
Zurück zum Zitat Tsai HB, Lei CL (2017) A page replacement algorithm based on frequency derived from reference history. In: Proceedings of the symposium on applied computing, Marrakech, Morocco, April 3–7, pp 1522–1527 Tsai HB, Lei CL (2017) A page replacement algorithm based on frequency derived from reference history. In: Proceedings of the symposium on applied computing, Marrakech, Morocco, April 3–7, pp 1522–1527
Zurück zum Zitat Vijendran AS, Thavamani S (2014) Least recently used replica replacement technique in distributed computing network. In: 2014 International conference on intelligent computing applications (ICICA), pp 104–108 Vijendran AS, Thavamani S (2014) Least recently used replica replacement technique in distributed computing network. In: 2014 International conference on intelligent computing applications (ICICA), pp 104–108
Zurück zum Zitat Wang YL, Lee BJ, Lee JJ, Youn HY (2015) A PSO-Based buffer management scheme for improving hit ratio of solid state drive. In: 5th international conference on IT convergence and security (ICITCS), pp 1–5 Wang YL, Lee BJ, Lee JJ, Youn HY (2015) A PSO-Based buffer management scheme for improving hit ratio of solid state drive. In: 5th international conference on IT convergence and security (ICITCS), pp 1–5
Zurück zum Zitat Wang Y, Yang Y, Han C, Ye L, Ke Y, Wang Q (2019) LR-LRU: a PACS-Oriented intelligent cache replacement policy. IEEE Access 7:8073–58084 Wang Y, Yang Y, Han C, Ye L, Ke Y, Wang Q (2019) LR-LRU: a PACS-Oriented intelligent cache replacement policy. IEEE Access 7:8073–58084
Zurück zum Zitat Xu F, Li Y, Gu J (2015) Semantic cache replacement strategy for XML algebra-based query optimization. Wuhan Univ J Natl Sci 20:165–172MathSciNetCrossRef Xu F, Li Y, Gu J (2015) Semantic cache replacement strategy for XML algebra-based query optimization. Wuhan Univ J Natl Sci 20:165–172MathSciNetCrossRef
Zurück zum Zitat Yang P, Wang Q, Ye H, Zhang Z (2019) Partially shared cache and adaptive replacement algorithm for NoC-based many-core systems. Syst Archit 98:424–433CrossRef Yang P, Wang Q, Ye H, Zhang Z (2019) Partially shared cache and adaptive replacement algorithm for NoC-based many-core systems. Syst Archit 98:424–433CrossRef
Zurück zum Zitat Zhao Y, Ma T, Hao Y, Shen W, Tian Y, Al-Dhelaan A (2019) ICRA: index based cache replacement algorithm for cloud storage. Int J Sens Netw 29:48–57CrossRef Zhao Y, Ma T, Hao Y, Shen W, Tian Y, Al-Dhelaan A (2019) ICRA: index based cache replacement algorithm for cloud storage. Int J Sens Netw 29:48–57CrossRef
Zurück zum Zitat Zhu Q, Shankar A, Zhou Y (2004) PB-LRU: a selftuning power aware storage cache replacement algorithm for conserving disk energy. Department of Computer Science University of Illinois at Urbana Champaign, Urbaba, IL 61801, ICS’04, June 26–July 1, Malo, France, pp 79–88 Zhu Q, Shankar A, Zhou Y (2004) PB-LRU: a selftuning power aware storage cache replacement algorithm for conserving disk energy. Department of Computer Science University of Illinois at Urbana Champaign, Urbaba, IL 61801, ICS’04, June 26–July 1, Malo, France, pp 79–88
Zurück zum Zitat Zou X, Chen C (2016) HQ: an architecture for web cache replacement algorithms in distributed systems. In: International conference on computer and communication engineering (ICCCE), pp 78–83 Zou X, Chen C (2016) HQ: an architecture for web cache replacement algorithms in distributed systems. In: International conference on computer and communication engineering (ICCCE), pp 78–83
Metadaten
Titel
A page replacement algorithm based on a fuzzy approach to improve cache memory performance
verfasst von
Davood Akbari Bengar
Ali Ebrahimnejad
Homayun Motameni
Mehdi Golsorkhtabaramiri
Publikationsdatum
18.12.2019
Verlag
Springer Berlin Heidelberg
Erschienen in
Soft Computing / Ausgabe 2/2020
Print ISSN: 1432-7643
Elektronische ISSN: 1433-7479
DOI
https://doi.org/10.1007/s00500-019-04624-w

Weitere Artikel der Ausgabe 2/2020

Soft Computing 2/2020 Zur Ausgabe