You are not logged in.

#1 2009-02-18 23:19:02

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Source-based experiment

So, for no apparent reason other than "for the lulz", I've decided to reinstall Arch on my desktop computer. And compile everything from source.

This could be fun…

Offline

#2 2009-02-18 23:22:53

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Source-based experiment

Do some benchmarks. Measure how long it takes. Are you using special cflags?

Share your lolz.

Offline

#3 2009-02-18 23:26:45

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Source-based experiment

I will be using special cflags. 10 minutes 'til the new ISO is downloaded. Even though I'll just be recompiling everything anyway, I just want a look at the new ISO tongue

Last edited by Barrucadu (2009-02-18 23:27:13)

Offline

#4 2009-02-19 03:36:18

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: Source-based experiment

This is what I've been curious to see... speed comparations between standard packages and compiled ones.

Offline

#5 2009-02-19 03:58:06

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,577

Re: Source-based experiment

1.) Please benchmark for others!
2.) Use LDFLAGS! They help more than C(XX)FLAGS in my experience. Though quite a few packages don't respect them... I know in Gentoo they have patches to many packages to make them respect LDFLAGS.
http://en.gentoo-wiki.com/wiki/Safe_LDFLAGS
http://forums.gentoo.org/viewtopic-t-67777.html
http://forums.gentoo.org/viewtopic-t-226909.html
http://forums.gentoo.org/viewtopic-t-316445.html (note: that list is way deprecated)
http://lwn.net/Articles/192624/
http://www.gentoo-wiki.info/CFLAGS_Matrix

I used "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu" to much success (app load times, not in-app performance, is what is helped) in Funtoo/Gentoo. Arch uses "--hash-style=both" by default Allan said once IIRC, which (I may easily be wrong) can provide the same performance as gnu, but increased binary size.

Offline

#6 2009-02-19 08:48:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,651
Website

Re: Source-based experiment

Note that our gcc has -Wl,--hash-style=both set

Offline

Board footer

Powered by FluxBB