You are not logged in.

#1 2011-11-10 20:15:35

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

[SOLVED] Processor Optimised Arch Version

I have free ressources on my Machine and an Phenom II X6 1100T which builds really fast with 9 jobs.

The thing is, i want to build an AMD K10 optimised Archlinux Version. The question which bothers me is the following

Are there any real benchmarks if the optimisation does any difference to not optimised?

the next thing is, are there people which would be interested in such an Archlinux Spin-off

For clearification, i just want to rebuild the Arch PKGBUILDs 1:1 with special GCC flags, i dont want to change anything on the PKGBUILDs itself or things like that.

Last edited by Vamp898 (2011-11-10 21:28:13)

Offline

#2 2011-11-10 20:20:24

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [SOLVED] Processor Optimised Arch Version

Vamp898 wrote:

I have free ressources on my Machine and an Phenom II X6 1100T which builds really fast with 9 jobs.

The thing is, i want to build an AMD K10 optimised Archlinux Version. The question which bothers me is the following

Are there any real benchmarks if the optimisation does any difference to not optimised?

the next thing is, are there people which would be interested in such an Archlinux Spin-off

For clearification, i just want to rebuild the Arch PKGBUILDs 1:1 with special GCC flags, i dont want to change anything on the PKGBUILDs itself or things like that.

To be honest it sounds like you want Gentoo but with pacman. 

As for optimization's and speed increase ... from back when I was using Gentoo to now I don't see any major differences.  As for real benchmarks ... I don't know of any.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2011-11-10 20:22:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Processor Optimised Arch Version

Depends what you do -  I spend most of my time in vim and an architecture-optimized vim may not perform significantly better than the stock one :-)

Offline

#4 2011-11-10 20:23:15

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

Re: [SOLVED] Processor Optimised Arch Version

The most advantage of Gentoo are the USE-Flags. There doesn´t exist something smiliar in Archlinux and there will never exist something like that.

I just want to use ABS to rebuild the packages with makepkg but use different CFLAGS instead.

Offline

#5 2011-11-10 20:26:21

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [SOLVED] Processor Optimised Arch Version

Vamp898 wrote:

The most advantage of Gentoo are the USE-Flags. ...

I agree completely!  But to me the advantage is being able to select compile options, not compile flags.  wink


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#6 2011-11-10 20:34:45

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

Re: [SOLVED] Processor Optimised Arch Version

exactly. and i dont want to change the compile options, i use the original from the PKGBUILDs smile

ist just want to have an archlinux exactly like i have now, the only difference is that the binaries are optimized for my processor, thats all

im building [core] right now, maybe i can get a running Core optimised for AMD K10 until 12pm CET

Last edited by Vamp898 (2011-11-10 20:56:50)

Offline

#7 2011-11-10 21:27:53

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

Re: [SOLVED] Processor Optimised Arch Version

So i created some benchmarks myself using -O2 -march=generic and -O3 -march=native and in fact it didn´t made any difference (except that some applications crash when compiling with a  -O3 compiled gcc xD)

also with -O2 -march=native i wasn´t able to see a difference. So in fact i will kill this project smile to sad that the optimisation doesnt worth that much on a default desktop. Seems only on very special cases it does some enhancements and there also not very much.

EDIT: Also there are some nice benchmarks showing that the difference between -O0 and -O1 is huge, also the difference between -O1 and -O2 is huge. So -O2 worths for sure.

-O3 takes much longer to compile than -O2 and the speed increase is nearly nothing, so -O3 doesnt really worth on a default desktop/for most cases

Last edited by Vamp898 (2011-11-10 21:33:24)

Offline

#8 2011-11-11 14:41:48

smartass
Member
From: Prague, Czech Republic
Registered: 2011-02-25
Posts: 60

Re: [SOLVED] Processor Optimised Arch Version

Hi,
Could you please post those benchmarks for other  people to see?
I think such tests would be a great contribution to the open source community, as they could help some people to make up their mind, whether it is time-worthy to re-compile their system.
I doubt this will give a definitive end to these endless debates, but could at least serve as a good reference.

If you do, I suggest you also post your /proc/cpuinfo, makepkg.conf and the exact version date (or hash string) of the ABS tree you used. Just to make it a real, reproducible report wink

BTW, how many passes did you take on GCC and binutils? Meaning, were you as thorough as in the LFS book ? wink

EDIT: Another question: what script did you use to rebuild the system? a bash for loop to invoke makepkg on each PKGBUILD in ABS or smth more sophisticated?

Last edited by smartass (2011-11-11 21:06:28)


KISS my Arch, Willy Gates!

Offline

Board footer

Powered by FluxBB