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

2013-04-17 Thread Lennart Poettering
On Sat, 13.04.13 13:27, Reindl Harald (h.rei...@thelounge.net) wrote: > Hi > > as far as i understand "systemd-readahead" is catching what is > loaded directly due boot and 10 seconds after, well that's fine I changed this to 30 now, btw, since 10s turned out to be too short on many systems. >

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

2013-04-15 Thread Reindl Harald
Am 15.04.2013 21:17, schrieb Kok: > On Mon, Apr 15, 2013 at 10:59 AM, Reindl Harald > wrote: >> >> >> Am 15.04.2013 19:53, schrieb Kok: thanks, i will give it a try why not "Type=forking"? in my expierience a service works with simple/forking and only one of them while

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

2013-04-15 Thread Kok, Auke-jan H
On Mon, Apr 15, 2013 at 10:59 AM, Reindl Harald wrote: > > > Am 15.04.2013 19:53, schrieb Kok: >>> thanks, i will give it a try >>> why not "Type=forking"? >>> >>> in my expierience a service works with simple/forking and only >>> one of them while i must say my low-level understanding may >>> not

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

2013-04-15 Thread Reindl Harald
Am 15.04.2013 20:50, schrieb Zbigniew Jędrzejewski-Szmek: > On Mon, Apr 15, 2013 at 07:59:51PM +0200, Reindl Harald wrote: >> >> >> Am 15.04.2013 19:53, schrieb Kok: thanks, i will give it a try why not "Type=forking"? in my expierience a service works with simple/forking and

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

2013-04-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 15, 2013 at 07:59:51PM +0200, Reindl Harald wrote: > > > Am 15.04.2013 19:53, schrieb Kok: > >> thanks, i will give it a try > >> why not "Type=forking"? > >> > >> in my expierience a service works with simple/forking and only > >> one of them while i must say my low-level understandi

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

2013-04-15 Thread Reindl Harald
Am 15.04.2013 19:53, schrieb Kok: >> thanks, i will give it a try >> why not "Type=forking"? >> >> in my expierience a service works with simple/forking and only >> one of them while i must say my low-level understanding may >> not be enouh to realize what to use. > > The daemon does

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

2013-04-15 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 2:15 PM, Reindl Harald wrote: > Am 14.04.2013 23:06, schrieb Kok: >> >> [Unit] >> Description=Adaptive readahead daemon >> >> [Service] >> ExecStart=/usr/sbin/preload -f 1 -l "" >> Restart=always >> RestartSec=1 >> Nice=19 >> IOSchedulingClass=3 >> >> [Install] >> Wante

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 23:06, schrieb Kok: > On Sun, Apr 14, 2013 at 1:01 PM, Reindl Harald wrote: >> 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?bu

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 22:49, schrieb Garry T. Williams: > On 4-13-13 23:24:22 Reindl Harald wrote: >> Am 13.04.2013 23:08, schrieb Kok: >>> A lot of things are possible and would help this: >>> >>> - change your system to auto-logon your account and start the >>> applications for you. This is possible wit

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

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 1:01 PM, Reindl Harald wrote: > > Am 14.04.2013 21:18, schrieb Kok: >> On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald >> wrote: >>> what about a dbus-triggered instance like cups and other services >>> are fired up after login which creates a /.readahead-usersession >>>

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

2013-04-14 Thread Garry T. Williams
On 4-13-13 23:24:22 Reindl Harald wrote: > Am 13.04.2013 23:08, schrieb Kok: > > A lot of things are possible and would help this: > > > > - change your system to auto-logon your account and start the > > applications for you. This is possible without any coding. > > well, that's a no-go You mig

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 21:18, schrieb Kok: > On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald > 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

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

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald wrote: > Am 14.04.2013 20:49, schrieb Kok: >>> 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 l

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 20:49, schrieb Kok: >> 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 - w

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

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 9:13 AM, Reindl Harald wrote: > > Am 14.04.2013 06:42, schrieb Kok: >> On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald >> wrote: - extend the collector to run much longer >>> >>> which scre to change in teh config? >> >> You can modify systemd-readahead-done.timer, ba

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 20:08, schrieb Mantas Mikulėnas: > On Sun, Apr 14, 2013 at 7:13 PM, Reindl Harald wrote: >> is there any way to get informations what is "collected" > > /usr/lib/systemd/systemd-readahead analyze thanks for that, alias set [root@rh:~]$ which readahead_analyze alias readahead_ana

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

2013-04-14 Thread Mantas Mikulėnas
On Sun, Apr 14, 2013 at 7:13 PM, Reindl Harald wrote: > is there any way to get informations what is "collected" /usr/lib/systemd/systemd-readahead analyze > and where are the informations stored? /.readahead > locate seems not to show any related file updatedb -- Mantas Mikulėnas _

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

2013-04-14 Thread Reindl Harald
Am 14.04.2013 06:42, schrieb Kok: > On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald 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 lik

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

2013-04-13 Thread Kok, Auke-jan H
On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald wrote: > > > Am 13.04.2013 23:08, schrieb Kok: >> On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald >> wrote: >>> it would make pretty much sense that Thunderbird, Firefox and >>> so on are pre-loaded or at least their libraries after the >>> login-man

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

2013-04-13 Thread Reindl Harald
Am 13.04.2013 23:08, schrieb Kok: > On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald wrote: >> it would make pretty much sense that Thunderbird, Firefox and >> so on are pre-loaded or at least their libraries after the >> login-manager appears to use the time between boot and login > > A lot of t

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

2013-04-13 Thread Kok, Auke-jan H
On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald wrote: > Hi > > as far as i understand "systemd-readahead" is catching what is > loaded directly due boot and 10 seconds after, well that's fine > > but is there a possibility to "feed" it with additional applications? > > example of the real life her

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

2013-04-13 Thread Reindl Harald
Hi as far as i understand "systemd-readahead" is catching what is loaded directly due boot and 10 seconds after, well that's fine but is there a possibility to "feed" it with additional applications? example of the real life here: * the machine get powered on in the morning * due this sitting