Re: Low memory hacks



В Чтв, 28/02/2008 в 14:12 -0500, Behdad Esfahbod пишет:
> On Thu, 2008-02-28 at 21:59 +0300, Nickolay V. Shmyrev wrote:
> > Hello all
> > 
> > Nowadays it's rather hard to work with GNOME swapping on my 256 Mb
> > laptop even if I don't run anything serious on it, just Evolution,
> > Pidgin and Epiphany and sometimes Evince. Recently I decided to look on
> > this problem a bit and the nice thing I discovered is an Evolution
> > hack. 
> > 
> > It seems that if you don't use calendar you can just remove bonobo
> > server files for GNOME_Evolution_Calendar_2.10.server and you'll get
> > much faster Evolution and a lot of free memory.
> > 
> > I added this and some more hacks I'm using to the page:
> > 
> > http://live.gnome.org/MemoryReduction/LowMemoryHacks
> > 
> > Please if you know any other thing that can reduce memory usage with a
> > little reduction of functionality share it with us.
> 
> Nice and all, but please make sure each issue is also reported in
> bugzilla, so it's eventually fixed correctly.
> 

Well, there is not much to report here, let's take for example one
library, pango of course :) Massif shows the following significant
thing:

Context accounted for  3.4% of measured spacetime 
  0x1BC1E8: __gconv_open (in /lib/libc-2.6.so)
  0x1C8A0D: _nl_find_msg (in /lib/libc-2.6.so)
  0x1C923A: __dcigettext (in /lib/libc-2.6.so)
  0x1C81E2: dcgettext (in /lib/libc-2.6.so)
  0x213588: strerror_r (in /lib/libc-2.6.so)
  0x2133E4: strerror (in /lib/libc-2.6.so)
  0x793121: g_strerror (in /lib/libglib-2.0.so.0.1504.0)
  0x76FCC0: g_key_file_load_from_file (in /lib/libglib-2.0.so.0.1504.0)
  0x99048F: (within /usr/lib/libpango-1.0.so.0.1600.1)
                       
Called from:                                                                    
   3.4% : 0x990779: pango_config_key_get (in /usr/lib/libpango-1.0.so.0.1600.1)

I never used pangorc and not going to. So I think I should just disable
that search for config file that costs two two disk accesses. But there
is nothing to fix in the library itself, I suppose there is no good
solution for this search.

Heh, I also would like to delete all .po files if only I knew how to
keep translations :)

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]