RAM comparison thread

Here you can discuss every aspect of Debian. Note: not for support requests!

RAM comparison thread

Postby Hallvor » 2016-03-08 17:25

Hello!

There are often tests online about RAM usage, but test with applications actually running on it are more rare. I am not necessarily looking for a scientific comparison with identical applications. Instead, I would like to see where you can do your everyday tasks with the least use of resources and the applications of your own choice. How much RAM is used when everything is running? (No one really works on an empty desktop.)

The applications I have chosen for this test, if anyone wants to compare numbers, are the following:
Terminal
Web browser
File manager
Video player
Word processor

In order to get a fair comparison, we need the following rules:
1. State your version of Debian, the desktop environment/window manager and the name of your applications!
2. State if 32 or 64 bit.
3. State your results after boot (free -m from the terminal) and free -m again with all applications running.



---------------------------------


I volunteer to start :)

1. Debian 8.3, Trinity Desktop Environment R14.0.3, running the following applications:
Terminal=Konsole
Web browser=Konqueror
File manager=Konqueror (both file manager and web browser open during test, of course)
Video player=KMPlayer
Word processor=KWord (blank page)

2. 32 bit

3. My results after fresh boot: 97MB
My results with everything running: 133MB
Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 300 GB HDD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 739
Joined: 2009-04-16 18:35
Location: Norway

Re: RAM comparison thread

Postby edbarx » 2016-03-08 18:55

Memory use on Devuan Jessie 64 bit with iceweasel 44.0.2 running with four pages open. xfce4-terminal, vlc and thunar 1.6.3 running. No wordprocessing programs running.

Code: Select all
 Private  +   Shared  =  RAM used   Program

116.0 KiB +  14.0 KiB = 130.0 KiB   uuidd
164.0 KiB +  34.5 KiB = 198.5 KiB   gnome-pty-helper
196.0 KiB +  29.5 KiB = 225.5 KiB   atd
232.0 KiB +  38.5 KiB = 270.5 KiB   init
236.0 KiB +  79.0 KiB = 315.0 KiB   rpc.idmapd
192.0 KiB + 142.5 KiB = 334.5 KiB   avahi-autoipd (2)
304.0 KiB +  41.0 KiB = 345.0 KiB   dbus-launch
324.0 KiB +  75.5 KiB = 399.5 KiB   cron
368.0 KiB +  40.0 KiB = 408.0 KiB   acpid
396.0 KiB +  15.0 KiB = 411.0 KiB   ssh-agent
372.0 KiB +  42.5 KiB = 414.5 KiB   gpg-agent
464.0 KiB + 129.5 KiB = 593.5 KiB   rpcbind
528.0 KiB + 124.0 KiB = 652.0 KiB   xfconfd
528.0 KiB + 221.5 KiB = 749.5 KiB   su
660.0 KiB + 136.5 KiB = 796.5 KiB   rpc.statd
668.0 KiB + 205.5 KiB = 873.5 KiB   at-spi-bus-launcher
  1.0 MiB +  60.5 KiB =   1.0 MiB   udevd
888.0 KiB + 255.0 KiB =   1.1 MiB   getty (6)
912.0 KiB + 266.0 KiB =   1.2 MiB   polkitd
  1.1 MiB + 161.0 KiB =   1.2 MiB   xscreensaver
  1.2 MiB +  62.5 KiB =   1.3 MiB   rsyslogd
984.0 KiB + 394.0 KiB =   1.3 MiB   dbus-daemon (2)
  1.5 MiB +  41.0 KiB =   1.5 MiB   wpa_supplicant
  1.4 MiB + 313.5 KiB =   1.7 MiB   console-kit-daemon
  1.4 MiB + 593.0 KiB =   1.9 MiB   upowerd
  1.6 MiB + 503.5 KiB =   2.1 MiB   x-session-manag
  1.7 MiB + 610.0 KiB =   2.3 MiB   panel-3-systray
  2.3 MiB + 186.5 KiB =   2.5 MiB   privoxy
  2.1 MiB + 544.0 KiB =   2.6 MiB   xfsettingsd
  2.4 MiB + 573.5 KiB =   2.9 MiB   xfce4-power-manager
  2.0 MiB + 917.0 KiB =   2.9 MiB   xfce4-notifyd
  2.5 MiB + 852.0 KiB =   3.3 MiB   bash (2)
  3.9 MiB + 447.0 KiB =   4.3 MiB   tumblerd
  4.0 MiB +   1.2 MiB =   5.2 MiB   xfwm4
  3.8 MiB +   1.5 MiB =   5.3 MiB   xfdesktop
  4.3 MiB +   1.6 MiB =   5.9 MiB   xfce4-terminal
  6.1 MiB + 921.5 KiB =   7.0 MiB   xfce4-volumed
  6.5 MiB +   1.0 MiB =   7.5 MiB   simple-netaid
  5.8 MiB +   2.0 MiB =   7.8 MiB   Thunar
  6.9 MiB +   1.5 MiB =   8.3 MiB   xfce4-panel
 12.7 MiB + 539.0 KiB =  13.3 MiB   slim
 13.6 MiB + 175.0 KiB =  13.8 MiB   dhclient (2)
 19.6 MiB +   5.6 MiB =  25.1 MiB   Xorg
 43.2 MiB +   5.8 MiB =  49.0 MiB   vlc
234.5 MiB +   2.9 MiB = 237.5 MiB   iceweasel
---------------------------------
                        427.8 MiB
=================================


With Lazarus Free Object Pascal IDE running after compiling a moderately complex GUI application.
Code: Select all
 40.3 MiB + 196.5 KiB =  40.4 MiB   gdb
 52.4 MiB +   1.6 MiB =  54.0 MiB   lazarus
 10.3 MiB +   1.0 MiB =  11.3 MiB   ecalc
Last edited by edbarx on 2016-03-08 20:07, edited 1 time in total.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5384
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: RAM comparison thread

Postby lukas » 2016-03-08 19:42

root@refracta:/home/user# ps_mem.py | grep iceweasel
451.1 MiB + 7.8 MiB = 458.8 MiB iceweasel

compared to the 130 MB when using konqueror ... guess i got to have another look at konqueror
To put it different: The webbrowser is the main problem for me. Else i could easily live with 512 MB.
lukas
 
Posts: 87
Joined: 2011-07-30 15:43

Re: RAM comparison thread

Postby Hallvor » 2016-03-08 19:50

lukas wrote:root@refracta:/home/user# ps_mem.py | grep iceweasel
451.1 MiB + 7.8 MiB = 458.8 MiB iceweasel

compared to the 130 MB when using konqueror ... guess i got to have another look at konqueror
To put it different: The webbrowser is the main problem for me. Else i could easily live with 512 MB.


Konqueror is not that good for web browsing. Many sites are broken, so you're pretty much stuck with Iceweasel or Chrome for those sites.

Anyway, TDE (KDE3) is pretty efficient when you stick with TDE applications.
Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 300 GB HDD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 739
Joined: 2009-04-16 18:35
Location: Norway

Re: RAM comparison thread

Postby lukas » 2016-03-08 20:00

I am fine with a wm or xfce. When it comes to RAM-usage it doesn't matter, like said.
How did you install TDE? The only option i know would be exegnulinux http://exegnulinux.net/
lukas
 
Posts: 87
Joined: 2011-07-30 15:43

Re: RAM comparison thread

Postby Hallvor » 2016-03-08 20:05

Lukas: Look in the howto section.
Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 300 GB HDD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 739
Joined: 2009-04-16 18:35
Location: Norway

Re: RAM comparison thread

Postby lukas » 2016-03-08 20:11

found it (i am the man, huh?)
viewtopic.php?p=573234

back to topic, konqueror has nice RAM usage:
root@refracta:/home/user# ps_mem.py | grep konqueror
48.4 MiB + 8.8 MiB = 57.2 MiB konqueror
but is kinda broken on facebook. grml ...
Oh my.
lukas
 
Posts: 87
Joined: 2011-07-30 15:43

Re: RAM comparison thread

Postby edbarx » 2016-03-08 20:17

I tried the KDE 3 fork, also known as Trinity Desktop, but it consumed 466 Mega Bytes only to be loaded :shock: :? . With applications running 1 Giga Bytes were exceeded, and to add insult to injury, there were applications that I couldn't remove. Attempting to remove the latter resulted into a monstrous package uninstallation that I only simulated until I decided to deliver the blow of grace to completely remove and purge Trinity Desktop. For the future, I think, Fluxbox can be useful.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5384
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: RAM comparison thread

Postby wizard10000 » 2016-03-08 20:39

Sounds a bit like orbicular intellectual masturbation so I'm game; I even added hardware specs :)

Hardware - Dell Precision M4500, i7-740QM, 8GB RAM, 240GB SSD, 1GB Nvidia Quadro 1800FX, 15" 1920x1080 with some no-name USB3 express card so i can do USB3 to my backup drive. Old and kinda heavy and the battery's only good for about two and a half hours but runs strong and will probably last me at least another couple years. uptime says desktop comes up in seven seconds, but this Dell boots pretty slowly until it gets past grub :)

Running 64-bit Sid; display manager is slim (yeah, I gotta change that someday), WM is fluxbox with compton, conky and volumeicon running plus wicd-gtk in the tray.

Clean boot with default apps - 205mb

+ freshly-started chromium with just the tab open I'm using to post this - 541mb (yes, I use an ad blocker).

+ terminal emulator (terminator) - 560mb

+ vlc - 574mb

+ LO writer - 620mb

+ pcmanfm - 641mb

meh. I used to run KDE but pretty much fell in love with Crunchbang and started enjoying environments that gave me 95% of what KDE could as long as I didn't mind editing a few text files :)

For me a user environment is about form as much as it's about function. I could shut off the eye candy and save half the RAM on boot but why? I enjoys me a little eye candy; if I could do wobbly windows in fluxbox I would :P
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1193
Joined: 2011-05-09 20:02
Location: midwestern us

Re: RAM comparison thread

Postby keithpeter » 2016-03-08 21:45

Hello All

Fun thread. I suspect that the way the kernel allocates RAM will depend on the amount of RAM in the machine, so can we all please state that or simply copy the output of free -m?

Below a series of measurements on my minimal Jessie 32 bit install on a Thinkpad X200 with 2Gb of RAM and a 64Gb SSD. Goes like brown stuff off a shovel. Loving the dwm/dmenu/surf desktop. Using ifconfig/wpasupplicant for wifi and pmount for external storage.

Below for fresh boot into X with a dwm and a single xterm
Code: Select all
 
             total       used       free     shared    buffers     cached
Mem:          1966        162       1804         16         13         88
-/+ buffers/cache:         59       1906
Swap:         2518          0       2518

Below with one xterm running, the Surf Web browser with one window on this forum (Javascript not disabled), LibreOffice with a fresh Writer document and one sentence, PCManFM file manager showing the multifarious content of my home drive and VLC playing Music for 18 Musicians by Steve Reich as performed by Eighth Blackbird (YouTube via youtube-dl)
Code: Select all
             total       used       free     shared    buffers     cached
Mem:          1966        506       1460         47         20        325
-/+ buffers/cache:        159       1806
Swap:         2518          0       2518

Below an analysis of the full session using ./ps_mem.py as others have posted here
Code: Select all
 Private  +   Shared  =  RAM used   Program

 84.0 KiB +  67.5 KiB = 151.5 KiB   sleep
 76.0 KiB +  87.5 KiB = 163.5 KiB   sh
 76.0 KiB +  94.5 KiB = 170.5 KiB   startx
152.0 KiB +  77.5 KiB = 229.5 KiB   atd
168.0 KiB + 124.5 KiB = 292.5 KiB   xinit
176.0 KiB + 175.5 KiB = 351.5 KiB   avahi-autoipd (2)
276.0 KiB + 143.5 KiB = 419.5 KiB   cron
484.0 KiB +  55.5 KiB = 539.5 KiB   rpc.idmapd
356.0 KiB + 228.5 KiB = 584.5 KiB   rpcbind
376.0 KiB + 235.5 KiB = 611.5 KiB   su
560.0 KiB + 224.0 KiB = 784.0 KiB   login
596.0 KiB + 232.5 KiB = 828.5 KiB   rpc.statd
528.0 KiB + 309.5 KiB = 837.5 KiB   dwm
584.0 KiB + 396.5 KiB = 980.5 KiB   agetty (5)
  1.1 MiB + 135.5 KiB =   1.2 MiB   exim4
  1.1 MiB + 157.5 KiB =   1.2 MiB   systemd-udevd
  1.2 MiB + 136.0 KiB =   1.3 MiB   systemd-journald
  1.0 MiB + 544.5 KiB =   1.5 MiB   oosplash
  1.5 MiB + 121.0 KiB =   1.6 MiB   rsyslogd
  1.8 MiB + 376.5 KiB =   2.2 MiB   wpa_supplicant
  2.1 MiB + 161.0 KiB =   2.2 MiB   systemd
  1.7 MiB + 553.5 KiB =   2.2 MiB   sshd
  3.8 MiB +   1.6 MiB =   5.4 MiB   bash (7)
  5.6 MiB + 696.0 KiB =   6.3 MiB   xterm
  4.9 MiB +   4.5 MiB =   9.5 MiB   pcmanfm
  9.3 MiB + 697.0 KiB =   9.9 MiB   dhclient (2)
 20.6 MiB +   3.9 MiB =  24.5 MiB   Xorg
 35.2 MiB +   6.1 MiB =  41.3 MiB   surf
 78.0 MiB +   4.2 MiB =  82.1 MiB   soffice.bin
 76.8 MiB +   5.7 MiB =  82.5 MiB   vlc
---------------------------------
                        281.8 MiB
=================================

Finally, I can't help post the output of pstree below...
Code: Select all
keith@foo:~$ pstree -A
systemd-+-5*[agetty]
        |-atd
        |-avahi-autoipd---avahi-autoipd
        |-bash---surf-+-{dconf worker}
        |             `-4*[{surf}]
        |-bash---oosplash-+-soffice.bin-+-{OfficeIPCThread}
        |                 |             |-{SelectionManage}
        |                 |             `-{rtl_cache_wsupd}
        |                 |-{oosplash}
        |                 `-{rtl_cache_wsupd}
        |-bash---pcmanfm---{gmain}
        |-bash---vlc---11*[{vlc}]
        |-bash---leafpad
        |-cron
        |-2*[dhclient]
        |-exim4
        |-login---bash---startx---xinit-+-Xorg
        |                               `-dwm-+-sh---sleep
        |                                     `-xterm---bash---pstree
        |-rpc.idmapd
        |-rpc.statd
        |-rpcbind
        |-rsyslogd-+-{in:imklog}
        |          |-{in:imuxsock}
        |          `-{rs:main Q:Reg}
        |-sshd
        |-systemd-journal
        |-systemd-udevd
        `-wpa_supplicant

As I mentioned on the alternative Web browser thread, I find the suckless software Web browser Surf to be stable if possibly insecure. The dwb browser I found to be very crashy which is a shame as I like the UI. VLC is running at cpu=25% on this core-duo laptop, running the mp4 video full screen at 1280x700.
User avatar
keithpeter
 
Posts: 501
Joined: 2009-06-14 08:06
Location: 5230n 0155w

Re: RAM comparison thread

Postby lukas » 2016-03-08 22:42

keithpeter wrote:Hello All

Fun thread. I suspect that the way the kernel allocates RAM will depend on the amount of RAM in the machine, so can we all please state that or simply copy the output of free -m?

Good point.
The laptop has got 1 Gig of RAM, the desktop 4 Gigs. On both iceweasel ist the main problem and using ~ 400 MB after a short while. The rest of the software mentioned in the OP i don't use anyway (well: tilda as a terminal-emulator, it uses 3 MB, nothing which matters).
lukas
 
Posts: 87
Joined: 2011-07-30 15:43

Re: RAM comparison thread

Postby spacex » 2016-03-08 23:43

Hallvor wrote:
1. Debian 8.3, Trinity Desktop Environment R14.0.3, running the following applications:
Terminal=Konsole
Web browser=Konqueror
File manager=Konqueror (both file manager and web browser open during test, of course)
Video player=KMPlayer
Word processor=KWord (blank page)

2. 32 bit

3. My results after fresh boot: 97MB
My results with everything running: 133MB


Sorry dude, but I don't believe you. If that's the stats you get reported, then something is seriously wrong with whatever you use to report it. File a bug-report :lol:
spacex
 
Posts: 633
Joined: 2015-01-17 01:27

Re: RAM comparison thread

Postby emariz » 2016-03-09 03:54

Should the open documents not be standardised? I mean, a word processor with a blank document and a video player which is not playing a video are pointless improbable examples. What about a word processor displaying a small (250+ words) essay with active orthographic correction and a web browser with at least to active tabs displaying a newspaper and e-mail?

Moreover, in my case a video player would not even be open if I were working on a word processor. Yet, and for the purposes of this thread, the memory consumption would depend on the quality and length of the displayed video.
emariz
 
Posts: 2886
Joined: 2008-10-17 07:59

Re: RAM comparison thread

Postby Hallvor » 2016-03-09 05:50

spacex wrote:
Hallvor wrote:
1. Debian 8.3, Trinity Desktop Environment R14.0.3, running the following applications:
Terminal=Konsole
Web browser=Konqueror
File manager=Konqueror (both file manager and web browser open during test, of course)
Video player=KMPlayer
Word processor=KWord (blank page)

2. 32 bit

3. My results after fresh boot: 97MB
My results with everything running: 133MB


Sorry dude, but I don't believe you. If that's the stats you get reported, then something is seriously wrong with whatever you use to report it. File a bug-report :lol:


For the sake of (pseudo?) science I'll test again later (and post the output of free -m). :D
Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 300 GB HDD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 739
Joined: 2009-04-16 18:35
Location: Norway

Re: RAM comparison thread (Pure TDE awesomeness) :)

Postby Hallvor » 2016-03-10 14:39

Here are some pics with free -m output and applications running in the background:

Clean boot (just Konsole):

Image

With Konsole and Konqueror web browser:

Image

With Konsole, Konqueror web browser and Konqueror file manager:

Image

With Konsole, Konqueror web browser, Konqueror file manager and KMplayer (video player):
Image

With Konsole, Konqueror web browser, Konqueror file manager, KMplayer and Kword (word processor):

Image
Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 300 GB HDD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 739
Joined: 2009-04-16 18:35
Location: Norway

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable