Mantle: A Programmable Metadata Load Balancer for the Ceph File System

TitleMantle: A Programmable Metadata Load Balancer for the Ceph File System
Publication TypeConference Paper
Year of Publication2015
AuthorsSevilla, M, Watkins, N, Maltzahn, C, Nassi, I, Brandt, SA, Weil, SA, Farnum, G, Fineberg, S
Conference Name SC '15: Proceedings of the 2015 ACM/IEEE conference on Supercomputing
Date Published11/2015
Conference LocationAustin, TX, USA
Abstract

Migrating resources is a useful tool for balancing load in a distributed system, but it is difficult to determine when to move resources, where to move resources, and how much of them to move. We look at resource migration for file system metadata and show how CephFS's dynamic subtree partitioning approach can exploit varying degrees of locality and balance because it can partition the namespace into variable sized units. Unfortunately, the current metadata balancer is complicated and difficult to control because it struggles to address many of the general resource migration challenges inherent to the metadata management problem. To help decouple policy from mechanism, we introduce a programmable storage system that lets the designer inject custom balancing logic. We show the flexibility and transparency of this approach by replicating the strategy of a state-of-the-art metadata balancer and conclude by comparing this strategy to other custom balancers on the same system.