[Bugs] #2079 UNSP: Shell opens svg icons over and over during runtime

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Jul 6 09:37:44 EDT 2010


#2079: Shell opens svg icons over and over during runtime
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by tomeu):

 Replying to [ticket:2079 bernie]:
 > How to detect:
 >
 > 1. strace -e open -p <pid_of_shell>
 > 2. do something, such as opening the frame, running some activities...
 > 3. observe svg files being opened
 >
 > The icons in the frame, such as the battery and zoom levels, seem to be
 reloaded quite often.
 >
 > Do we have a bug in the icon cache logic?

 I kind of remember that the disk cache was removed from the shell because
 the kernel has already an I/O cache and we were duplicating it. The
 rationale with test results should be somewhere in dev.laptop.org and/or
 the mailing list.

 Often-used icons should be in the surface cache so we shouldn't hit the
 disk unless this cache has been overflown.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2079#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list