View previous topic :: View next topic |
Author |
Message |
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Sat Mar 20, 2004 8:37 pm Post subject: Kernel |
|
|
Will the kernel be compiled 64 bits automatically? if not, what will I have to do, that it's gonna be compiled with 64 bit?
besides, what about 64bit and the userland? |
|
Back to top |
|
|
jbNet n00b
Joined: 07 Oct 2003 Posts: 39 Location: Oregon, USA
|
Posted: Sun Mar 21, 2004 4:26 am Post subject: |
|
|
to change the arch the kernel builds for use the kernel configuration option under processor type and features called processor family... the makefile will then build the binaries with the appropriate flags for your arch
Edit: oops my bad I didn't see that this was in the sparc forum _________________ ~Jake B
Last edited by jbNet on Sun Mar 21, 2004 6:14 pm; edited 2 times in total |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Sun Mar 21, 2004 3:01 pm Post subject: |
|
|
UltraSparc systems require a 64bit kernel. Unless you seriously screw around with things, this will happen automagically. Userland will be 32bit for performance reasons. |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Mon Mar 22, 2004 1:46 pm Post subject: |
|
|
you mean that 32bit userland is faster than 64bit userland? |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Mon Mar 22, 2004 2:52 pm Post subject: |
|
|
Gecklord wrote: | you mean that 32bit userland is faster than 64bit userland? |
Yup. |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Mon Mar 22, 2004 3:14 pm Post subject: |
|
|
and why?
is there any sign that 64bit code will be faster in nearby future or will it take a while? |
|
Back to top |
|
|
spam_ Tux's lil' helper
Joined: 14 Jan 2004 Posts: 105 Location: /dev/null
|
Posted: Tue Mar 23, 2004 3:56 pm Post subject: |
|
|
Gecklord wrote: | and why?
is there any sign that 64bit code will be faster in nearby future or will it take a while? |
Why? Well, 64-bit code takes up twice the RAM and CPU cache. You need twice the memory bandwidth to get the same performance assuming you don't use 64-bit numbers. If you do, then you start to see the benifits, but the cache and bandwidth usage still hurts a lot.
64-bit is only good when you manipulate 64-bit numbers (which is done in software on 32-bit), or when you have >4G of RAM. |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Tue Mar 23, 2004 4:08 pm Post subject: |
|
|
spam_ wrote: | 64-bit is only good when you manipulate 64-bit numbers (which is done in software on 32-bit), or when you have >4G of RAM. |
Not even that. It's good when you want to use more than about 3G of RAM (dunno what the exact figure is for sparc64) in a single application. If you have 10G of RAM and you run 9 processes which each use 1G, there's no particular need for a 64bit userland. |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Tue Mar 23, 2004 4:32 pm Post subject: |
|
|
ok, that's understandable! |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Tue Mar 23, 2004 6:08 pm Post subject: |
|
|
But on the other hand, the Unreal warfare engine will be rewritten for 64bit amds - so i must work faster using 64bit |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Tue Mar 23, 2004 6:21 pm Post subject: |
|
|
Gecklord wrote: | But on the other hand, the Unreal warfare engine will be rewritten for 64bit amds - so i must work faster using 64bit |
Uhm... dude...
*deep breath*
*concious effort to avoid screaming "take a logic class" at Gecklord*
*another deep breath*
*go away from keyboard for a few minutes to make more coffee*
*repress urge to use remote electrocution tool*
*regain some small vestige of faith in humanity*
ok, look. You're wrong because of all of the following:
- amd64 is not simply 64bit x86. It has loads of extra registers which compensate for the nasty performance hit.
- amd64 is not sparc64. The two archs are very different implementation-wise.
- amd64 is not faster because it is 64bit
- marketing is not science
As an analogy to your argument... Using sugar in food makes it sweeter. Therefore, using concrete rather than worms as bait when fishing will catch more fish. |
|
Back to top |
|
|
Gecklord Apprentice
Joined: 17 Mar 2004 Posts: 174
|
Posted: Tue Mar 23, 2004 8:27 pm Post subject: |
|
|
Quote: | "take a logic class" |
took one |
|
Back to top |
|
|
xming Guru
Joined: 02 Jul 2002 Posts: 441
|
Posted: Wed Mar 24, 2004 11:10 pm Post subject: |
|
|
hehe ciaranm at his best
I totally agree with what he said BTW
xming |
|
Back to top |
|
|
|