From: Catalin Iacob <iacobcatalin@gmail.com>
To: Josef Bacik <josef@redhat.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Very slow mount
Date: Thu, 31 May 2012 21:42:25 +0200 [thread overview]
Message-ID: <CAHg_5gpF4GRdHrXZ-6tEnhZgyKwg7H4BbgtYnXXCxaMWcJytVA@mail.gmail.com> (raw)
In-Reply-To: <20120530210905.GD1887@localhost.localdomain>
On Wed, May 30, 2012 at 11:09 PM, Josef Bacik <josef@redhat.com> wrote:
> Hrm well being on root makes it hard to figure out what is going on. The mount
> stuff is all in reads but who knows whats going on. Can you do bootchart so I
> can see what threads are spawned, maybe the old caching stuff is getting tripped
> for some reason.
You can find the result of running bootchart here:
http://ctrlv.in/89812
> The next thought is to boot up with a rescue disk and mount
> while running latencytop -c (you'll need this patch
> http://oss.oracle.com/~mason/latencytop.patch) and post the output somewhere so
> we can see it.
I downloaded a daily snapshot of openSUSE Factory and booted that, it
has kernel 3.4.0. Mounting took less than 10 seconds but probably
still too much:
linux:/home/linux # time mount
-onoatime,space_cache,inode_cache,autodefrag,compress=lzo -t btrfs
/dev/sda8 /mnt/
real 0m3.769s
user 0m0.005s
sys 0m0.273s
Latencytop output is at:
https://gist.github.com/2845725
Thanks for your help,
Catalin
prev parent reply other threads:[~2012-05-31 19:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 20:38 Very slow mount Catalin Iacob
2012-05-30 21:09 ` Josef Bacik
2012-05-31 19:42 ` Catalin Iacob [this message]
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=CAHg_5gpF4GRdHrXZ-6tEnhZgyKwg7H4BbgtYnXXCxaMWcJytVA@mail.gmail.com \
--to=iacobcatalin@gmail.com \
--cc=josef@redhat.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).