[systemd-devel] systemd-readahead and often used applications

Kok, Auke-jan H auke-jan.h.kok at intel.com
Sun Apr 14 11:49:21 PDT 2013


On Sun, Apr 14, 2013 at 9:13 AM, Reindl Harald <h.reindl at thelounge.net> wrote:
>
> Am 14.04.2013 06:42, schrieb Kok:
>> On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>>>> - extend the collector to run much longer
>>>
>>> which scre to change in teh config?
>>
>> You can modify systemd-readahead-done.timer, basically change:
>>
>> OnActiveSec=10s
>>
>> to whatever value you like
>
> thanks, i give it a try with 3600 seconds what should cover
> also a long coffee and mostly powner on with WOL and sync
> work-data while drive to the office

take care that the new readahead file only gets written at the end of
the 3600s, it's not updated continuously.

> is there any way to get informations what is "collected"
> and where are the informations stored?

$ man systemd-readahead

you can run

$ /usr/lib/systemd/systemd-readahead analyze

to see what's in the readahead file.

> a reason i would love to define specific applications which should
> always get preloaded on boot independent what is collected at runtime
> what about starting the machine remove vis WOL and never login because
> some data sync and shutdown 2 hours later - will the desktop get lost
> from the readahead-collection - questions over questions...

feel free to contribute code or algorithm's to improve, I'll be more
than welcome to take concrete contributions as I've been trying to
improve on readahead for several years now. There is certainly room
for improvement, but the devil is in the details.

Cheers,

Auke


More information about the systemd-devel mailing list