From: Sergei Trofimovich <slyich@gmail.com>
To: Ahmet Inan <ainan@mathematik.uni-freiburg.de>
Cc: Josef Bacik <josef@redhat.com>, cwillu <cwillu@cwillu.com>,
Calvin Walton <calvin.walton@kepstin.ca>,
linux-btrfs@vger.kernel.org, Chris Mason <chris.mason@oracle.com>
Subject: Re: Boot speed/mount time regression with 3.4.0-rc2
Date: Sun, 22 Apr 2012 10:59:19 +0300 [thread overview]
Message-ID: <20120422105919.28b027a0@sf.home> (raw)
In-Reply-To: <CAFDW0jKRig6GTB4Oq4VG8xZQN4ArUnft1X9ST7cfyLHFTUs4NA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2044 bytes --]
On Sat, 21 Apr 2012 22:54:41 +0200
Ahmet Inan <ainan@mathematik.uni-freiburg.de> wrote:
> On Fri, Apr 13, 2012 at 3:47 PM, Josef Bacik <josef@redhat.com> wrote:
> > On Fri, Apr 13, 2012 at 02:26:19PM +0200, Ahmet Inan wrote:
> >> On Fri, Apr 13, 2012 at 1:22 PM, Ahmet Inan
> >> <ainan@mathematik.uni-freiburg.de> wrote:
> >> > On Fri, Apr 13, 2012 at 8:49 AM, cwillu <cwillu@cwillu.com> wrote:
> >> >>> dmesg and fstab attached as requested.
> >> >>
> >> >> Need dmesg after you've hit alt-sysrq-w a couple times during the slow period.
> >> >
> >> > here.
> >> >
> >> > i guess i should also increase dmesg history size next time.
> >> > other than the slow boot, everything seems normal after 10-20minutes.
> >> >
> >> > fyi: the space_cache option is not really helping with those
> >> > twenty computers. the one thing i observed is, that sometimes
> >> > they reboot fast and only to reboot slow again after that.
> >>
> >> sorry for spaming the list with my dmesg files,
> >> please tell me, how i could do better.
> >>
> >> here a more complete dmesg.
> >
> > Hrm so you are getting blocked task warnings just trying to mount the
> > filesystem, so either your disk is really really really slow or there's
> > something bigger going on. Let me think about this some and I'll get back to
> > you.
>
> Josef, i finally found out something:
>
> btrfs in kernel => fast boot
> btrfs as module => very slow boot
>
> and here see the results:
> http://aam.mathematik.uni-freiburg.de/IAM/homepages/ainan/bootchart_btrfs_in_kernel.png
>
> this is much, much better!
>
> I dont understand why btrfs as a module performs that bad on rotating disk.
> On SSD i had no issues and also i never used space_cache before.
There is a suspiction that putting space_cache (or anything else) to fstab for rootfs
does not get applied due to a bug:
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg16039.html
Do all of your affected computers run 3.4.0-rc kernels?
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-04-22 7:59 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-09 15:53 Boot speed/mount time regression with 3.4.0-rc2 Calvin Walton
2012-04-09 16:08 ` cwillu
2012-04-09 17:10 ` Calvin Walton
2012-04-09 17:14 ` Josef Bacik
2012-04-09 20:54 ` Josef Bacik
2012-04-09 21:20 ` Calvin Walton
2012-04-10 13:08 ` Josef Bacik
2012-04-10 15:16 ` Josef Bacik
2012-04-10 16:04 ` Calvin Walton
2012-04-10 16:29 ` David Sterba
2012-04-10 16:34 ` Calvin Walton
2012-04-11 15:26 ` Ahmet Inan
2012-04-11 17:04 ` Josef Bacik
2012-04-12 9:22 ` Ahmet Inan
2012-04-12 13:37 ` Josef Bacik
2012-04-12 14:23 ` Josef Bacik
2012-04-13 6:26 ` Ahmet Inan
2012-04-13 6:49 ` cwillu
2012-04-13 11:22 ` Ahmet Inan
[not found] ` <CAFDW0jKMEQ+oMN41euh1cMy4h+6Qntt5UL9+0HZw4r9SpDJVvQ@mail.gmail.com>
2012-04-13 12:57 ` cwillu
2012-04-13 13:20 ` Ahmet Inan
2012-04-13 13:47 ` Josef Bacik
2012-04-21 20:54 ` Ahmet Inan
2012-04-22 7:59 ` Sergei Trofimovich [this message]
2012-04-22 9:16 ` Ahmet Inan
2012-04-22 13:57 ` Ahmet Inan
2012-05-03 13:40 ` Ahmet Inan
2012-04-11 16:38 ` Chester
2012-04-11 18:24 ` Josef Bacik
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=20120422105919.28b027a0@sf.home \
--to=slyich@gmail.com \
--cc=ainan@mathematik.uni-freiburg.de \
--cc=calvin.walton@kepstin.ca \
--cc=chris.mason@oracle.com \
--cc=cwillu@cwillu.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).