On demand loading

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Wed, 3 Jun 1998 13:45:43 +0200


Hi!

> This linearly reads netscape into memory, and costs a little over a
> second. Starting up netscape now only takes 5 seconds total... Thus
> the "demand paging" is not efficient in this case: the seeks cost much
> more than is gained by not reading part of the binary.

I doubt that demand paging is good idea in many cases. What about
adding a flag to executable that it should be lineary loaded? Small
utilities (where almost all code is used) will benefit from this.

And now it seems that even fat executables (where on-demand loading
should be major win) are better loaded lineary...

Are there any benchmarks of on-demand vs. linear load available?

Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu