From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-amd64+bounces-12848-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1PZsUT-00087r-99
	for garchives@archives.gentoo.org; Mon, 03 Jan 2011 22:02:57 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6FACBE0801
	for <garchives@archives.gentoo.org>; Mon,  3 Jan 2011 22:02:56 +0000 (UTC)
Received: from mail-yi0-f53.google.com (mail-yi0-f53.google.com [209.85.218.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 31C79E070D
	for <gentoo-amd64@lists.gentoo.org>; Mon,  3 Jan 2011 21:46:31 +0000 (UTC)
Received: by yib17 with SMTP id 17so4866679yib.40
        for <gentoo-amd64@lists.gentoo.org>; Mon, 03 Jan 2011 13:46:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from
         :user-agent:mime-version:to:subject:references:in-reply-to
         :content-type:content-transfer-encoding;
        bh=BQtWYHQ6NWIu2IaQj1QAdce5YaKOP8P1uL3dwKZGovM=;
        b=HuQ8dgpPn7gqIa1xJuDlhEacrDyQigEClx00DIwYZ2tnlso8gUvDrpoV87dJrjfMpw
         mAz9EDP7yOdD74CvKAVmbrO95LvxADwwPQMqU+ZD5nipdI7TL5ZL3ao4lE5AsfcqmYq4
         Sz7v9KFOTXK5dW/keyt+9ME/PoG5FDu72CTDo=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        b=sLeuTmQx+ADmtpUP7qj2vwSE/+UnMqAYHmqOeYwwROjaHCMTshJi4b3869IRFyj2c6
         PUkxJ72SeScIU7/XLo4blSLNo981rDdfel7PK90rvRV0RCYfpUobHuQisNKf/X0ThD7H
         PWtL6o3y2FYvLIAmgJjrnKkszow9b5iK7Ou+w=
Received: by 10.91.39.1 with SMTP id r1mr13026556agj.149.1294091191293;
        Mon, 03 Jan 2011 13:46:31 -0800 (PST)
Received: from [192.168.2.5] (adsl-0-124-95.jan.bellsouth.net [65.0.124.95])
        by mx.google.com with ESMTPS id 2sm28642451anw.38.2011.01.03.13.46.29
        (version=SSLv3 cipher=RC4-MD5);
        Mon, 03 Jan 2011 13:46:30 -0800 (PST)
Message-ID: <4D2243B4.8070800@gmail.com>
Date: Mon, 03 Jan 2011 15:46:28 -0600
From: Dale <rdalek1967@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101212 Gentoo/2.0.11 SeaMonkey/2.0.11
Precedence: bulk
List-Post: <mailto:gentoo-amd64@lists.gentoo.org>
List-Help: <mailto:gentoo-amd64+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-amd64+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-amd64+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-amd64.gentoo.org>
X-BeenThere: gentoo-amd64@lists.gentoo.org
Reply-to: gentoo-amd64@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Memory usage; 32 bit vs 64 bit.
References: <4D2216A9.9070009@gmail.com> <AANLkTi=8ggewkcuf=v2b20hFWynDi4+rUada_u03z5gt@mail.gmail.com>
In-Reply-To: <AANLkTi=8ggewkcuf=v2b20hFWynDi4+rUada_u03z5gt@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: e1250ac7-e7b5-4562-8b83-1035eca459a1
X-Archives-Hash: 87aeb3f165907a3189295ecd3efd25af

Mark Knecht wrote:
> On Mon, Jan 3, 2011 at 10:34 AM, Dale<rdalek1967@gmail.com>  wrote:
>    
>> Hi folks,
>>
>> I recently built me a new 64 bit system.  My old 32 bit system has 2Gbs and
>> my new system has 4Gbs.  I was expecting it to use about the same amount of
>> memory but noticed it uses a good bit more on the new system than the old
>> one.   With just the normal stuff open, I use about 1.5Gbs of ram.  My old
>> system would use a little over half that.   I have the same settings on
>> both.
>>
>> Is this difference because 64 bit programs use more memory, maybe they are
>> larger than 32 bit programs?  Just curious.  I notice that Seamonkey uses
>> more and KDE's plasma-desktop uses more.  Those are generally the biggest
>> users.
>>
>> I'm not complaining about the usage, just curious as to why the difference.
>>
>> Dale
>>
>> :-)  :-)
>>
>>
>>      
> Hi Dale,
>     That seems way high to me but I cannot do a real comparison here as
> I haven't had a 32-bit X86 machine in 4-5 years. My current box is
> tied up running 3 copies of Windows at the moment and is using pretty
> much 12GB at the moment so I'd have to reboot to take any reading.
> However I seem to remember only 350MB being used right at the point of
> logging into KDE, but I could be wrong about that.
>
>     Maybe post a few numbers:
>
> 1) What is used when you first start KDE
> 2) The additions for a few common apps.
>
>     I'd be happy to compare mine to yours later today.
>
> - Mark
>
>
>    

Well, I start with a saved session.  I usually have seamonkey, Konsole, 
Konqueror, Kpatience and gkrellm running.  I also run folding at well.  
I have checked when folding is not running and it still uses more.  I 
use the same settings as on my old rig for folding.  I may change to 
larger units when I get another stick or two of ram in here.

Here is some results from top with them sorted by memory usage:

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
18913 dale      20   0  793m 303m  30m S    3  7.7  21:35.05 seamonkey-bin
18451 dale      20   0  871m 165m  40m S    1  4.2  40:47.95 plasma-desktop
28665 root      39  19  304m 112m 2616 S   94  2.8   1918:38 FahCore_a3.exe
25414 dale      20   0  607m 107m 9.8m S    0  2.7   1:33.53 knotify4
18453 dale      20   0  591m  99m  15m S    0  2.5   0:23.53 knotify4
18417 dale      20   0  618m  90m  41m S    2  2.3  23:59.85 kwin
26081 root      39  19  280m  80m 2616 S   99  2.0   2138:13 FahCore_a3.exe
28654 root      39  19  277m  80m 2616 S   99  2.0   1916:58 FahCore_a3.exe
27537 root      39  19  280m  80m 2616 S   96  2.0   2021:21 FahCore_a3.exe
  5081 dale      20   0  474m  73m  31m S    0  1.9   0:31.91 konqueror
18225 root      20   0  142m  61m  15m S    4  1.6  92:24.29 X
18541 dale      20   0  470m  58m  27m S    0  1.5   0:35.72 kopete
29937 root      20   0  573m  53m  35m S    0  1.4   0:26.64 konqueror
26809 dale      20   0  202m  49m  30m S    0  1.2   0:29.16 mplayer
18566 dale      20   0  367m  48m  27m S    0  1.2   0:01.00 python2.6
18564 dale      20   0  418m  45m  24m S    0  1.1   0:00.49 python2
11802 root      20   0  721m  43m  11m S    0  1.1   1:19.41 knotify4
18539 dale      20   0  408m  38m  20m S    0  1.0   2:11.97 kpat
18491 dale      20   0  584m  37m  20m S    0  0.9   0:08.12 krunner
18544 dale      20   0  356m  34m  17m S    0  0.9   0:47.28 konsole
18371 dale      20   0  230m  31m  22m S    0  0.8   0:00.48 kdeinit4
18527 dale      20   0  417m  31m  16m S    0  0.8   0:00.48 kmix
18374 dale      20   0  409m  29m  16m S    0  0.7   0:05.96 kded4

As you can tell, Seamonkey has been running a while.  It still uses a 
good bit even when freshly started.  Here is my flags:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"

I got them off a wiki for safe flags.  I like fast but hate crashes.  ;-)

Dale

:-)  :-)