Re: Removing xrdb for 10% startup win?



On Mon, 2005-08-29 at 15:28 +0200, Lorenzo Colitti 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).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lonely drug-addicted dog-catcher on his last day in the job. She's a 
virginal wisecracking socialite who can talk to animals. They fight crime! 




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