This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Memory testing with exmap

Download data collected during testing -- Includes a Gnumeric spreadsheet, a better formatted version of this document, and all the screenshots.

Initial setup

Tools

Procedure

  1. 00-panel-xterm
    • Logged in with just a panel and xterm.

      screenshot

  2. 01-applets
    • Added some applets to the panel:
    • Menu
    • Task switcher
    • Tray
    • Workspace switcher
    • GNOME System monitor
    • Clock
    • Volume control
    • Trash

      screenshot

  3. 02-evolution
    • Start evolution (without calendar component) Viewing an IMAP account with a couple of e-mails, looking at a HTML e-mail.

      screenshot

  4. 03-clearlooks
    • Change theme to Clearlooks:
      • gconftool --type=string \
        • --set /desktop/gnome/interface/gtk_theme Clearlooks

      screenshot

  5. 04-default-theme-exit-ev
    • Change back to default theme:
      • gconftool --type=string \
        • --set /desktop/gnome/interface/gtk_theme asdf

      screenshot

  6. 05-ev-calendar
    • Enable calendar components and restart evolution. Have a look at the calendar week view.

      screenshot

  7. 06-pidgin-gg
    • Start pidgin and log into a Gadu Gadu account.

      screenshot

  8. 07-pidgin-no-plugin
    • Remove all plugins and restart pidgin.

      screenshot

  9. 08-pidgin-gg-only
    • Add back the Gadu Gadu plugin and restart pidgin.

      screenshot

  10. 09-back-to-desktop
  11. 10-tracker
    • Add the tracker applet to the panel. Perform a search then close the results window.
  12. 11-ubuntu-session
    • Start all programs that are in the GNOME startup list by default in Ubuntu. - nm-applet - gnome-power-manager - gnome-volume-manager - bluetooth-applet - update-manager
  13. 12-nautilus
    • Start nautilus to get some wallpaper.

Data preparation

  1. Use zsh
  2. for f in [0-9]*.csv
    • do
      • fgrep -v "Exmap log ends" $f | sed -e "s/Exmap log/Exmap log $f/"

      done > all.csv

  3. Import into gnumeric
  4. Hide all columns except pid,command,VM,emapped
  5. Autofilter pid column to non-blank.
  6. By hand, fix the totals formulas, because the cells are not correct after catting the spreadsheats together
  7. Resize columns to fit numbers
  8. Format the number columns to add separators for 1000s
  9. Save as all.gnumeric
  10. for xwd in *.xwdump
    • do
      • convert $xwd $xwd:r.png
      done

Interpretation of data

Faults with this procedure

Results

Total effective mapped memory after each step

emapped

00-panel-xterm

35,280,796

01-applets

50,038,213

02-evolution

72,619,459

03-clearlooks

73,148,818

04-default-theme-exit-ev

55,728,128

05-ev-calendar

77,282,624

06-pidgin-gg

68,062,490

07-pidgin-no-plugin

64,604,638

08-pidgin-gg-only

65,175,351

09-back-to-desktop

55,614,619

10-tracker

94,289,562

11-ubuntu-session

71,171,143

12-nautilus

71,785,155

Effective mapped memory cost of...

Discussion

Applets

Clearlooks

notification-daemon

Gadu Gadu plugin

Further research

Investigate causes of...

Applet memory usage

libpurple memory usage for unused protocol plugins

Measure memory usage of screenlets

Measure memory usage of other applications

Memory usage of GTK+ theme

--- RodneyLorrimar 13/3/2008


2024-10-23 11:17