Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48

Thread: Ubuntu 12.10: 32-bit vs. 64-bit Linux Performance

  1. #41
    Join Date
    Feb 2011
    Location
    France
    Posts
    164

    Default

    Quote Originally Posted by rgloor View Post
    If that is fanatics by your definition, then you might call me fanatic.
    You're right, "enthusiasts" is more appropriate.

  2. #42
    Join Date
    Apr 2011
    Posts
    146

    Default

    Quote Originally Posted by whitecat View Post
    Diego Elio Pettenò wrote:
    The data is also coming from a synthetic test, not from an actual overall system usage, and if you have any clue about benchmarks you know that the numbers can easily lie out of their teeth!

    And in your benchmark:
    x86-64 : 114 %
    x32 : 117 %

    Awesome. A new ABI for that?
    x32 has 9 years late. For desktop or servers nobody will use x32 because x86-64 is already here.

    And you forgot that proprietary vendors (Nvidia, AMD, Adobe, Microsoft) will certainly never support x32 because it's a waste of time.
    The benchmark does not say x32: 117%
    It says x32: 100% and x64:114%
    So yes, a new ABI to gain 14% in execution time (and 40% in memory consumption, in the particular case).

    And you forgot that proprietary vendors (Nvidia, AMD, Adobe, Microsoft) will certainly never support x32
    Why do you think this to be a problem when the same blog talking about x32 "myths" you linked explicitely states:
    Also remember that for compatibility the syscalls are kept the same with x86-64
    Having the Linux kernel compiled with CONFIG_X86_X32 doesn't mean it will be limited to X32 binaries.
    https://bugs.archlinux.org/task/31270
    Last edited by kokoko3k; 10-15-2012 at 08:48 AM.

  3. #43
    Join Date
    Feb 2011
    Location
    France
    Posts
    164

    Default

    Quote Originally Posted by kokoko3k View Post
    The benchmark does not say x32: 117%
    It says x32: 100% and x64:114%
    So yes, a new ABI to gain 14% in execution time (and 40% in memory consumption, in the particular case).
    Sorry, I read it too fast.

    Nevertheless, what is your g++ command-line to compile this bench?
    Last edited by whitecat; 10-15-2012 at 10:30 AM.

  4. #44
    Join Date
    Jan 2007
    Posts
    415

    Default

    While I know ubuntu isn't released in an X32 flavor yet, the better article would be a comparison of all 3, X32, x86 and x64.

  5. #45
    Join Date
    Jul 2009
    Posts
    220

    Default

    whats the big deal with these pointers? is smaller pointers are good for performance, why not reduce them even further? would probably be an interesting thing when someday 128 bit may be introduced, to have a dynamic pointer size. if thats possible at all..

  6. #46
    Join Date
    May 2012
    Posts
    335

    Default

    i blame either memory alignment or pointer arithmetic(if its not the same) for those couple slower tests
    (compiler can too, but idk that)

    64bit program with proper memory alignment should take twice as much memory then the 32bit counterpart (also with memory alignment)
    what is not optimal for all things (space-time trade off)

    64bit cpu should be faster in all ways (except memory consumption, but memory speed should be the same and 64bit can fetch 64bits at a time, 32bit can 32) when working in 64bit mode as you at least have extra registers to play with (not faster by much as the cpu has "register renaming" and some extra tricks in bout modes)
    Last edited by gens; 10-18-2012 at 09:44 AM.

  7. #47
    Join Date
    May 2012
    Posts
    335

    Default

    Quote Originally Posted by jakubo View Post
    whats the big deal with these pointers? is smaller pointers are good for performance, why not reduce them even further? would probably be an interesting thing when someday 128 bit may be introduced, to have a dynamic pointer size. if thats possible at all..
    there have been 64bit cpu's even 20 years ago, but have not been used for practical reasons
    mind you can use the 128bit sse registers for storing data and processing floating points in bout 32 and 64bit modes (in 64bit mode you get extra sse registers, same applies as above stated)


    http://www.cs.umd.edu/class/sum2003/...p/pointer.html
    about pointer arithmetic

  8. #48
    Join Date
    Feb 2011
    Location
    France
    Posts
    164

    Default

    Quote Originally Posted by jakubo View Post
    would probably be an interesting thing when someday 128 bit may be introduced, to have a dynamic pointer size.
    AMD64 arch can theoretically handles up to 4 millions GB of RAM.
    So... it's too early to think about an Athlon 128.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •