[systemd-devel] systemd-readahead and often used applications
Reindl Harald
h.reindl at thelounge.net
Sun Apr 14 13:01:24 PDT 2013
Am 14.04.2013 21:18, schrieb Kok:
> On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>> what about a dbus-triggered instance like cups and other services
>> are fired up after login which creates a /.readahead-usersession
>> proceeded at boot the same way as /.readahead
>
> it does more damage to do excessive readahead at boot for services
> that don't need to start until way, way after boot. The whole idea is
> to only read things you are going to need, and not more. Otherwise you
> could just read everything you can possibly read from disk into
> memory
oh, now i realized that systemd-readahead covers any file-type
surely it would be bad preloading anything including data
please have a look at http://koji.fedoraproject.org/koji/buildinfo?buildID=393183
this is covering only libraries but seems to be in a bad maintaining-state
because still no systemd-unit and all of te last updates where auto mass-rebuilds
i wrote a systemd-unit for my machine which starts after kdm.service
https://bugzilla.redhat.com/show_bug.cgi?id=951956
>> well, but that makes "systemd-readahead-done.timer" useless as also
>> extend how long the collector should run
>
> most people won't ever need to have it run more than 10 seconds until
> after the system is done booting, so it has good value. Longer isn't
> better (see my earlier argument, which holds especially true for
> rotating media)
correct for readahead any file-type
with the "preload"-package above systemd-readahead covers also user-apps
between several reboots without graphical login because it sees the
preloading of the adaptive service and ONLY libraries
maybe this logic over the long in systemd can make preload obsolete
[root at rh:~]$ /usr/lib/systemd/systemd-readahead analyze | grep thunderbird
100% ( 1) 11192: /usr/lib64/thunderbird/libmozalloc.so
100% ( 1) 16560: /usr/lib64/thunderbird/components/libdbusservice.so
100% ( 1) 15280: /usr/lib64/thunderbird/libldif60.so
100% ( 1) 19592: /usr/lib64/thunderbird/libxpcom.so
100% ( 1) 24304: /usr/lib64/thunderbird/libprldap60.so
100% ( 1) 38680: /usr/lib64/thunderbird/components/libmozgnome.so
100% ( 1) 84960: /usr/lib64/thunderbird/thunderbird
100% ( 1) 223656: /usr/lib64/thunderbird/libldap60.so
100% ( 1) 393632: /usr/lib64/thunderbird/langpacks/langpack-de at thunderbird.mozilla.org.xpi
100% ( 1) 8372428: /usr/lib64/thunderbird/omni.ja
[root at rh:~]$ /usr/lib/systemd/systemd-readahead analyze | grep java
100% ( 1) 7344: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/bin/java
100% ( 1) 181312: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/libjava.so
100% ( 1) 94888: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/libnet.so
100% ( 1) 73856: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/libnio.so
100% ( 1) 61248: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/libverify.so
100% ( 1) 36448: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/libzip.so
100% ( 1) 91994: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/jce.jar
100% ( 1) 679167: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/jsse.jar
100% ( 1) 2540855: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/resources.jar
100% ( 1) 57904: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/amd64/jli/libjli.so
100% ( 1) 69689: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/ext/pulse-java.jar
100% ( 1) 452955: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/ext/gnome-java-bridge.jar
100% ( 1) 186530:
/usr/local/Zend/ZendStudio/plugins/org.zend.sdk_1.0.6.201210091843/lib/openshift-java-client-2.0.0.jar
100% ( 1) 113129:
/usr/local/Zend/ZendStudio/configuration/org.eclipse.osgi/bundles/474/1/.cp/lib/svnkit-javahl.jar
100% ( 1) 189996:
/usr/local/Zend/ZendStudio/configuration/org.eclipse.osgi/bundles/475/1/.cp/lib/svnkit-javahl.jar
100% ( 1) 4973536: /usr/lib64/libjavascriptcoregtk-1.0.so.0.13.11
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130414/894d8599/attachment-0001.pgp>
More information about the systemd-devel
mailing list