View previous topic :: View next topic |
Author |
Message |
btlee Apprentice
Joined: 03 Sep 2004 Posts: 168 Location: San Francisco
|
Posted: Fri Jan 27, 2006 4:42 am Post subject: Memory usage : amd64 vs x86 |
|
|
I have three gentoo boxes, one is amd64, another x86, and the other ppc.
Since I have used amd64 two years ago,
I always suspected that amd64 consumes more memory than x86.
But until yesterday, amd64 box has 2 giga byte, while x86 has 1 giga byte,
so it is difficult to compare both machines.
Finally, I upgrade the memory of x86 from 1 G to 2 G,
and now I am sure that amd64 consumes more memory than x86.
For example, after launching gnome with same applications,
x86 consumes about 100M, but amd64 consumes about 150M.
And almost applications consume more memory on amd64.
First, i like to know other people's experience.
Second, if you share the same experience, why do you use amd86?
For my perception, amd86 is faster than x86,
but the advantage is confined mainly to compilation or packaging.
How do you think about it? _________________ AMD64 3200+, 2G/160G+250G
DELL 700m, 1.8GHz, 2G/80G
iBook G3-500Mhz, 640M/100G |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Fri Jan 27, 2006 6:20 am Post subject: |
|
|
Yes, 64-bit uses more memory than 32-bit. I do a lot of encoding, and encoding is stooooooooopid times faster on amd64 than it is on x86. When I told my friend at work how long it takes me to encode files he wanted to punch me in the face because it takes him so much longer (he's running x86). Now if I just get a dual-core Athlon64 or Opteron (I might when prices come down a bit as my motherboard supports dual-core), I will be the encode master, muahahahahahahahahahahahahahahahaaaaaaa!!!!!!!!!!!!!!!!!! |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Fri Jan 27, 2006 7:16 am Post subject: |
|
|
my amd64 boxen use a bit more memory generally, but its not terribly substantial
as for why i use it, many things seem to be more responsive, and nothing seems slower, plus i like to do the testing _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
axelmasok Apprentice
Joined: 08 Oct 2003 Posts: 171
|
Posted: Sat Jan 28, 2006 6:57 am Post subject: |
|
|
Yes it should consume more RAM but I am not finding it a problem even with 1G. I am not convinced of the advantages but on the other hand I think there is no excuse at all that anything in source form doesn't compile and run in 64bit. Down the track it will all be time well spent. I can't be bothered changing back to x86 anyhow. What I did find disturbing was pulling one of my Opterons out over summer to save some power and heat here - noticable differnce. Real bad move. SMP is still the way to go. |
|
Back to top |
|
|
gilesjuk Guru
Joined: 11 Feb 2003 Posts: 412 Location: Staffordshire, UK
|
Posted: Sat Jan 28, 2006 4:59 pm Post subject: Re: Memory usage : amd64 vs x86 |
|
|
I would imagine certain data types will be larger, plus you have the emulation libraries around if you use any 32-bit stuff. _________________ ^<^>^<^>^
G. Jones
-=-=-=-=-=- |
|
Back to top |
|
|
wantilles Tux's lil' helper
Joined: 12 Aug 2003 Posts: 136 Location: Athens - Greece
|
Posted: Sun Jan 29, 2006 5:05 pm Post subject: |
|
|
Okay, let's assume for a minute, that you're right, and amd64 does consume more RAM.
So what? |
|
Back to top |
|
|
Mathiasdm n00b
Joined: 22 Jan 2005 Posts: 24
|
Posted: Sun Jan 29, 2006 7:06 pm Post subject: |
|
|
wantilles wrote: | Okay, let's assume for a minute, that you're right, and amd64 does consume more RAM.
So what? |
It's not 'assumed' It's true.
And indeed, it doesn't matter all that much. |
|
Back to top |
|
|
Lord__Astaroth Tux's lil' helper
Joined: 22 Jan 2006 Posts: 108 Location: Freeland, la tierra de LINUX (Madrid)
|
Posted: Sun Jan 29, 2006 8:08 pm Post subject: |
|
|
Of course it matter, when you have kde with some karambas , amarok kino and some program in java like messenger of gods and a emerge -e system... you'll will get a precious error like :error not alocate memory.
(i'm not stupid to use kde with some karambas and the messenger of gods:-P) _________________ "Veo venir una dama, sonriendo hacia mi; si esa dama es la muerte, ¿quien tiene miedo a morir?
Equipo:
Athlon64 2800+@2000 Asus K8V SE DELUXE
1,5 gb Kingstom
SATA Maxtor 160 GB
XFX GeForce 6600 GT 256 DDR3
Audigy2 + 5.1 Altec Lansing |
|
Back to top |
|
|
xanas3712 Guru
Joined: 15 Oct 2004 Posts: 455
|
Posted: Mon Jan 30, 2006 12:27 pm Post subject: |
|
|
I do use kde with karambas, and.. never even got close with multiple programs open to using up all memory. Now, the system pretends to use all the memory all the time (shows very low in top) but I check with free -m and most of that is just cache.
Haven't run out of the 2G mem I have yet.
And I keep a decent swap along with it which has yet to get use. |
|
Back to top |
|
|
Mathiasdm n00b
Joined: 22 Jan 2005 Posts: 24
|
Posted: Mon Jan 30, 2006 1:27 pm Post subject: |
|
|
Lord__Astaroth wrote: | Of course it matter, when you have kde with some karambas , amarok kino and some program in java like messenger of gods and a emerge -e system... you'll will get a precious error like :error not alocate memory.
(i'm not stupid to use kde with some karambas and the messenger of gods:-P) |
For most people, it won't matter.
Let's assume a 64-bit computer with 1 GB RAM (Seems rather silly to have a 64-bit computer with less).
On top of that, you have the swap. And even without the swap, you should be quite fine, most of the time
Now, I do have to admit that, on my 64-bit laptop, I haven't put Gentoo yet. I'll do that in about a week.
Still, I think most people will be just fine
Edit: thinking about it... I think I'm going to download the .iso today |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon Jan 30, 2006 2:53 pm Post subject: |
|
|
This really is a silly thread. It only makes sense that a CPU using 64bit (8 byte) memory addresses and data types is going to use more memory than one using 32bit (4 byte) addresses and data types. I haven't really read up on the amd64 despite using two of them that much but...
Code: |
jmp 0x0102030405060708
|
...is bound to take up more space than...
_________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
|