Memory Gripes 11.1 64bit vs 10.3 32bit

I dont know if this is the correct thread location, please redirect if I am wrong…

I have always complained about the amount of RAM MS uses just at idle, but on a whim I decided to look over my box after installing another gig of ram. I am using 1.2Gb of RAM just sitting on a OpenSuSE 11.1 64 bit system.

System Spec’s
AMD 64 bit dual core 4200+
2GB RAM 1x1GB & 2x512MB set in single channel mode at 64bit @ 333 DDR
(I was running 1GB with 2x512MB dual channel 128bit @ 333 DDR)
SATA Baracuda 200GB HD

Now after turning off vmware from starting during boot (in both cases no VM Machines running) and a reboot of my 11.1 64bit machine I am now using 750MB and just under 400MB in Application. Even still, when I boot to 10.3 32bit, I sit at 512MB with just under 300MB in Application usage.

Whats going on? I dont expect my primary machine to beable to run on 64MB of ram, but the 11.1 system seems kinda bloated.

Is this to be expected?
Are there any good doc’s to fine tune my system of un-needed services?
Will 11.2 change for the better/worst?
Should I consider going back to 32bit OS? My 64bit system has done everything I needed it too do.

The only reason this came up, my wife needs a windows machine to proof read her school work before sending it. And when it looks proper in OpenOffice, Opened in MS Office, the format is messed up. Which is why I needed a VM. But with only 1GB ram, my box slowed down too much.

Any Thoughts,
John

On 11/25/2009 12:06 AM, Johnfm3 wrote:
>
> Whats going on? I dont expect my primary machine to beable to run on
> 64MB of ram, but the 11.1 system seems kinda bloated.
>
> Is this to be expected?

yes. i think that was “normal” for 64bit system. [1].

> Are there any good doc’s to fine tune my system of un-needed services?

i will not do that, unless you are an advanced user.

my suggestion is, if you were really need more memory for running VM,

  • try upgrading your RAM,

  • try more lightweight desktop environment, i.e. instead of using KDE-4.
    try another DE like GNOME, XFCE, or LXDE.

  • try another VM. I never compared VM running on VMWare vs VirtualBox,
    but last time i checked, running W2000AS/XP on VirtualBox on my laptop
    (AMD Turion64 X2 1.8 Gz on 2 GB RAM and running openSUSE 11.1 64 bit) it
    was run normal. The Windows VM was installed and running Oracle database.

> Will 11.2 change for the better/worst?

AFAIK, it is same.

> The only reason this came up, my wife needs a windows machine to proof
> read her school work before sending it. And when it looks proper in
> OpenOffice, Opened in MS Office, the format is messed up. Which is
> why I needed a VM. But with only 1GB ram, my box slowed down too
> much.

yeah, been there done that :). My solution at that time was by
converting it to PDF from OpenOffice, and send it as is.


[1] - http://en.wikipedia.org/wiki/64-bit#Pros_and_cons

Linux by its nature will use the vast majority of the ram you supply to it. It does this before touch the swap partition, which makes everything run faster.

Taken from my 4 GB of RAM:

shawn@straightpaths:~> free -m
             total       used       free     shared    buffers     cached
Mem:          3960       1974       1986          0         52        889
-/+ buffers/cache:       1031       2928
Swap:        12299          0      12299

shawn@straightpaths:~> uptime
 07:36am  up   1:39,  3 users,  load average: 0.01, 0.03, 0.00

straightpaths:~ # chkconfig --list
SuSEfirewall2_init        0:off  1:off  2:off  3:on   4:on   5:on   6:off
SuSEfirewall2_setup       0:off  1:off  2:off  3:on   4:on   5:on   6:off
aaeventd                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
acpid                     0:off  1:off  2:on   3:on   4:off  5:on   6:off
alsasound                 0:off  1:off  2:on   3:on   4:off  5:on   6:off
apache2                   0:off  1:off  2:off  3:on   4:off  5:on   6:off
atd                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
auditd                    0:off  1:off  2:off  3:on   4:off  5:on   6:off
autofs                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
autoyast                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
avahi-daemon              0:off  1:off  2:off  3:on   4:off  5:on   6:off
avahi-dnsconfd            0:off  1:off  2:off  3:off  4:off  5:off  6:off
bluez-coldplug            0:off  1:off  2:on   3:on   4:off  5:on   6:off
cron                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
cups                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
dbus                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
dnsmasq                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
earlysyslog               0:off  1:off  2:on   3:on   4:off  5:on   6:off
earlyxdm                  0:off  1:off  2:off  3:off  4:off  5:on   6:off
esound                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
fbset                     0:off  1:on   2:on   3:on   4:off  5:on   6:off
gpm                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
haldaemon                 0:off  1:off  2:on   3:on   4:off  5:on   6:off
irq_balancer              0:off  1:on   2:on   3:on   4:off  5:on   6:off
joystick                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
kbd                       0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on 
kexec                     0:off  1:off  2:off  3:off  4:off  5:off  6:off       
ksysguardd                0:off  1:off  2:off  3:off  4:off  5:off  6:off       
lirc                      0:off  1:off  2:off  3:off  4:off  5:off  6:off       
mdadmd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off       
microcode.ctl             0:off  1:off  2:off  3:off  4:off  5:off  6:off       
multipathd                0:off  1:off  2:off  3:off  4:off  5:off  6:off       
mysql                     0:off  1:off  2:on   3:on   4:off  5:on   6:off       
network                   0:off  1:off  2:on   3:on   4:off  5:on   6:off       
network-remotefs          0:off  1:off  2:on   3:on   4:off  5:on   6:off       
nfs                       0:off  1:off  2:off  3:on   4:off  5:on   6:off       
nmb                       0:off  1:off  2:off  3:off  4:off  5:off  6:off       
nscd                      0:off  1:off  2:off  3:on   4:off  5:on   6:off       
ntp                       0:off  1:off  2:off  3:on   4:off  5:on   6:off       
openvpn                   0:off  1:off  2:off  3:off  4:off  5:off  6:off       
pm-profiler               0:off  1:off  2:off  3:off  4:off  5:off  6:off       
postfix                   0:off  1:off  2:off  3:on   4:off  5:on   6:off       
postgresql                0:off  1:off  2:off  3:off  4:off  5:off  6:off       
powerd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off       
random                    0:off  1:off  2:on   3:on   4:off  5:on   6:off       
raw                       0:off  1:off  2:off  3:off  4:off  5:off  6:off       
rpcbind                   0:off  1:off  2:off  3:on   4:off  5:on   6:off       
rpmconfigcheck            0:off  1:off  2:off  3:off  4:off  5:off  6:off       
rsyncd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off       
setserial                 0:off  1:off  2:off  3:off  4:off  5:off  6:off       
skeleton.compat           0:off  1:off  2:off  3:off  4:off  5:off  6:off
smartd                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
smb                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
smbfs                     0:off  1:off  2:off  3:on   4:off  5:on   6:off
smolt                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
spamd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
splash                    0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on
splash_early              0:off  1:off  2:on   3:on   4:off  5:on   6:off
sshd                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
stoppreload               0:off  1:on   2:on   3:on   4:off  5:on   6:off
svnserve                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
syslog                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
waitfornm                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
xdm                       0:off  1:off  2:off  3:off  4:off  5:on   6:off
xfs                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
xinetd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
ypbind                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
xinetd based services:
        chargen:            off
        chargen-udp:        off
        cups-lpd:           off
        daytime:            off
        daytime-udp:        off
        discard:            off
        discard-udp:        off
        echo:               off
        echo-udp:           off
        netstat:            off
        rsync:              off
        sane-port:          off
        servers:            off
        services:           off
        svnserve:           off
        swat:               off
        systat:             off
        time:               off
        time-udp:           off
        vnc:                off
straightpaths:~ #


Above you will see my memory usage, my system load, and my list of services and how they are run. I forgot to mention, that all of these services are default except for apache2 and ntp.

My computer is bored.

No matter what operating system you install, always make sure to have at least double what the minimum (or even better double the recommended) installed.

You want Linux using your RAM – it does it very well.

ShuLHan: I dont think Iam a Advanced User, but I do feel I am a Power User. Been using SuSE since 6.4, and with a lot of help from suse am setup with a nice enviroment using LDAP Auth, SQUID, DNS, and much more. I will try your suggestion of looking at other desktops and seeing if I can release more resources. But lets face it, general computer user wants eye candy and ease of use. Special effects and Intergration of primay apps which use ram are going to be what Users follow. I did like your pdf idea, my wife’s teacher wont accept it. She is not even the level of computer users. So we need to keep to the KISS method (Keep It Simple & Stupid).

Thanks for taking the time to reply,
John

wshawn;
Thanks for taking the time showing me your system resources. Yours looks likes mine, using almost 2GB just sitting. If I had the cash to throw ram at it, I would do it in a heart beat. I would be happy with 4GB. I agree that I want Linux using ram and that it does it very well. But I was using SWAP due to no ram left. And with the demands of my system, it becomes slow and unusable real fast. And if your married, you know the saying “Happy Wife, Happy Life”.

Thanks for commenting on my thread,
John

There is some more overhead with 64bit apps/OS(Larger registers bigger binary how I understand it) I believe that kde4 isn’t too bad in its base footprint.

Now as I use a lightweight DE/WM not really like for like but I have no problem with 2gb and several VM’s in fact in trying to swap out I had several running and seemed to have disk I/O or cpu usage problems rather than ram but… I do tend to be quite conservative on ram allocation in the vm’s you’ve made no mention of how much.

I’ve got 584mb as the largest but have to admit I don’t really test my VM’s they are more troubleshooting or experiments rather than used. As mentioned though alternative distro and lightweight DE though, my footprint is only ~400mb.

Next time your system bogs down, open a terminal and run

top -n 1

You can do this as a normal user. BTW thats a - n one

See what exactly is dogging you out…

What size swap partition did you make?

Your system should not be doing that with 2 gigs of ram

In fact I’m able to run a clean install of Windows XP + MS Office in VirtualBox with 192 MB of RAM assigned to the VM. Just keep a snapshot of the clean state and don’t let it be bloated down if all you need is to proof read documents using Word.

The rest of the system shouldn’t consume that much RAM. But since RAM are so cheap these days, you can try to upgrade it if it’s economically viable.