[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Speed issues on app load
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-12-20 21:27:29
[Download RAW message or body]

On Wednesday 20 December 2000 12:43, rik@kde.org wrote:
> Observations on app loading speed:
>
> * It takes 700ms to load and map a window with the most simple KDE
> application possible.
>
> * It takes 10s to load and map konsole when it hasn't been used for a
>   while.
>
> * It takes 2s to load and map konsole when it's just been used.
>
> The real problem here is the 10s loading for apps that haven't been
> used for a while. It's just silly.

Is this from the command line or through kdeinit? If you use strace -tt you 
can get get a better overview of which sections of the start sequence take 
how much time. It makes no sense to look at the lib loading part because we 
can't change that and we have kdeinit to circumvent it.

That leaves the other stuff. My guess is that a large amount of the time is 
spent on disk-seeks. That's more or less directly proportional to the amount 
of files being opened. So grep for open calls and see what you get.

Disk-seeks are sort of horrible because the transfer rate of your disk has 
improved over the years but seek-times remain pretty much the same. 

Opening 1600 fonts will kill any hope for a reasonable performance.

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic