View previous topic :: View next topic |
Author |
Message |
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2070
|
Posted: Mon Nov 28, 2005 9:19 am Post subject: |
|
|
cokehabit wrote: |
Code: | george@ubuntu:~$ time ls
Desktop
real 0m0.079s
user 0m0.007s
sys 0m0.007s
|
|
Ubuntu?! |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Mon Nov 28, 2005 9:42 am Post subject: |
|
|
Q-collective wrote: | cokehabit wrote: |
Code: | george@ubuntu:~$ time ls
Desktop
real 0m0.079s
user 0m0.007s
sys 0m0.007s
|
| Ubuntu?! | yup, until i get amd64 back up and running i'm on binary only _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Lechium Apprentice
Joined: 04 Apr 2005 Posts: 244
|
Posted: Mon Nov 28, 2005 5:36 pm Post subject: |
|
|
Actually the benchmark was done from my very normal and basic gentoo box, which had F@H client running at the time. It is a Pentium D, with a very very lightweight installation (sans kde lol), so guess that contributed. _________________ Child - Noun. Pronunciation Key: (chld)
Plural: chil·dren (chldrn)
1. An emergency food supply
2. .... |
|
Back to top |
|
|
Omega21 l33t
Joined: 14 Feb 2004 Posts: 788 Location: Canada (brrr. Its cold up here)
|
Posted: Sun Dec 04, 2005 4:36 am Post subject: |
|
|
Thats awesome! _________________ iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Dec 10, 2005 4:58 am Post subject: |
|
|
I discovered that if you follow this ricers howto and bootstrap during a full moon my 3.2Ghz P4 o/ced to 5.8 liquid nitrogen cooled magically sprang up an extra 200Mhz clock making it 6Ghz!!.. Imagine what it would do if I did it during a solar eclipse!?!? the hidden CFLAG --fomfgwft-opts also works wonders. |
|
Back to top |
|
|
thedarave n00b
Joined: 21 Jul 2004 Posts: 19
|
Posted: Sat Dec 10, 2005 1:56 pm Post subject: |
|
|
I heard that if you patch "flame_decal.h" to the vanilla kernel, it makes it go faster.
Now lets see who else has seen that Futurama episode...
-Steve- _________________ -Steve- |
|
Back to top |
|
|
silverpig Tux's lil' helper
Joined: 10 Dec 2003 Posts: 143 Location: Vancouver BC
|
Posted: Wed Feb 08, 2006 7:30 pm Post subject: |
|
|
-omg-optimized
That had me in stitches.
But where are
-mtype-r
-mNOS
or maybe more appropriately for a computer
-mLN2
_________________ 'Cause I can. |
|
Back to top |
|
|
Tamsco Guru
Joined: 04 Aug 2004 Posts: 313 Location: dmse.mit.edu
|
Posted: Tue Feb 21, 2006 10:28 pm Post subject: |
|
|
thedarave wrote: | I heard that if you patch "flame_decal.h" to the vanilla kernel, it makes it go faster.
Now lets see who else has seen that Futurama episode...
-Steve- |
Yea but it's exclusively distributed in the awesome_express patchset. _________________ If you get your problem solved put a [SOLVED] in the title!
Is OpenOffice still compiling?! |
|
Back to top |
|
|
XenoTerraCide Veteran
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Sat Feb 25, 2006 7:49 am Post subject: |
|
|
make sure you're using the 2.7 kernel series. whatever you do make sure the second number of the kernel is odd. _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
|
XenoTerraCide Veteran
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Wed Mar 01, 2006 8:51 am Post subject: |
|
|
also don't forget to have them include flags there processor doesn't support. like _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Wed Mar 01, 2006 10:06 am Post subject: |
|
|
XenoTerraCide wrote: | also don't forget to have them include flags there processor doesn't support. like |
-msse3 is slow, you want to try -msse1337 (it is a secret compiler flag that is present gcc 3.4*) _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
XenoTerraCide Veteran
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Wed Mar 01, 2006 10:20 am Post subject: |
|
|
damn must have missed that one... yeah I see it now right next to -omg-mmxadv and -m4dnow (used for rendering things in 4 "spatial dimensions") enabling... _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Wed Mar 01, 2006 10:23 am Post subject: |
|
|
mark_alec wrote: | -msse3 is slow, you want to try -msse1337 (it is a secret compiler flag that is present gcc 3.4*) |
As far i know the flag is available in gcc 3.4.x, but it only works really good on gcc >= gcc-4.2, so you really should upgrade ASAP. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
Matteo Azzali Retired Dev
Joined: 23 Sep 2004 Posts: 1133
|
Posted: Fri Mar 03, 2006 12:48 pm Post subject: |
|
|
Just a not-joking, serious note: I'm using an ~x86 system with a sempron 3100+ rev.E
machine.Since seems that I'm forced to use march=athlon-xp here (cause march=k8 is for ~AMD64 only),
I decided to add the cflags "-msse -msse2 -msse3", however, speed-up is very limited,
even for blender rendering(152 sec becomed 148) I think cause:
or 1) gcc isn't really good with sse2
or 2) sse2 needs optimized code to works
or 3) sse2 just doesn't give much performances (but strangely, sse2 versions of blender
for win32 is reported to gain more than 30% speed... which makes me think 1 or 2 are the correct answer...)
or 4) sse2 is just not supported for 32 bits enviroments (+athlon-xp)? _________________ Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/ |
|
Back to top |
|
|
Matteo Azzali Retired Dev
Joined: 23 Sep 2004 Posts: 1133
|
Posted: Fri Mar 03, 2006 1:37 pm Post subject: |
|
|
I can answer myself, right answer was 1 for gcc 3.4.x ,with a note:
even with -O3 -msse2 -msse3 -mfpmath=sse -mfpmath=sse,387 thing didn't changed too much, my renders becamed
only 6% faster than with a plain -O2.... (143 seconds)
answer was gcc 3.4 isn't handling well the sse-sse2 optimizations for fpmath(at least not as intel compiler does),
autovectorization is in gcc 4.1,so with gcc 4.1 it should perform more (but I can't thell how much).
EDIT: I did a test. The same scene in blender took me 2:32 to render in a blender built with gcc-3.5-r1 and just "-O2",
the same scene took me 1:55 to render in a blender built with gcc-4.1 and "-O3 -ftree-vectorize -msse -msse2 -ftree-vecorizer-verbose=1 -mfpmath=sse".
20% less time is good for 3D apps,as it can save hours in batch renderings, so IMHO with gcc-4.1.0 the 3D apps will be a little
exception to the gentoo ricing.... _________________ Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/ |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Tue Mar 07, 2006 12:01 am Post subject: |
|
|
Well, you can't beat hand assembled SIMD code for the areas that are truely important. 6% isn't too bad. |
|
Back to top |
|
|
Fitzzy n00b
Joined: 07 Nov 2005 Posts: 17 Location: Fitzville
|
Posted: Thu Mar 09, 2006 9:46 pm Post subject: |
|
|
And to all you ricers out there with slow machines, here is a nice ricer tip!:
Always emerge packages on faster machines because those binaries will also be faster when run on slower machines! |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Fri Apr 14, 2006 9:02 am Post subject: |
|
|
I've another sure-fire suggestion for further optimilazing your Gentoo-experience. Paint your computer case red, wear only red clothes and change your console colour setting to only output red text. As everyone worth his salt knows, «Red onez go fasta!»...
Umm... I better not post my emerge --info here _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
SirYes Apprentice
Joined: 15 Jan 2006 Posts: 282 Location: Lodz, Poland
|
Posted: Sat Apr 15, 2006 9:56 pm Post subject: |
|
|
Sure the quite often forgotten prelinking makes wonders! Just remember to add USE="pic" flag and prelink all possible applications with all libraries they happen to use. Then find the preload/prefetch patches or Gentoo baselayout and you're golden.
Only that and the need for 4GB of RAM (or more...) because all that applications and libraries would be loaded upon boot into the memory in One Giant Swoop... But then, you'll be much rejoiced _________________ My blog: In search for ultimate programming language |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Sun Apr 16, 2006 9:56 am Post subject: |
|
|
SirYes wrote: | ... Just remember to add USE="pic" ... | Just to be sure, I'm not missing out on some k3w1 basmati here: "pic" does stand for "prelinking insane combinations", right? _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Sun Apr 16, 2006 11:26 pm Post subject: |
|
|
red-wolf76 wrote: | SirYes wrote: | ... Just remember to add USE="pic" ... | Just to be sure, I'm not missing out on some k3w1 basmati here: "pic" does stand for "prelinking insane combinations", right? |
Code: | reub2000@reub2000 ~ $ cat /usr/portage/profiles/use.desc | grep pic
pic - Build Position Independent Code. Do not utilize this flag unless you know what you're doing. |
|
|
Back to top |
|
|
Varean Guru
Joined: 03 Jul 2005 Posts: 436 Location: California, USA
|
Posted: Tue Apr 18, 2006 3:57 am Post subject: |
|
|
Someone fire up a 200 mHz CPU machine w/ 18 mB of RAM and maybe 2 gigs of HD space(I know people out there Gentoo these), and seriosuly try this out. Heck, who needs overcl0cking with this stuff!?
Brilliant piece! _________________ Registered Linux User #387568
|
|
Back to top |
|
|
tane_stelzer Apprentice
Joined: 30 Dec 2005 Posts: 263 Location: Edinburgh, Scotland and Kempen, Germany
|
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sun Jul 02, 2006 6:49 am Post subject: |
|
|
Matteo Azzali wrote: | Since seems that I'm forced to use march=athlon-xp here (cause march=k8 is for ~AMD64 only) |
Since when? *points to Sempron 3000+ 32-bit laptop running -march=k8* |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
|
Back to top |
|
|
|