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

List:       kde-core-devel
Subject:    Re: once again app startup speed - good news :-)
From:       Martin Konold <konold () suse ! de>
Date:       2001-07-27 4:13:47
[Download RAW message or body]

On Thu, 26 Jul 2001, aleXXX wrote:

> > Is it possible to introduce something like an icon server? So one separate
> > process that is able to load icons and caches their path in memory. It
> > might reduce server memory load because icons need to be in ram only once.
>
> Hmm, and how should the apps be able to use these icons from another process ?
> I'm also not sure whether the communication between the processes would be
> much less overhead compared to the access() calls executed currentrly.
> Currently the icon loading is IMO the slowest part of KDE.
> And of course the linking....

Using a seperate server process requires an IPC mechanism. IPC is at least
on magnitude slower than direct access.

We could consider to reuse concepts/code from ksyscoca though. The problem
is similiar (several order of magnitude more often reads than writes).
Sharing of the super set via a mmap read only binary cache...

Yours,
--martin

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

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