systemd-readahead

Reindl Harald h.reindl at thelounge.net
Tue Sep 9 08:37:43 UTC 2014



Am 09.09.2014 um 10:29 schrieb Karel Zak:
> On Sun, Sep 07, 2014 at 09:12:57AM +0200, drago01 wrote:
>> On Sat, Sep 6, 2014 at 11:18 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
>>>
>>> Whenever my laptop boots, the hard disk is pegged at 100% and the
>>> machine is unusable for another 2 minutes because of
>>> "systemd-readahead", a misguided attempt to optimize the boot process.
>>> Did we agree to this when we adopted systemd as an init replacement?
>>> I don't remember init including all this other stuff.
>>
>> We had a readahead implementation before. 
> 
> Yep, I was maintainer and co-author of this package
> 
>> On ssds it does not seem to
>> help (nor hurt) much. On rotating media it used to help in the past
>> but have not seen any recent numbers.
> 
> after many optimizations and complete rewrite ..etc, I was not able to
> see any really significant improvement. So.. my suggestion war to drop
> the package from Fedora many years ago :-)
> 
> IMHO it's better to optimize boot process and efficiently start only
> really required services that load on boot all the unnecessary junk
> and try to optimize the mess by readahead

systemd-readahead combined with preload leads here on a
fast RAID10 system that while the machine boots up and
i go to my morning coffee / cigarette that after coming
back and login my permanent used libraries and apps are
already loaded in memory and on a machine with 16 GB RAM
even Eclipse starts within 2 seconds on rotating media

you can look at the file "/.readahead" what things are
preloaded at boot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140909/4f18dfde/attachment.sig>


More information about the devel mailing list