From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Contreras Subject: Re: Horrible btrfs performance on cold cache Date: Tue, 12 Oct 2010 00:01:35 +0300 Message-ID: References: <1286811979.9645.5.camel@ayu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Linux Kernel Mailing List , linux-btrfs@vger.kernel.org, Chris Mason To: Calvin Walton Return-path: In-Reply-To: <1286811979.9645.5.camel@ayu> List-ID: On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton wrote: > On Mon, 2010-10-11 at 03:30 +0300, Felipe Contreras wrote: >> I use btrfs on most of my volumes on my laptop, and I've always felt >> booting was very slow, but definitely sure is slow, is starting up >> Google Chrome: >> >> encrypted ext4: ~20s >> btrfs: ~2:11s >> >> I have tried different things to find out exactly what is the issue, >> but haven't quite found it yet. > > If you've been using this volume for a while, it could just have become > badly fragmented. You could try btrfs's fancy online defragmentation > abilities to see if that'll give you an improvement: > > # btrfs filesystem defragment /mountpoint/of/volume > > Let us know if that helps, of course :) ~2:06s, so it helped a bit, but not much really, there's still something fishy going on. -- Felipe Contreras