linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kai Krakow <hurikhan77+btrfs@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Btrfs might be gradually slowing the boot process
Date: Sat, 09 Nov 2013 11:57:43 +0100	[thread overview]
Message-ID: <72h1la-adf.ln1@hurikhan77.spdns.de> (raw)
In-Reply-To: 527d2ee689e077.81319728@wp.pl

yzb3@wp.pl <yzb3@wp.pl> schrieb:

> I recently noticed that my boot has become slower - it took around 29s,
> while at the beginning it was ~6s. I thought it was an issue with systemd,
> because it failed to properly indicate at which stage the slowdown
> occurred and how long it took. I rolled back to a pretty fresh root
> subvolume and the boot was fast again. However, after several reboots it
> started lagging again (10s? preposterous!). I decided to try the
> *clear_cache* mount option; it was only a guess, but it did speed the boot
> to the proper ~6s.
> 
> The question is - why? My filesystem is really small - I see no reason for
> a 5x boot slowdown. Is this a known issue? I will be glad to give any
> additional details about my fs.

I'm using a similar setup (although my btrfs rootfs is a 3 disk array and is 
more or less huge) and I didn't see such a vast boot slowdown. Did you check 
that systemd is actually using the readahead services which will relocate 
and defragment your boot files automatically?

HTH
Kai


  parent reply	other threads:[~2013-11-09 10:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08 18:35 Btrfs might be gradually slowing the boot process yzb3
2013-11-08 19:38 ` Shridhar Daithankar
2013-11-09 10:57 ` Kai Krakow [this message]
2013-11-10  4:53   ` Chris Murphy
2013-11-10 11:14     ` Duncan
2013-11-10 12:54       ` Russell Coker
2013-11-10 16:07     ` Kai Krakow
2013-11-10 16:09       ` Hugo Mills

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=72h1la-adf.ln1@hurikhan77.spdns.de \
    --to=hurikhan77+btrfs@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).