Re: Removing xrdb for 10% startup win?



On Sun, 2005-08-28 at 00:36 +0100, Alan Swanson wrote:
> On Sun, 2005-08-28 at 00:27 +0100, Gustavo J. A. M. Carneiro wrote:
> > On Sun, 2005-08-28 at 00:05 +0100, Gustavo J. A. M. Carneiro wrote:
> > > > 
> > > > Thoughts? Should xrdb be turned off by default?
> > > 
> > >   IMHO a much better solution would be to simply delay running xrdb
> > > until after the splash screen disappears.  This way people can get at
> > > their business quicker, while xrdb runs in background.
> > 
> >   Sorry.  I replied before reading the full thread. :-\
> > 
> >   What you say about IO taking place later is true, but consider that a
> > typical user takes a few seconds to decide what to do after the desktop
> > "finishes loading".  Once the splash screen disappears and the file
> > manager and panel are fully loaded, it's as if the desktop was loaded.
> > That's what counts.
> 
> Why not in addition to delaying running xrdb (or any other unimportant
> startup processes) simply renice it to say 20?

  I have a feeling the startup time is hugely dominated by disk IO (to
more or less degree depending on your hardware), and unfortunately
renicing a process only affects CPU, not disk IO (right?).  It's a pity,
really.  I wish Linux could give different disk IO priorities to
different processes depending on "niceness"...

  Still, renicing the process couldn't possibly hurt either.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic




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