linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shridhar Daithankar <ghodechhap@ghodechhap.net>
To: yzb3@wp.pl
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Btrfs might be gradually slowing the boot process
Date: Sat, 09 Nov 2013 02:08:08 +0630	[thread overview]
Message-ID: <1665274.eaCj6Je1We@bheem> (raw)
In-Reply-To: <527d2ee689e077.81319728@wp.pl>

On Friday, November 08, 2013 07:35:18 PM yzb3@wp.pl wrote:
> Hello,
> 
> 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.

Have you tried defragmenting everything, including directory objects? despite 
of small amount of data, it could be massively fragmented, slowing down 
everything.

HTH
-- 
Regards
 Shridhar

  reply	other threads:[~2013-11-08 20:39 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 [this message]
2013-11-09 10:57 ` Kai Krakow
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=1665274.eaCj6Je1We@bheem \
    --to=ghodechhap@ghodechhap.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=yzb3@wp.pl \
    /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).