.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old October 20th, 2011, 06:33 PM
Deathblob's Avatar

Deathblob Deathblob is offline
Corporal
 
Join Date: May 2011
Posts: 103
Thanks: 17
Thanked 24 Times in 17 Posts
Deathblob is on a distinguished road
Default Re: 64x version of Dominions?

Quote:
Originally Posted by Loren View Post
64bit doesn't add one bit of speed unless you're doing 64bit arithmetic. In general it will actually cost you a bit of speed as 64 bit code is bigger than 32 bit code.
Yes! That's so true, if you are reading your 64-bit words over an 8-bit bus.
Reply With Quote
  #12  
Old October 21st, 2011, 04:54 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: 64x version of Dominions?

Quote:
Originally Posted by Deathblob View Post
Quote:
Originally Posted by Loren View Post
64bit doesn't add one bit of speed unless you're doing 64bit arithmetic. In general it will actually cost you a bit of speed as 64 bit code is bigger than 32 bit code.
Yes! That's so true, if you are reading your 64-bit words over an 8-bit bus.
The memory bus is at least 64 bits, that's not a problem.

The problem is 64 bit code is simply bigger than 32 bit code--fewer lines of code fit into the on-chip caches, you end up with more read cycles to memory.
Reply With Quote
  #13  
Old October 21st, 2011, 10:36 PM
Deathblob's Avatar

Deathblob Deathblob is offline
Corporal
 
Join Date: May 2011
Posts: 103
Thanks: 17
Thanked 24 Times in 17 Posts
Deathblob is on a distinguished road
Default Re: 64x version of Dominions?

Quote:
Originally Posted by Loren View Post
Quote:
Originally Posted by Deathblob View Post
Quote:
Originally Posted by Loren View Post
64bit doesn't add one bit of speed unless you're doing 64bit arithmetic. In general it will actually cost you a bit of speed as 64 bit code is bigger than 32 bit code.
Yes! That's so true, if you are reading your 64-bit words over an 8-bit bus.
The memory bus is at least 64 bits, that's not a problem.

The problem is 64 bit code is simply bigger than 32 bit code--fewer lines of code fit into the on-chip caches, you end up with more read cycles to memory.
Well, I thought those reads should be twice as fast, so I didn't believe you, and went googling.

http://www.osnews.com/story/5768/Are...naries_/page1/

It's a bit old, and Sparc of all things. But looks like you are right.

64bit had ~+20% bigger binaries, ~-10% slower execution.
Reply With Quote
  #14  
Old October 22nd, 2011, 11:58 AM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: 64x version of Dominions?

Quote:
Originally Posted by Deathblob View Post
Quote:
Originally Posted by Loren View Post
Quote:
Originally Posted by Deathblob View Post

Yes! That's so true, if you are reading your 64-bit words over an 8-bit bus.
The memory bus is at least 64 bits, that's not a problem.

The problem is 64 bit code is simply bigger than 32 bit code--fewer lines of code fit into the on-chip caches, you end up with more read cycles to memory.
Well, I thought those reads should be twice as fast, so I didn't believe you, and went googling.

http://www.osnews.com/story/5768/Are...naries_/page1/

It's a bit old, and Sparc of all things. But looks like you are right.

64bit had ~+20% bigger binaries, ~-10% slower execution.
The 64bit processor reads everything faster, whether the executable is 32bit or 64bit.
Reply With Quote
  #15  
Old October 24th, 2011, 04:52 PM

JonBrave JonBrave is offline
Second Lieutenant
 
Join Date: Aug 2010
Posts: 546
Thanks: 100
Thanked 10 Times in 8 Posts
JonBrave is on a distinguished road
Default Re: 64x version of Dominions?

Quote:
Originally Posted by Loren View Post
The problem is 64 bit code is simply bigger than 32 bit code--fewer lines of code fit into the on-chip caches, you end up with more read cycles to memory.
How long does it take for the size of "on-chip cache" to double on average PC?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.