flexicache a flexible interface for customizing linux
play

FlexiCache: A Flexible Interface for Customizing Linux File System - PowerPoint PPT Presentation

FlexiCache: A Flexible Interface for Customizing Linux File System Buffer Cache Replacement Policies Pavan Konanki Ali R. Butt Motivation Many advanced replacement algorithms are available E.g. ARC [FAST 03], PCC [OSDI 04],


  1. FlexiCache: A Flexible Interface for Customizing Linux File System Buffer Cache Replacement Policies Pavan Konanki Ali R. Butt

  2. Motivation � Many advanced replacement algorithms are available � E.g. ARC [FAST ‘03], PCC [OSDI ‘04], CLOCK-PRO [ATC ’05] � Performance depends on application access patterns � ”Okay for all, best for none” standard approach � Improving cache performance for all applications is difficult � Use application level caching – impractical � Tailor replacement policy to the workload – excruciating � Designing new replacement algorithms is challenging � Should be studied in the kernel’s context [SIGMETRICS ’05] 2

  3. What can we do? � Allow easy incorporation of new replacement policies � Design a flexible, easy to use interface � Allow multiple replacement policies to coexist in the kernel � Support dynamic switching between algorithms 3

  4. Our contribution: FlexiCache ������������������������������������������������������������������������ ���������� ������ Policy 1 fetch_block() ����� ��������� Flexi Policy 2 ��������������� evict_block() Cache ���������������� � ����� register_daemon() Policy n Caching Subsystem 4

  5. Design challenges � Making the interface general � Accommodating disparate replacement algorithms � Exposing right amount of information � Hiding the cache mechanics completely 5

  6. Design stages � Analyze kernel caching subsystem code � Design and implement the FlexiCache interface � Evaluate impact on performance 6

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend