Re: Removing xrdb for 10% startup win?



On Sun, 2005-08-28 at 00:52 +0100, Gustavo J. A. M. Carneiro wrote:
> 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:
> > >   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"...

The default disk scheduler in Linux 2.6.13 has changed to CFQ v3 which
now also includes io priorities that automatically change with nice (or
manually with ioprio command).

-- 
Alan.

"One must never be purposelessnessnesslessness."

Attachment: signature.asc
Description: This is a digitally signed message part



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