Re: Removing xrdb for 10% startup win?



El lun, 29-08-2005 a las 09:53 -0400, Behdad Esfahbod escribió:
> On Mon, 29 Aug 2005, Lorenzo Colitti wrote:
> 
> > Alexander Larsson wrote:
> > >> So, as Owen says, most of the time is spent just reading the cc1
> > >> binary into memory. I have no idea why it's reading around all over
> > >> the place instead of performing one big sequential read of the whole
> > >> file though.
> > >
> > > My guess is that it just maps the whole executable on start, and then
> > > demand loads pages as they are needed (i.e. on page faults).
> >
> > Yes, I suppose you're right! Thanks for enlightening me.
> >
> > However, that's not the most efficient way to load *anything* if you
> > know you're going to need the whole file. I see this happening with
> > shared libraries a lot.
> >
> > But surely someone has thought of this before?
> 
> That's in fact my Summer of Code project :-).
> http://preload.sf.net/

Not exactly I guess, I think Lorenzo means something more like grope.  I
wonder why a function reordering thingy like this is still missing on
Linux.

[] http://lwn.net/1998/1029/als/rope.html

Cheers,


-William


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam �gratis! 
Reg�rate ya - http://correo.yahoo.com.mx/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]