On Mon, Nov 26, 2018 at 7:00 AM Marvin Zhang <fanzier@xxxxxxxxx> wrote: > > Hi CephFs Experts, > I found that MDCache::trim_lru() will take more than 2s sometime, is > it as expected? And it seems like to hold mds_lock at that time, which > cause other client request can't be processed. > Thanks, > Marvin It's definitely not supposed to, but we've started noticing some performance issues with extremely large MDS cache sizes. How much memory did you give the cache, and what is your system configuration?