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

List:       kde-devel
Subject:    Re: Disk usage optimizations
From:       "Gary Greene" <greeneg () arklinux ! org>
Date:       2005-02-22 22:15:43
Message-ID: 33710.148.61.162.108.1109110543.squirrel () 148 ! 61 ! 162 ! 108
[Download RAW message or body]

> 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

Why isn't this stuff in the ksyscoca db? Couldn't we update the db on
first load and all other times use it for this action, lowering it to 1
read instead of 464+ reads? Just a thought... :)


 
>> 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