On Tue, May 11, 2004 at 04:08:21PM -0400, Will Cohen wrote:
>On a somewhat related note, the rhn-applet uses more than 30MB of
>virtual memory. That is just WAY too big. Also look at its CPU time
>after a few days running. The combined time of it doing *something*
>seems a bit too much IMHO.
30 MB? Do you have anymore details on that, e.g. space for code and
data? Where there just a huge number of libraries being pulled in?
Well, first there is Python plus all the bindings for GTK/Glade/Gnome/panel
http/https/yum/apt/xml-rpc modules.
There is also an internal set of current header informations from the
RPM database to avoid seeking the rpmdb constantly.
The CPU time can grow very fast if the applet is in blinking/fade mode
(my request for dropping this feature was refused) there is also a non
neglectible startup CPU consumption setting up the environment and scanning
the installed rpm database for the current state.
Anyway from a purely desktop POV, I think the applet must go, the machine
should be up2date and if not the report should go to the sysadmin, not to
the user.
Daniel
--
Daniel Veillard | Red Hat Desktop team
http://redhat.com/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/