Bug 112654 - SUPER: preloading data for faster application startup
Summary: SUPER: preloading data for faster application startup
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Stephan Kulow
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 09:44 UTC by Stefan Nordhausen
Modified: 2005-08-25 14:14 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
RPM (111.84 KB, application/octet-stream)
2005-08-24 11:04 UTC, Stephan Kulow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Nordhausen 2005-08-24 09:44:22 UTC
As part of the SUPER project I have developed a system for preloading
application-data in the background to speed up the startup of certain
applications. The webpage for my part of the SUPER sub-project is at [1]. Please
also note the benchmark results at [2] (now removed because Andreas Girardet
wants a unified standard benchmark).

The patch is
-very non-intrusive: only adds 6 textfiles + 1 small shellscript
-improves startup times a lot: E.g. OpenOffice went from 17 seconds down to 6!!!

I think that this adds a great benefit for desktop users! My suggestion is to
add my files to the already existing "preload" package. Please tell me if you
can put it on Beta4 so it receives wider testing. I know it is a little late to
add new features, but this one is very simple and has great benefits.



[1] http://www.opensuse.org/index.php?title=SUPER_preloading
[2] http://www.opensuse.org/index.php?title=SUPER_preloading&oldid=1404
Comment 1 Stefan Dirsch 2005-08-24 09:47:36 UTC
Sounds like sth. for Coolo.
Comment 2 Stephan Kulow 2005-08-24 10:13:41 UTC
note that half the info on that page is wrong as we redone the preload  
package. But I took over your files in the package 
Comment 3 Stefan Nordhausen 2005-08-24 10:29:11 UTC
The info is based on openSUSE beta2. You really redid the preload package for
beta3? If so, where can I get it?
Comment 4 Stephan Kulow 2005-08-24 11:04:45 UTC
Created attachment 47349 [details]
RPM
Comment 5 Stephan Kulow 2005-08-24 11:04:57 UTC
Not even for beta3. 
Comment 6 Stephan Kulow 2005-08-24 11:24:50 UTC
there is a bug in the .sh script now, the files have to be used 
from /var/cache/preload/ 
Comment 7 Stefan Nordhausen 2005-08-24 11:52:20 UTC
You got me confused now: Do you mean that preload 0.2.2 was not finished in time
for beta3 but will be in beta4 and final? This is at least how I understand you.

Another question: I also provide an autostart file for KDE and a preloader.sh
which you have not included into your package. Can you include that into preload
as well or should I ask the KDE people about it?
Comment 8 Andreas Girardet 2005-08-24 20:15:34 UTC
I second the more aggressive preloading Stfan suggests.

I also would suggest to create a boot.preload and do this very early on in the
boot process as the login time is hugely affected by having a .desktop file.
Doing it very early on in the bootprocess allows preload to catch up time when
the USB/dev stuff is happening and counting down ....

I know this would break the ability to preload if /usr is mounted via NFS.Maybe
a boot.preload should check for that and not run in such a case. I have
personally in 15 years UN*X experience not seen any place doing that however.
Seems like an old UN*X tradition, that is not really used on modern desktops.

Ideally the preload information should also be gathered dynamically by having
some kind of preload daemon gather such information from the application a user
is running. I don't know if that is possible or if such a daemon would possibly
hit the performance of the system hard, but a dynamic creation of the files
would be excellent. 

That would also allow us then to think how those files could be stored on disc
in a manner that the preload/disc seeking is fast.

Comment 9 Michael Matz 2005-08-25 13:36:38 UTC
We do this already starting with the next beta.  Btw, note that due to 
a timing error in finishing beta3, the new preload rpm is already included, 
but not dependend package (like earlykdm or the boot scripts, which need 
new dependencies) were included.  The effect is, that preload effectively 
is not used in beta3 :-(  Just so you don't wonder. 
Comment 10 Stephan Kulow 2005-08-25 14:14:27 UTC
still, it's in there