systemd needs too much time to boot system

On 2012-10-30 23:06, herbertmeier wrote:
>
> DO NOT USE BTRFS!
>
> I copied the root partition to an ext4 partition, created a new initrd
> and now boot from ext4:
> Startup finished in 4206ms (kernel) + 20974ms (userspace) = 25181ms

Maybe btrfs is faster if all the changes are committed. If not, the boot code may have to traverse
all the journal (or whatever btfrs uses) to find out the actual bytes.

Years ago, I found out that booting after hibernation when the root partition was reiserfs had
become very slow, in the order of minutes. It turned out that grub had to replay the journal of a
dirty fs, in memory, and that was slow. The solution was to use a small /boot partition in ext2.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))