very low ram usage?

Everything about X, Gnome, KDE, ... and everything running on it

very low ram usage?

Postby craigevil » 2010-01-11 11:41

CPU[-Single core Intel Pentium 4 (UP) clocked at 2793.147 Mhz-] Kernel[-2.6.32-3.dmz.2-liquorix-686 i686-] Up[-1 day-]
Mem[-65.2/493.0MB-] HDD[-160.0GB(15.9% used)-] Procs[-104-] Client[-Irssi 0.8.14-] inxi[-1.3.1-]

Notice how little ram is actually being used?

This is in debian sid with lxde, lxterminal+irssi+shell+fm, parcelite, pcmanfm, , uzbl and all the usual lxde stuff running.
Fully updated with the latest sid updates.

Its obviously not a bad thing just curious if anyone knows how or why the system is using so little ram.

And yes "free" reports the same thing as does top.

wondering if anyone with Intel that is using the liquorix kernel is getting similar ram usage. Or it has something to do with preload/prelink.

System specs:
Code: Select all
System:    Host craigevil Kernel 2.6.32-3.dmz.2-liquorix-686 i686 (32 bit) Distro Debian GNU/Linux squeeze/sid
CPU:       Single core Intel Pentium 4 (UP) cache 1024 KB flags (sse3 nx lm) bmips 5588.72
           Clock Speeds: (1) 2793.147 MHz (2) 2793.147 MHz
Graphics:  Card Intel 82915G/GV/910GL Integrated Graphics Controller X.Org 1.7.3.902 Res: 1280x1024@60.0hz
           GLX Renderer Mesa DRI Intel 915G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 GLX Version 1.4 Mesa 7.6.1 Direct Rendering Yes
Audio:     Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller driver HDA Intel
           Sound: Advanced Linux Sound Architecture Version 1.0.21
Network:   Card Intel 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller driver e100 at port dcc0
Disks:     HDD Total Size: 160.0GB (15.9% used) 1: /dev/sda  160.0GB
Partition: ID:/ size: 103G used: 24G (25%) fs: ext3 ID:swap-1 size: 5.25GB used: 0.02GB (0%) fs: swap
Mem[-65.2/493.0MB-] HDD[-160.0GB(15.9% used)-] Procs[-104-] Client[-Irssi 0.8.14-] inxi[-1.3.1-]


xserver-xorg-video-intel:
Installed: 2:2.9.1-2
Candidate: 2:2.9.1-2

Closing uzbl and shell-fm drops me down to 58mb of ram being used and 99 processes.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: very low ram usage?

Postby anticapitalista » 2010-01-11 12:47

How long is the Uptime?
antiX "Heather Heyer" - lean and mean.
https://antixlinux.com
anticapitalista
 
Posts: 355
Joined: 2007-12-14 23:16

Re: very low ram usage?

Postby craigevil » 2010-01-11 14:27

anticapitalista wrote:How long is the Uptime?


$ uptime
09:27:29 up 1 day, 7:55, 4 users, load average: 0.75, 0.52, 0.25
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: very low ram usage?

Postby refracta » 2010-01-11 17:34

ps_mem.py output would be interesting
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: very low ram usage?

Postby craigevil » 2010-01-11 18:09

refracta wrote:ps_mem.py output would be interesting

Code: Select all
# python ps_mem.py
 Private  +   Shared  =  RAM used   Program

  4.0 KiB +  13.5 KiB =  17.5 KiB   klogd
 12.0 KiB +  11.0 KiB =  23.0 KiB   dhclient3
 32.0 KiB +  21.0 KiB =  53.0 KiB   atd
 24.0 KiB +  44.0 KiB =  68.0 KiB   dbus-launch
 20.0 KiB +  51.0 KiB =  71.0 KiB   hald-runner
 68.0 KiB +  28.0 KiB =  96.0 KiB   init
 52.0 KiB +  59.5 KiB = 111.5 KiB   hald-addon-acpi
100.0 KiB +  30.5 KiB = 130.5 KiB   syslogd
100.0 KiB +  34.0 KiB = 134.0 KiB   gnome-pty-helper
 84.0 KiB +  56.0 KiB = 140.0 KiB   hald-addon-input
 24.0 KiB + 123.0 KiB = 147.0 KiB   getty (6)
100.0 KiB +  65.5 KiB = 165.5 KiB   halevt
108.0 KiB +  72.5 KiB = 180.5 KiB   lxsession
 12.0 KiB + 179.0 KiB = 191.0 KiB   udevd (3)
124.0 KiB +  88.0 KiB = 212.0 KiB   cron
188.0 KiB +  26.0 KiB = 214.0 KiB   dirmngr
232.0 KiB + 128.0 KiB = 360.0 KiB   menu-cached
280.0 KiB + 122.0 KiB = 402.0 KiB   su
348.0 KiB + 331.0 KiB = 679.0 KiB   dbus-daemon (2)
332.0 KiB + 348.0 KiB = 680.0 KiB   hald-addon-storage (6)
224.0 KiB + 541.0 KiB = 765.0 KiB   gdm (2)
560.0 KiB + 220.0 KiB = 780.0 KiB   console-kit-daemon
580.0 KiB + 270.0 KiB = 850.0 KiB   gnome-keyring-daemon
868.0 KiB + 119.0 KiB = 987.0 KiB   hald
884.0 KiB + 144.0 KiB =   1.0 MiB   cupsd
  1.9 MiB + 307.0 KiB =   2.2 MiB   python2.5
  1.8 MiB + 687.5 KiB =   2.5 MiB   openbox
  1.6 MiB +   1.6 MiB =   3.2 MiB   parcellite
  3.6 MiB + 821.0 KiB =   4.4 MiB   bash (2)
  3.1 MiB +   2.0 MiB =   5.1 MiB   lxterminal
  5.3 MiB +   2.1 MiB =   7.4 MiB   lxpanel
 11.0 MiB +   1.1 MiB =  12.1 MiB   Xorg
---------------------------------
                         45.2 MiB
=================================

 Private  +   Shared  =  RAM used   Program


lxde, with lxterminal running so I could do ps_mem.py
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: very low ram usage?

Postby nadir » 2010-01-11 18:50

i installed the liqourix and booted into it: memory usage is about 120MB.
with the other kernel it was 145MB.
apps are: conky, gnome-terminal, xmms2 and iceweasel. uptime is different (about two hours and the liquorix about two minutes).
prelink and preload are installed, intel-inside.
ps_mem.py, the culprits (> 1MB), for liquorix:
Code: Select all
  1.0 MiB + 217.0 KiB =   1.2 MiB   cupsd
  1.2 MiB + 225.0 KiB =   1.4 MiB   console-kit-daemon
  1.1 MiB + 497.5 KiB =   1.6 MiB   conky
  1.9 MiB + 260.5 KiB =   2.2 MiB   gconfd-2
  2.8 MiB + 123.5 KiB =   2.9 MiB   hald
  4.6 MiB + 773.5 KiB =   5.3 MiB   bash (3)
  3.8 MiB +   2.5 MiB =   6.2 MiB   gnome-terminal
  7.5 MiB +  45.5 KiB =   7.5 MiB   preload
  7.4 MiB + 381.0 KiB =   7.8 MiB   Xorg
 11.5 MiB + 835.0 KiB =  12.3 MiB   xmms2d
 14.7 MiB + 987.0 KiB =  15.7 MiB   enlightenment
 49.4 MiB +   2.6 MiB =  52.0 MiB   icecat-bin
---------------------------------
                        128.1 MiB
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: very low ram usage?

Postby refracta » 2010-01-11 19:50

thanks evil.....
looks damn good....
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

.

Postby llivv » 2010-01-11 21:54

.
Last edited by llivv on 2019-04-17 22:14, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: very low ram usage?

Postby refracta » 2010-01-11 22:09

ln -s .xinitrc .xsession
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: very low ram usage?

Postby Sephiroth » 2010-01-12 22:43

So how exactly are you cutting your resource usage down so low? That looks like a memory report from Sarge! I just installed Squeeze on a box at work and have mixed feelings about KDE4 but would like to minimize RAM usage. I will be building my own kernel for it as well.
Intel C2Q 3.06GHz, 8GB PC-10600, Dual 250GB SATA 3.0GBps RAID-0, Dual GTX295 2GB, X-Fi Gamer
P4/3.20GHz HT, 2GB DDR400, 120GB SATA, 7800GS 256MB, Audigy IV w/4.1 Speakers
AMD Turion64x2 1.60GHz, 1GB DDR2(667), 120GB PATA, ATI1100M
Sephiroth
 
Posts: 1012
Joined: 2007-07-05 03:30
Location: North Carolina, USA

Re: very low ram usage?

Postby craigevil » 2010-01-12 22:53

Sephiroth wrote:So how exactly are you cutting your resource usage down so low? That looks like a memory report from Sarge! I just installed Squeeze on a box at work and have mixed feelings about KDE4 but would like to minimize RAM usage. I will be building my own kernel for it as well.



To be honest I haven't a freaking clue.

All I did was install the latest liquorix kernel and rebooted.

Not sure if it helps that I use preload/prelink.

It wasn't this low until the new xorg in sid combined with the new liquorix kernel.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: very low ram usage?

Postby Sephiroth » 2010-01-13 14:38

That almost makes me want to go to Sid, but I *JUST* downloaded Squeeze and started playing in KDE4 on the box we use for training at work. I have mixed feelings about KDE4, but I'm not a Gnome fan so I feel like a lost shell kiddie when it comes to Squeeze and Sid, so I may try your configuration in a few months. Thanks for the info! I certainly don't see why Linux can't be an efficient OS like you're posting!
Intel C2Q 3.06GHz, 8GB PC-10600, Dual 250GB SATA 3.0GBps RAID-0, Dual GTX295 2GB, X-Fi Gamer
P4/3.20GHz HT, 2GB DDR400, 120GB SATA, 7800GS 256MB, Audigy IV w/4.1 Speakers
AMD Turion64x2 1.60GHz, 1GB DDR2(667), 120GB PATA, ATI1100M
Sephiroth
 
Posts: 1012
Joined: 2007-07-05 03:30
Location: North Carolina, USA

.

Postby llivv » 2010-01-13 17:38

.
Last edited by llivv on 2019-04-17 22:14, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: very low ram usage?

Postby aspnair » 2010-01-13 18:40

What is the output of
cat /proc/meminfo
Your memory usage is nearly equal to
MemTotal - MemFree - Buffers - Cached while no swap is used.
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: very low ram usage?

Postby Sephiroth » 2010-01-13 21:05

My Debian systems never use swap, not even the ones with less than 512MB of RAM. That's one reason I swear by Debian. That and it isn't bloatware like pretty much every other distro has become. I am highly tempted by Gentoo simply because you can build everything during the install so it's 100% customized for that unique system, but I have yet to try it.

Oh yeah, almost forgot. 8MB is too much. Make it work on my souped-up Atari 800 with a whopping 384k of RAM! Or my stock 800 with 48k RAM. That would be hot!
Intel C2Q 3.06GHz, 8GB PC-10600, Dual 250GB SATA 3.0GBps RAID-0, Dual GTX295 2GB, X-Fi Gamer
P4/3.20GHz HT, 2GB DDR400, 120GB SATA, 7800GS 256MB, Audigy IV w/4.1 Speakers
AMD Turion64x2 1.60GHz, 1GB DDR2(667), 120GB PATA, ATI1100M
Sephiroth
 
Posts: 1012
Joined: 2007-07-05 03:30
Location: North Carolina, USA

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable