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

List:       kde-devel
Subject:    Re: Disk usage optimizations
From:       Waldo Bastian <bastian () kde ! org>
Date:       2005-02-22 21:25:47
Message-ID: 200502222225.51209.bastian () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 22 February 2005 20:18, Aaron Seigo wrote:
> On February 22, 2005 11:28, Mikolaj Machowski wrote:
> > opening of K-Menu can last some time.
>
> since we use ksycoca to populate the kmenu, are you sure it's disk activity
> that causes this?

Well, from the sound of it, yes :-) It's probably due to the icon loading, 
when a menu is first shown we need to load the icons, and for each icon we 
need to hit the disk. If the IO-system is under load that can take a 
significant time.

For KDE4 it would be nice if we could load icons more efficiently, e.g. if we 
could load all icons for a single menu with one disk access instead of 10.

Oh, and did you know that the iconloader tests for 464 different icons before 
deciding that we can't find an icon for gedit? I assume that the kernel has 
cached most of that information already, if it had to hit the disk 464 times 
we would be in deep shit.

Cheers,
Waldo
-- 
bastian@kde.org   |   Free Novell Linux Desktop 9 Evaluation Download
bastian@suse.com  |   http://www.novell.com/products/desktop/eval.html

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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