Mailinglist Archive: opensuse (4398 mails)
| < Previous | Next > |
Re: [opensuse] Preload HowTo
- From: nordi <nordi@xxxxxxxxx>
- Date: Sun, 25 Sep 2005 16:48:29 +0200
- Message-id: <4336B8BD.20108@xxxxxxxxx>
Michael Schueller wrote:
> O.K ... Now i know why you told me to check out this place first ...
It was also incorrectly documented on the SUPER_preload page. Fixed that.
> So i wrote the line into the script, but the result is surprising.
> Preloading without PrPe reduced the starting time of opera from 15
> to about 8 sec, with PePr to 4 sec.
Let me quote myself from the webpage:
"While static preloading can only preload the program itself, PePr will
preload files that are specific for you. This includes files in your
home-directory and the translation files for your specific language,
making your programs start up even faster."
This is because the strace-parser you used was designed to create strace
files for public use (=any private data removed, including references to
home-directories). The files generated by this parser were supposed to
go into the distribution, and you don't want references to somebody
elses homedirs in there.
The parser should contain something like "grep -v /home" in two places.
Remove that, and it should be just as fast as PePr. Now you could do
that with all your apps, or just use PePr and get it done in 1/10 of the
time.
Regards
nordi
> O.K ... Now i know why you told me to check out this place first ...
It was also incorrectly documented on the SUPER_preload page. Fixed that.
> So i wrote the line into the script, but the result is surprising.
> Preloading without PrPe reduced the starting time of opera from 15
> to about 8 sec, with PePr to 4 sec.
Let me quote myself from the webpage:
"While static preloading can only preload the program itself, PePr will
preload files that are specific for you. This includes files in your
home-directory and the translation files for your specific language,
making your programs start up even faster."
This is because the strace-parser you used was designed to create strace
files for public use (=any private data removed, including references to
home-directories). The files generated by this parser were supposed to
go into the distribution, and you don't want references to somebody
elses homedirs in there.
The parser should contain something like "grep -v /home" in two places.
Remove that, and it should be just as fast as PePr. Now you could do
that with all your apps, or just use PePr and get it done in 1/10 of the
time.
Regards
nordi
| < Previous | Next > |