Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Sat Mar 20, 2004 8:37 pm    Post subject: Kernel Reply with quote

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
View user's profile Send private message
jbNet
n00b
n00b


Joined: 07 Oct 2003
Posts: 39
Location: Oregon, USA

PostPosted: Sun Mar 21, 2004 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sun Mar 21, 2004 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Mon Mar 22, 2004 1:46 pm    Post subject: Reply with quote

you mean that 32bit userland is faster than 64bit userland?
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Mar 22, 2004 2:52 pm    Post subject: Reply with quote

Gecklord wrote:
you mean that 32bit userland is faster than 64bit userland?

Yup.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Mon Mar 22, 2004 3:14 pm    Post subject: Reply with quote

and why?
is there any sign that 64bit code will be faster in nearby future or will it take a while?
Back to top
View user's profile Send private message
spam_
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2004
Posts: 105
Location: /dev/null

PostPosted: Tue Mar 23, 2004 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Tue Mar 23, 2004 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Tue Mar 23, 2004 4:32 pm    Post subject: Reply with quote

ok, that's understandable! :roll:
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Tue Mar 23, 2004 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Tue Mar 23, 2004 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Tue Mar 23, 2004 8:27 pm    Post subject: Reply with quote

Quote:
"take a logic class"


took one
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 434

PostPosted: Wed Mar 24, 2004 11:10 pm    Post subject: Reply with quote

hehe ciaranm at his best :)

I totally agree with what he said BTW

xming
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum