* AMD Athlon64 X2 Dual-core and 4GB
@ 2005-10-27 21:03 Vladimir Lazarenko
2005-10-27 21:06 ` Joel Jaeggli
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Vladimir Lazarenko @ 2005-10-27 21:03 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
Hello,
Looking at the thread of Interl Dual-core and 4GB a sudden thought came
to my mind: "Hey, I'm gonna upgrade my box to 4G next week too... Would
it work?"
Thus, the question - would I be able to use whole 4G RAM with dual-core
amd and kernel with SMP compiled for i686?
Thanks in advance!
Vladimir
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-27 21:03 AMD Athlon64 X2 Dual-core and 4GB Vladimir Lazarenko
@ 2005-10-27 21:06 ` Joel Jaeggli
2005-10-27 21:06 ` Alejandro Bonilla
2005-10-28 15:30 ` Eric W. Biederman
2 siblings, 0 replies; 12+ messages in thread
From: Joel Jaeggli @ 2005-10-27 21:06 UTC (permalink / raw)
To: Vladimir Lazarenko; +Cc: linux-kernel
On Thu, 27 Oct 2005, Vladimir Lazarenko wrote:
> Hello,
>
> Looking at the thread of Interl Dual-core and 4GB a sudden thought came to my
> mind: "Hey, I'm gonna upgrade my box to 4G next week too... Would it work?"
>
> Thus, the question - would I be able to use whole 4G RAM with dual-core amd
> and kernel with SMP compiled for i686?
Yes but you would only be able to malloc 3GB per process. Go with the
x86_64 kernel and that goes away. we have x86_x64's with 16GB of ram.
> Thanks in advance!
>
> Vladimir
>
--
--------------------------------------------------------------------------
Joel Jaeggli Unix Consulting joelja@darkwing.uoregon.edu
GPG Key Fingerprint: 5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-27 21:03 AMD Athlon64 X2 Dual-core and 4GB Vladimir Lazarenko
2005-10-27 21:06 ` Joel Jaeggli
@ 2005-10-27 21:06 ` Alejandro Bonilla
2005-10-28 15:30 ` Eric W. Biederman
2 siblings, 0 replies; 12+ messages in thread
From: Alejandro Bonilla @ 2005-10-27 21:06 UTC (permalink / raw)
To: Vladimir Lazarenko, linux-kernel
On Thu, 27 Oct 2005 23:03:07 +0200, Vladimir Lazarenko wrote
> Hello,
>
> Looking at the thread of Interl Dual-core and 4GB a sudden thought
> came to my mind: "Hey, I'm gonna upgrade my box to 4G next week
> too... Would it work?"
>
> Thus, the question - would I be able to use whole 4G RAM with dual-
> core amd and kernel with SMP compiled for i686?
I think it's google time for you both.
Both Intel and AMD mention this problem all over the place, in Windows or Linux.
http://forums.amd.com/lofiversion/index.php/t51726.html
.Alejandro
>
> Thanks in advance!
>
> Vladimir
--
Open WebMail Project (http://openwebmail.org)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-27 21:03 AMD Athlon64 X2 Dual-core and 4GB Vladimir Lazarenko
2005-10-27 21:06 ` Joel Jaeggli
2005-10-27 21:06 ` Alejandro Bonilla
@ 2005-10-28 15:30 ` Eric W. Biederman
2005-10-28 16:04 ` thockin
2005-10-28 16:39 ` Vladimir Lazarenko
2 siblings, 2 replies; 12+ messages in thread
From: Eric W. Biederman @ 2005-10-28 15:30 UTC (permalink / raw)
To: Vladimir Lazarenko; +Cc: linux-kernel
Vladimir Lazarenko <vlad@lazarenko.net> writes:
> Hello,
>
> Looking at the thread of Interl Dual-core and 4GB a sudden thought came to my
> mind: "Hey, I'm gonna upgrade my box to 4G next week too... Would it work?"
>
> Thus, the question - would I be able to use whole 4G RAM with dual-core amd and
> kernel with SMP compiled for i686?
A Dual-core is a rev-E processor so the cpu has memory hoisting support,
so it will work if your BIOS implement it properly.
Eric
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 15:30 ` Eric W. Biederman
@ 2005-10-28 16:04 ` thockin
2005-10-28 16:13 ` Eric W. Biederman
2005-10-28 16:40 ` Vladimir Lazarenko
2005-10-28 16:39 ` Vladimir Lazarenko
1 sibling, 2 replies; 12+ messages in thread
From: thockin @ 2005-10-28 16:04 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Vladimir Lazarenko, linux-kernel
On Fri, Oct 28, 2005 at 09:30:51AM -0600, Eric W. Biederman wrote:
> > Thus, the question - would I be able to use whole 4G RAM with dual-core amd and
> > kernel with SMP compiled for i686?
Why would you use a dual core AMD in 32 bit mode? Just build an x86_64
kernel.
If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
part of your memory). Remapping means you have MORE than 4 GB of physical
address, which means you need PAE to use it at all.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 16:04 ` thockin
@ 2005-10-28 16:13 ` Eric W. Biederman
2005-10-28 17:12 ` thockin
2005-10-28 16:40 ` Vladimir Lazarenko
1 sibling, 1 reply; 12+ messages in thread
From: Eric W. Biederman @ 2005-10-28 16:13 UTC (permalink / raw)
To: thockin; +Cc: Vladimir Lazarenko, linux-kernel
thockin@hockin.org writes:
> On Fri, Oct 28, 2005 at 09:30:51AM -0600, Eric W. Biederman wrote:
>> > Thus, the question - would I be able to use whole 4G RAM with dual-core amd
> and
>> > kernel with SMP compiled for i686?
>
> Why would you use a dual core AMD in 32 bit mode? Just build an x86_64
> kernel.
>
> If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
> part of your memory). Remapping means you have MORE than 4 GB of physical
> address, which means you need PAE to use it at all.
Yes, and PAE works fine with a 32bit kernel. I agree it is a silly
configuration and a 64bit kernel would use the memory more
efficiently. My basic point was that a dual-core is a recent enough
processor from AMD that it supports memory remapping. So with a
correct BIOS there should be no problems.
Eric
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 16:13 ` Eric W. Biederman
@ 2005-10-28 17:12 ` thockin
2005-10-28 21:27 ` Vladimir Lazarenko
0 siblings, 1 reply; 12+ messages in thread
From: thockin @ 2005-10-28 17:12 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Vladimir Lazarenko, linux-kernel
On Fri, Oct 28, 2005 at 10:13:46AM -0600, Eric W. Biederman wrote:
> > If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
> > part of your memory). Remapping means you have MORE than 4 GB of physical
> > address, which means you need PAE to use it at all.
>
> Yes, and PAE works fine with a 32bit kernel. I agree it is a silly
> configuration and a 64bit kernel would use the memory more
> efficiently. My basic point was that a dual-core is a recent enough
> processor from AMD that it supports memory remapping. So with a
> correct BIOS there should be no problems.
Earlier Opterons had remapping, too, just at the chip-select level. Even
with remapping, the memory that gets remapped gets mapped above 4 GB, so a
32 bit kernel still needs PAE to address it.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 17:12 ` thockin
@ 2005-10-28 21:27 ` Vladimir Lazarenko
0 siblings, 0 replies; 12+ messages in thread
From: Vladimir Lazarenko @ 2005-10-28 21:27 UTC (permalink / raw)
To: thockin; +Cc: Eric W. Biederman, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
>>>If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
>>>part of your memory). Remapping means you have MORE than 4 GB of physical
>>>address, which means you need PAE to use it at all.
>>
>>Yes, and PAE works fine with a 32bit kernel. I agree it is a silly
>>configuration and a 64bit kernel would use the memory more
>>efficiently. My basic point was that a dual-core is a recent enough
>>processor from AMD that it supports memory remapping. So with a
>>correct BIOS there should be no problems.
>
>
> Earlier Opterons had remapping, too, just at the chip-select level. Even
> with remapping, the memory that gets remapped gets mapped above 4 GB, so a
> 32 bit kernel still needs PAE to address it.
Well, my BIOS had 2 types of re-mapping, H/W and S/W, i enabled H/W
remapping, compiled kernel with 64G HIGHMEM, and voila:
vlad@anarxi:~$ free
total used free shared buffers cached
Mem: 4151876 2972968 1178908 0 179008 679016
-/+ buffers/cache: 2114944 2036932
Thanks everyone!
Vladimir
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 16:04 ` thockin
2005-10-28 16:13 ` Eric W. Biederman
@ 2005-10-28 16:40 ` Vladimir Lazarenko
2005-10-28 16:52 ` Eric W. Biederman
1 sibling, 1 reply; 12+ messages in thread
From: Vladimir Lazarenko @ 2005-10-28 16:40 UTC (permalink / raw)
To: thockin; +Cc: Eric W. Biederman, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
>>>Thus, the question - would I be able to use whole 4G RAM with dual-core amd and
>>>kernel with SMP compiled for i686?
>
>
> Why would you use a dual core AMD in 32 bit mode? Just build an x86_64
> kernel.
>
> If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
> part of your memory). Remapping means you have MORE than 4 GB of physical
> address, which means you need PAE to use it at all.
Because I find my distribution's 64-bit release reasonably unstable yet? :)
Or can I somehow build an x86_64 kernel and keep using 32-bit libc?
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 16:40 ` Vladimir Lazarenko
@ 2005-10-28 16:52 ` Eric W. Biederman
2005-10-28 19:30 ` Miquel van Smoorenburg
0 siblings, 1 reply; 12+ messages in thread
From: Eric W. Biederman @ 2005-10-28 16:52 UTC (permalink / raw)
To: Vladimir Lazarenko; +Cc: thockin, linux-kernel
Vladimir Lazarenko <vlad@lazarenko.net> writes:
>>>>Thus, the question - would I be able to use whole 4G RAM with dual-core amd
> and
>>>>kernel with SMP compiled for i686?
>> Why would you use a dual core AMD in 32 bit mode? Just build an x86_64
>> kernel.
>> If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
>> part of your memory). Remapping means you have MORE than 4 GB of physical
>> address, which means you need PAE to use it at all.
>
> Because I find my distribution's 64-bit release reasonably unstable yet? :)
>
> Or can I somehow build an x86_64 kernel and keep using 32-bit libc?
Building a x86_64 kernel is a bit of a trick on a 32bit distro.
You need an appropriate version of gcc, and binutils. But it runs
fine.
Eric
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 16:52 ` Eric W. Biederman
@ 2005-10-28 19:30 ` Miquel van Smoorenburg
0 siblings, 0 replies; 12+ messages in thread
From: Miquel van Smoorenburg @ 2005-10-28 19:30 UTC (permalink / raw)
To: linux-kernel
In article <m11x25bn3j.fsf@ebiederm.dsl.xmission.com>,
Eric W. Biederman <ebiederm@xmission.com> wrote:
>Vladimir Lazarenko <vlad@lazarenko.net> writes:
>
>>>>>Thus, the question - would I be able to use whole 4G RAM with dual-core amd
>> and
>>>>>kernel with SMP compiled for i686?
>>> Why would you use a dual core AMD in 32 bit mode? Just build an x86_64
>>> kernel.
>>> If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
>>> part of your memory). Remapping means you have MORE than 4 GB of physical
>>> address, which means you need PAE to use it at all.
>>
>> Because I find my distribution's 64-bit release reasonably unstable yet? :)
>>
>> Or can I somehow build an x86_64 kernel and keep using 32-bit libc?
>
>Building a x86_64 kernel is a bit of a trick on a 32bit distro.
>You need an appropriate version of gcc, and binutils. But it runs
>fine.
I installed the 64 bit version of my distro on a small partition,
the 32 bit version on a larger partition. Then I compiled a kernel
on the 64 bit system, and installed it on the 32 bit partition.
Now I boot a 64 bit kernel for the 32 bit userland, and mount the
64-bit distribution partition under /amd64 - if I need to do
anything in 64 bit userland (like compile a new kernel) I just
chroot /amd64
Even the 64-bit binary nvidia kernel driver works fine with
a 32-bit X in userland.
Mike.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: AMD Athlon64 X2 Dual-core and 4GB
2005-10-28 15:30 ` Eric W. Biederman
2005-10-28 16:04 ` thockin
@ 2005-10-28 16:39 ` Vladimir Lazarenko
1 sibling, 0 replies; 12+ messages in thread
From: Vladimir Lazarenko @ 2005-10-28 16:39 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
>>Hello,
>>
>>Looking at the thread of Interl Dual-core and 4GB a sudden thought came to my
>>mind: "Hey, I'm gonna upgrade my box to 4G next week too... Would it work?"
>>
>>Thus, the question - would I be able to use whole 4G RAM with dual-core amd and
>>kernel with SMP compiled for i686?
>
> A Dual-core is a rev-E processor so the cpu has memory hoisting support,
> so it will work if your BIOS implement it properly.
>
> Eric
Thank you!
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-10-28 21:28 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-27 21:03 AMD Athlon64 X2 Dual-core and 4GB Vladimir Lazarenko
2005-10-27 21:06 ` Joel Jaeggli
2005-10-27 21:06 ` Alejandro Bonilla
2005-10-28 15:30 ` Eric W. Biederman
2005-10-28 16:04 ` thockin
2005-10-28 16:13 ` Eric W. Biederman
2005-10-28 17:12 ` thockin
2005-10-28 21:27 ` Vladimir Lazarenko
2005-10-28 16:40 ` Vladimir Lazarenko
2005-10-28 16:52 ` Eric W. Biederman
2005-10-28 19:30 ` Miquel van Smoorenburg
2005-10-28 16:39 ` Vladimir Lazarenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox