Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    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.
    Last edited by kokoko3k; 15 October 2012, 08:48 AM.

    Comment


    • #42
      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; 15 October 2012, 10:30 AM.

      Comment


      • #43
        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.

        Comment


        • #44
          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..

          Comment


          • #45
            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; 18 October 2012, 09:44 AM.

            Comment


            • #46
              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)



              about pointer arithmetic

              Comment


              • #47
                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.

                Comment

                Working...
                X