Re: Horrible btrfs performance due to fragmentation

2010-11-01 Thread Felipe Contreras
On Mon, Nov 1, 2010 at 12:47 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Mon, Nov 01, 2010 at 12:36:58AM +0200, Felipe Contreras wrote: On Mon, Nov 1, 2010 at 12:25 AM, cwillu cwi...@cwillu.com wrote: btrfs fi defrag isn't recursive.  btrfs filesystem defrag /home will defragment the

Re: Horrible btrfs performance due to fragmentation

2010-11-01 Thread Gregory Maxwell
On Mon, Nov 1, 2010 at 11:58 AM, Felipe Contreras felipe.contre...@gmail.com wrote: Or when going through all the fragments of a file, have a counter, and if it exceeds certain limit mark it somehow, so that it gets defragmented at least to a certain extent. Thats elegant, — then resources are

Re: Horrible btrfs performance due to fragmentation

2010-11-01 Thread Chris Mason
[ resend, sorry if anyone sees this twice ] On Sun, Oct 31, 2010 at 09:58:18PM +0200, Felipe Contreras wrote: On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton calvin.wal...@gmail.com wrote: On Mon, 2010-10-11 at 03:30 +0300, Felipe Contreras wrote: I use btrfs on most of my volumes on my

Horrible btrfs performance due to fragmentation

2010-10-31 Thread Felipe Contreras
On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton calvin.wal...@gmail.com 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:

Re: Horrible btrfs performance due to fragmentation

2010-10-31 Thread cwillu
On Sun, Oct 31, 2010 at 1:58 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton calvin.wal...@gmail.com 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

Re: Horrible btrfs performance due to fragmentation

2010-10-31 Thread Hugo Mills
On Mon, Nov 01, 2010 at 12:36:58AM +0200, Felipe Contreras wrote: On Mon, Nov 1, 2010 at 12:25 AM, cwillu cwi...@cwillu.com wrote: btrfs fi defrag isn't recursive.  btrfs filesystem defrag /home will defragment the space used to store the folder, without touching the space used to store