[systemd-devel] systemd-udevd: excessive I/O usage
Alexander E. Patrakov
patrakov at gmail.com
Tue Jun 5 07:59:27 PDT 2012
2012/6/5 Diego Calleja <diegocg at gmail.com>:
> [resend, for some reason kmail formatted the previous message with html]
>
> On Martes, 5 de junio de 2012 09:50:56 Alexander E. Patrakov escribió:
>> Result: boot from ext4 takes less than 15 seconds, while boot from
>> btrfs takes 9 minutes (or 5 minutes if I disable readahead - the data
>> file is not valid anyway on btrfs).
>
> I also had this problem. It turns out that btrfs was creating the
> space cache from scratch (which takes several minutes) on each boot,
> for some reason. I added the space_cache mount option to fstab,
> and now my system boots fast. I suggest trying it.
It helped me, too - but ext4 is still faster under the typical
"startup under systemd" load type. The difference manifests itself as
GDM login screen sometimes timing out some components of its fancy
version (due to something resembling kernel bug 12309) and falling
back to the simple non-gnome-shell version.
Sorry for hijacking the thread, but the amount of parallelization
achieved by systemd is way too much for a rotating drive from 2007,
especially since some system components like gdm have aggressive
timeouts easily triggered by disk i/o.
--
Alexander E. Patrakov
More information about the systemd-devel
mailing list