Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
32bit efficiency under 64bit gentoo kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Fri Mar 24, 2006 10:43 pm    Post subject: 32bit efficiency under 64bit gentoo kernel? Reply with quote

Is it efficient to run 32-bit code under the 64-bit gentoo kernel?

I would think that there must be a level of emulation and therefore it is not as quick to run 32-bit under a 64-bit kernel as it would be to run it under a 32-bit kernel. But that's just my guess...

Somebody know their facts on this?
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
drwook
Veteran
Veteran


Joined: 30 Mar 2005
Posts: 1324
Location: London

PostPosted: Sat Mar 25, 2006 12:11 pm    Post subject: Reply with quote

I read the whitepapers out of AMD before deciding to go 64 bit, but that was a while ago now so the details have been pushed out of my neural FIFO buffer ;)

Effectively, the performance isn't 100% of what you'd get in true native 32 bit mode, but it isn't far off (as in maybe 99%). It's hardware level rather than software emulation, and it's pretty much still native execution (some kind of switching delays IIRC, but they're negligible - it might or might not be emulation depending on your perspective, I think people have argued both sides).

Only negative is that in 64 bit mode the processor can't run 16 bit code like this (which it does in 32 bit mode, and probably every other 32 bit processor that evolved from a 16 bit one does that I know of - certainly anything x86). That said this is unlikely to affect many people - If it's going to, you probably know already :)
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Sat Mar 25, 2006 12:46 pm    Post subject: Reply with quote

Ok, keeping my Gentoo64 it is! I will see how it goes...
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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