From: Sylvain Alain <d2racing911@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Kernel 3.7 + slower snapshot then usual
Date: Wed, 12 Dec 2012 23:26:02 -0500 [thread overview]
Message-ID: <CACR_K2tqKJQMSG-h3RaH4nSbrQLdJqxr-JVXfU5pbwfRHeqRZg@mail.gmail.com> (raw)
Hi guys, I noticed that now my snapshot take a long time to process :
sylvain@gentootux ~ $ df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
rootfs 112G 4,0G 103G 4% /
/dev/sda4 112G 4,0G 103G 4% /
tmpfs 7,9G 596K 7,9G 1% /run
udev 10M 0 10M 0% /dev
none 7,9G 0 7,9G 0% /dev/shm
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
tmpfs 12G 0 12G 0% /var/tmp/portage
/dev/sdb2 224G 52G 173G 23% /mnt/win_c
/dev/sdc2 912G 412G 500G 46% /mnt/win_d
sylvain@gentootux ~ $ su -
Mot de passe :
gentootux ~ # mount /dev/sda4 -o
noatime,ssd,discard,compress=lzo,noacl,space_cache,subvolid=0
/mnt/disklayout/
gentootux ~ # cd /mnt/disklayout/
gentootux disklayout # ls
@backup @racine
gentootux disklayout # time btrfs subvolume delete @backup
Delete subvolume '/mnt/disklayout/@backup'
real 0m0.020s
user 0m0.001s
sys 0m0.002s
gentootux disklayout # ls
@racine
gentootux disklayout # time btrfs subvolume snapshot @racine @backup
Create a snapshot of '@racine' in './@backup'
real 6m9.122s
user 0m0.000s
sys 0m0.523s
more then 6 minutes to snapshot 4 gigs of data, that's twice slower
then kernel 3.6.
Is there any log or something that I look after ?
sylvain@gentootux ~ $ sudo dmesg | grep -i btrfs
[ 0.371528] Btrfs loaded
[ 0.784593] btrfs: disk space caching is enabled
[ 0.788680] Btrfs detected SSD devices, enabling SSD mode
[ 0.789757] VFS: Mounted root (btrfs filesystem) readonly on device 0:12.
[ 4.881241] btrfs: use ssd allocation scheme
[ 4.881244] btrfs: use lzo compression
[ 4.881245] btrfs: disk space caching is enabled
[ 496.982616] btrfs: unlinked 14 orphans
Thanks !
--
Salut
alp
Sylvain
next reply other threads:[~2012-12-13 4:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 4:26 Sylvain Alain [this message]
2012-12-13 8:23 ` Kernel 3.7 + slower snapshot then usual Miao Xie
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=CACR_K2tqKJQMSG-h3RaH4nSbrQLdJqxr-JVXfU5pbwfRHeqRZg@mail.gmail.com \
--to=d2racing911@gmail.com \
--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).