Results 1 to 10 of 10

Thread: GCC 4.7 AMD Bulldozer Compiler Tuning

  1. #1
    Join Date
    Jan 2007
    Posts
    14,904

    Default GCC 4.7 AMD Bulldozer Compiler Tuning

    Phoronix: GCC 4.7 AMD Bulldozer Compiler Tuning

    As the latest AMD Bulldozer Linux benchmarks, here are updated figures on compiler tuning for the FX-8150 processor when using GCC 4.7.1.

    http://www.phoronix.com/vr.php?view=17911

  2. #2
    Join Date
    Apr 2008
    Location
    Zagreb, Croatia
    Posts
    111

    Default

    Oh, come on. There can't be so much difference just with compiler flags.
    That would mean Gentoo is faster than Calculate Linux, and we damn
    well know that it ain't so. Stop this madness once and for all, Michael!

  3. #3
    Join Date
    Dec 2011
    Posts
    2,062

    Default The real question

    The real question is, how does this compare against Intel Core i5 and Core i7?
    How does it compare against Ivy Bridge?

    And does it have good graphics device drivers on pair with Intel?

    Yeah, we all know that AMD have better graphics hardware than Intel.
    But if the drivers suck, then its useless.

  4. #4
    Join Date
    Dec 2010
    Location
    Calgary
    Posts
    136

    Default

    Quote Originally Posted by clavko View Post
    Oh, come on. There can't be so much difference just with compiler flags.
    That would mean Gentoo is faster than Calculate Linux, and we damn
    well know that it ain't so. Stop this madness once and for all, Michael!
    I have measured cases where the march compiler flag made a significant difference (10 or 20% difference) to the speed of resulting binary. They can make a real difference.

    BD being a weird new arch needed from compiler makers and OS makers to update their code, just like every new arch does.

    When BD initially got to market, the performance numbers were strange and strongly suggested that there were things that could be done with code optimization.

    That is why you see articles like this one periodically: new versions of compilers should (hopefully) produce better code for BD (and other CPUs to whatever degree thee compiler makers have worked on the CPU).

  5. #5
    Join Date
    Aug 2012
    Posts
    396

    Default

    Quote Originally Posted by clavko View Post
    Oh, come on. There can't be so much difference just with compiler flags.
    That would mean Gentoo is faster than Calculate Linux, and we damn
    well know that it ain't so. Stop this madness once and for all, Michael!
    You obviously don't know much about how compilers work...

  6. #6
    Join Date
    Nov 2010
    Posts
    397

    Default

    So what does Ubuntu 12.10 use?

  7. #7
    Join Date
    Aug 2012
    Posts
    396

    Default

    What compiler flags the kernel was compiled with doesn't really impact the programs you run that much (in fact they are already defined and you cannot change them much). All things considered, the kernel runs well on high end processors as is, but I'm sure a nice compiler optimization might improve your boot times slightly. What really matters is processor intense applications need to be compiled well so that what takes a lot of time, will take less time. In some cases, as in those that make heavy use of AVX, XOP, FMA4 instructions, you can see a double improvement in processing speed if you compiled it with bdver1.

  8. #8
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,463

    Default

    Quote Originally Posted by uid313 View Post
    And does it have good graphics device drivers on pair with Intel?
    It's a discrete CPU... doesn't need graphics drivers.

  9. #9
    Join Date
    Apr 2008
    Location
    Zagreb, Croatia
    Posts
    111

    Default

    @hoohoo, @mmstick
    Sorry guys, it seems that my irony was too deep yesterday
    I'm a Gentoo user myself, and am aware of the advantages
    that compiler flags bring, and these are not negligible.

    I was refering to benchmarks that were published on Phoronix
    pitting Sabayon or Calculate Linux against Ubuntu/Arch. Every
    time it was stressed that these distro's were 'Gentoo based'.
    But both of these distro's come with precompiled binaries and
    you can be sure that there are no specific cpu optimizations.
    Therefore, performance like, they can't be like Gentoo.

    Perhaps, now that "we know" that cpu flags give performance
    it is time for a real Gentoo benchmark

  10. #10
    Join Date
    Sep 2006
    Posts
    210

    Default

    I'm curious: some of the Benchmarks shown use external libraries.
    Were those rebuilt with the changed cflags as well? And glibc/gcc itself (for the fortran libs for instance)?

Posting Permissions

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