Gentoo Archives: gentoo-amd64

From: Dale <rdalek1967@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Memory usage; 32 bit vs 64 bit.
Date: Mon, 03 Jan 2011 22:02:57
Message-Id: 4D2243B4.8070800@gmail.com
In Reply to: Re: [gentoo-amd64] Memory usage; 32 bit vs 64 bit. by Mark Knecht
Mark Knecht wrote:
> On Mon, Jan 3, 2011 at 10:34 AM, Dale<rdalek1967@×××××.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 :-) :-)

Replies

Subject Author
Re: [gentoo-amd64] Memory usage; 32 bit vs 64 bit. Darragh Bailey <felix@×××××××××××××××××.ie>