From: Felipe Contreras <felipe.contreras@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-btrfs@vger.kernel.org
Cc: Chris Mason <chris.mason@oracle.com>
Subject: Horrible btrfs performance on cold cache
Date: Mon, 11 Oct 2010 03:30:25 +0300 [thread overview]
Message-ID: <AANLkTin8mAaHz_PypS9j4vQ35WozgD==U493e3OW_sy2@mail.gmail.com> (raw)
Hi,
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.
Here's some stuff I got from latencytop, not sure if would be helpful:
4969.1ms
sys_mmap_pgoff
syscall_call
(chrome)
1139.9ms
sync_page
sync_page_killable
__lock_page_killable
generic_file_aio_read
do_sync_read
vfs_read
sys_read
sysenter_do_call
(chrome)
431.9ms
sync_page
wait_on_page_bit
read_extent_buffer_pages
btree_read_extent_buffer_pages
read_tree_block
read_block_for_search
btrfs_search_slot
lookup_inline_extent_backref
__btrfs_free_extent
run_clustered_refs
btrfs_run_delayed_refs
btrfs_commit_transaction
(btrfs)
Cheers.
--
Felipe Contreras
next reply other threads:[~2010-10-11 0:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 0:30 Felipe Contreras [this message]
2010-10-11 15:46 ` Horrible btrfs performance on cold cache Calvin Walton
2010-10-11 16:24 ` Chester
[not found] ` <AANLkTinQQ0Y4TcRQdRhLgeBJTcvbRyiaxxHuSeh2F0Pp@mail.gmail.com>
2010-10-11 19:16 ` Felipe Contreras
2010-10-11 21:01 ` Felipe Contreras
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='AANLkTin8mAaHz_PypS9j4vQ35WozgD==U493e3OW_sy2@mail.gmail.com' \
--to=felipe.contreras@gmail.com \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@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).