linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jaroslav Tvrdy <jtvrdy@jaroslav-tvrdy.info>
To: linux-btrfs@vger.kernel.org
Subject: Very slow BTRFS
Date: Fri, 8 Feb 2013 11:55:50 +0100	[thread overview]
Message-ID: <CA+PhV5YWiMJmMhph7kSBS1MPbmxcjGAZRO43AJF7MMGck8WkMw@mail.gmail.com> (raw)

Hi i am very very slow BTRFS, when i am start use this FS, work OK,
but now is unusable
it is on SWraid and LVM, not problem in RAID

Copy 12MB (~30 6 subdirs jpegs)
# time cp -r directory ../../src/delme2
real	2m13.965s
user	0m0.008s
sys	0m0.191s
(91 kB/sec)

Fedora 18
kernel: 3.7.2-204.fc18.x86_64

modinfo:
filename:       /lib/modules/3.7.2-204.fc18.x86_64/kernel/fs/btrfs/btrfs.ko
license:        GPL
alias:          devname:btrfs-control
alias:          char-major-10-234
depends:        libcrc32c,zlib_deflate
intree:         Y
vermagic:       3.7.2-204.fc18.x86_64 SMP mod_unload

# btrfs fi df /ontap
Data: total=2.23TB, used=2.22TB
System, DUP: total=32.00MB, used=248.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=5.00GB, used=4.82GB

/dev/mapper/vol-data on /ontap type btrfs
(rw,noatime,nobarrier,space_cache)   ... i am don't use compression,
snapshots, subvolumes etc.

When i am upgrade distro kernel from 3.6 to 3.7 BTRFS run these process:
[ 7152.787631] btrfs: found 129 extents
[ 7154.094930] btrfs: relocating block group 20971520 flags 34
[ 7178.283544] btrfs: found 62 extents
[ 7179.230863] btrfs: relocating block group 4194304 flags 4
Yes i am waiting after process done, i am run test.

# btrfs filesystem show
Label: 'ontap'  uuid: bdfb22ce-0475-4e51-9726-62e76636763a
	Total devices 1 FS bytes used 2.23TB
	devid    1 size 2.73TB used 2.24TB path /dev/dm-0
Btrfs Btrfs v0.19


Jarda

                 reply	other threads:[~2013-02-08 10:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+PhV5YWiMJmMhph7kSBS1MPbmxcjGAZRO43AJF7MMGck8WkMw@mail.gmail.com \
    --to=jtvrdy@jaroslav-tvrdy.info \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).