From: "Szőts Ákos" <szotsaki@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: systemd "journalctl" is 1.89sec on ext4, 1.49 min on btrfs
Date: Tue, 28 May 2013 00:00:46 +0200 [thread overview]
Message-ID: <4929941.8HmMn0JLJ4@linux-suse> (raw)
In-Reply-To: <20130527204723.573c4e3f@sf>
Thank you very much for you suggestions!
I ran `filefrag` on /var/log/journal/ and the most fragmented files were:
/var/log/journal/[...]/faa9e41c6.journal: 11136 extents found
/var/log/journal/[...]/e9f8e1346c.journal: 633 extents found
/var/log/journal/[...]/59ec50b631.journal: 3585 extents found
/var/log/journal/[...]/59ec51d1b4.journal: 710 extents found
/var/log/journal/[...]/f74afadee9.journal: 484 extents found
Then I ran `btrfs fi defrag -v -f -clzo *` in the aforementioned directory
three times and restarted the machine. Now, the `journalctl -b --no-pager`
command runs in less than two seconds.
I tried to further optimize my file system (MySQL big storage files are highly
affected), but somewhere (for me it looks like, on random places) there are
kernel errors, so I suspended the further defragmentation until those errors
are tracked down.
Thank you very much again.
Ákos
prev parent reply other threads:[~2013-05-27 22:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 16:21 systemd "journalctl" is 1.89sec on ext4, 1.49 min on btrfs Szőts Ákos
[not found] ` <CAFvQSYTtuH99nqMb6589xJgwsrSG6fD02XzU3ji=dSmJokMxTw@mail.gmail.com>
2013-05-27 16:36 ` Clemens Eisserer
2013-05-27 16:42 ` George Mitchell
2013-05-27 17:47 ` Sergei Trofimovich
2013-05-27 22:00 ` Szőts Ákos [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=4929941.8HmMn0JLJ4@linux-suse \
--to=szotsaki@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.