View previous topic :: View next topic |
Author |
Message |
korilius n00b
Joined: 30 Oct 2013 Posts: 20
|
Posted: Thu Nov 14, 2013 2:09 pm Post subject: Gentoo benchmark vs other Distros |
|
|
Didn't see anything right off in searching for this, so here's a question:
Has anyone did any benchmark comparison with their Gentoo builds vs other distros? I'm curious has to what / how much gains were made speedwise and stabilitywise. Curious to see some results! Once I get a dedicated machine, I'm going to attempt this as well. _________________ -Thanks!- |
|
Back to top |
|
|
schorsch_76 Guru
Joined: 19 Jun 2012 Posts: 452
|
Posted: Thu Nov 14, 2013 2:28 pm Post subject: |
|
|
Benchmarks always depend on the task to complete. I did some time some test in an other forum wirth "-march=native" Here is the result
Linpack Benchmark on i7 (Sandy Bridge) with -O3
Code: |
cc -O3 -o linpack linpack.c -lm
./linpack
Enter array size (q to quit) [200]:
Memory required: 315K.
LINPACK benchmark, Double precision.
Machine precision: 15 digits.
Array size 200 X 200.
Average rolled and unrolled performance:
Reps Time(s) DGEFA DGESL OVERHEAD KFLOPS
----------------------------------------------------
1024 0.74 75.68% 4.05% 20.27% 2383548.023
2048 1.48 83.11% 5.41% 11.49% 2147012.723
4096 2.95 86.10% 2.03% 11.86% 2163528.205
8192 5.91 82.06% 2.37% 15.57% 2254578.490
16384 11.79 83.12% 2.63% 14.25% 2225587.867 |
Linpack Benchmark on i7 (Sandy Bridge) with -O3 -march=native
Code: | cc -O3 -march=native -o linpack linpack.c -lm
./linpack
Enter array size (q to quit) [200]:
Memory required: 315K.
LINPACK benchmark, Double precision.
Machine precision: 15 digits.
Array size 200 X 200.
Average rolled and unrolled performance:
Reps Time(s) DGEFA DGESL OVERHEAD KFLOPS
----------------------------------------------------
1024 0.82 75.61% 3.66% 20.73% 2163528.205
2048 1.16 75.00% 3.45% 21.55% 3090754.579
4096 2.33 79.83% 1.72% 18.45% 2960617.544
8192 4.65 75.91% 2.80% 21.29% 3073865.209
16384 9.31 78.09% 2.04% 19.87% 3016178.731
32768 18.63 77.13% 2.42% 20.45% 3036530.814 |
[1] http://elinux.org/RPi_Performance
[2] http://debianforum.de/forum/viewtopic.php?f=15&t=142626&hilit=+elinux&start=15 |
|
Back to top |
|
|
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Thu Dec 05, 2013 8:47 pm Post subject: Re: Gentoo benchmark vs other Distros |
|
|
korilius wrote: | Didn't see anything right off in searching for this, so here's a question:
Has anyone did any benchmark comparison with their Gentoo builds vs other distros? I'm curious has to what / how much gains were made speedwise and stabilitywise. Curious to see some results! Once I get a dedicated machine, I'm going to attempt this as well. |
Some months ago I did a Xonotic benchmark between Ubuntu and Gentoo. Both 64 bit systems. No difference in FPS. I have just one notebook, I can't waste much time with benchmarks so it was the only I did. Anyway, programs in Gentoo are smoother and quicker to open.
But when it comes to stability... Gentoo overkills Ubuntu! No strange bugs after months and no mysterious problems, Gentoo simple work. I have some ~amd64 packages and no problems, the Ubuntu PPA's sometimes give me problems. Now I don't use Ubuntu in my notebook anymore, just Gentoo.
tip: use phoronix-test-suit _________________ Emerging en gentoo |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2053 Location: United Kingdom
|
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Thu Dec 05, 2013 9:49 pm Post subject: |
|
|
I'm always concerned at boot time too: I give a proud smile when a windows user says how fast my pc boots...
We could start a specific thread about benchmarks with results, tips and how we've learned from our mistakes.
I don´t remember where I saw a simple test of 5000 digits PI calculate, but I'll edit this post when I find it.
HardInfo does many tests and upload results in an "online chart of speed champions" LOL... _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Fri Dec 06, 2013 1:34 am Post subject: |
|
|
Fitzcarraldo excellent, really excellent articles you linked! Maybe some fearless guy try to update them _________________ Emerging en gentoo |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Dec 06, 2013 1:47 am Post subject: |
|
|
Quote: | I'm always concerned at boot time too: I give a proud smile when a windows user says how fast my pc boots... |
I've always wondered how they measure Windows boot time. I have Windows at work, when it boots it takes rather long time after the GUI is loaded to get functional network, not sure what else is lagging behind. It takes a few seconds for my Gentoo to boot into CLI login (root on SSD) with all services and daemons ready to serve.
And Windows at work takes forever to shut down, what the heck is it doing? Gentoo shuts down in a jiffy. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Fri Dec 06, 2013 2:08 pm Post subject: |
|
|
Jaglover wrote: | I've always wondered how they measure Windows boot time. |
Some programs measures in seconds and says what is delaying boot. Micro$oft has fooling the windows users: they show login screen before all the services are loaded; so the user has a "fast" login, but the machine stays busy after the login, loading more services (a lot of them).
Shutdown time is annoying!
My gentoo boot is terrible long (it stucks at ethernet part) but is 1 sec faster than windows. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
ak47gen n00b
Joined: 15 Feb 2007 Posts: 43
|
Posted: Tue Dec 17, 2013 9:12 pm Post subject: |
|
|
As a benchmark I don't think you get a lot more speed then other distros, you just get a lot more customization. For benchmarks on the Linux side I would start with Phoronix. On their other site openbenchmarking.org some people did comparisons already of gentoo VS other Distros. As for boot speed you can get a lot more with gentoo strictly because you build the OS from ground up allowing you to strip anything you don't need. I made a video 5 years ago with 11 second boot time. https://www.youtube.com/watch?v=ozA2ie10A6w |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Dec 17, 2013 10:36 pm Post subject: |
|
|
No thread on benchmarking Gentoo would be complete without that link. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
shazeal Apprentice
Joined: 03 May 2006 Posts: 207 Location: New Zealand
|
Posted: Tue Dec 17, 2013 11:57 pm Post subject: |
|
|
Best page ever!
I never understood the obsession with boot times. I mean who sits at their keyboard "OMG OMG OMG FASTER DAMN IT PEOPLE ARE GOING TO DIE IF YOU DONT BOOT NOW! OMG DHCP! DIEEEE"
Uptime is the only time I care about _________________ CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go" |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6147 Location: Dallas area
|
Posted: Wed Dec 18, 2013 12:05 am Post subject: |
|
|
shazeal wrote: | I never understood the obsession with boot times. I mean who sits at their keyboard "OMG OMG OMG FASTER DAMN IT PEOPLE ARE GOING TO DIE IF YOU DONT BOOT NOW! OMG DHCP! DIEEEE" |
LoL
Quote: | Uptime is the only time I care about |
Indeed _________________ UM780, 6.1 zen kernel, gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Wed Dec 18, 2013 12:07 am Post subject: |
|
|
My dedicated MythTV fronend machine under the TV is an appliance, so it needs fast turn-on.
So I don't shut it down, I suspend it. The power button on the remote triggers a suspend script, and the system is set for wake-on-USB.
If you're really concerned about fast boot times, (and if you're plugged into the AC) don't shutdown and boot, suspend and wake. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Dec 18, 2013 2:36 am Post subject: |
|
|
My favorite benchmark is how often I curse an operating systems for its rank stupidity. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Wed Dec 18, 2013 7:39 am Post subject: |
|
|
My favourite one is how often I agree with Hypnos. _________________
|
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3432
|
Posted: Wed Dec 18, 2013 9:41 am Post subject: |
|
|
depontius wrote: |
So I don't shut it down, I suspend it. The power button on the remote triggers a suspend script, and the system is set for wake-on-USB.
| yeah, that's a good trick. I've also heard about computers starting from read-only hibernation image - in case you want to actually power down and still have fast boot.
For machines running for a week (or several months) without shutdown making boot 1 sec faster is ridiculous though |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Dec 18, 2013 2:44 pm Post subject: |
|
|
aCOSwt wrote: | My favourite one is how often I agree with Hypnos. |
Curmudgeons unite!
In case anyone is wondering what the heck I'm on about, clarity of function and ease of maintainability are almost always more important than outright speed or good looks. In high performance applications, they're still just as important if the application is important at all (perhaps games are not).
Judge Judy: "Beauty fades, dumb is forever!" _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Dec 18, 2013 4:23 pm Post subject: |
|
|
Before we had internet I bought cd's with suse,redhat,mandrake etc.
I don't remember how I discovered Gentoo 10 years ago.
I never used another distro since.
I recently bought a new Epson printer because my 6 years old RX560 started to have problems.
Linux support is bad compared to what it once was.
I ended up d/ling a src rpm which made it possible to install.
It still doesn't work well with gutenprint,can't print photo's borderless.
So on a spare partition I installed openSuse and d/led and installed the rpm driver.
Same problem.
What I noticed though was how slow KDE is compared to Gentoo.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Wed Dec 18, 2013 5:24 pm Post subject: |
|
|
Before we had broadband I bought cds from Cheapbytes, starting with RedHat 4.1, and kept buying them for several years. Sometimes I bought several revisions of a release, notably RedHat 5.0, in order to get slipstreamed fixes.
Then when RedHat 8 came out and it wasn't RedHat 8.0, I got this unsettled feeling in the pit of my stomach, and started distro-shopping. At first I was thinking in terms of servicability and searched in that mode. Then I remembered that "This is a hobby, it's supposed to be FUN!" and went looking for one of the geekiest distributions I could find.
I started with Gentoo right at the cusp between 1.2 and 1.4, and have been with it ever since. I've installed Ubuntu and Mint for my kids, so they could function independently of me, and I run RedHat Enterprise at work, but I've run straight Gentoo at home.
Until now.
This whole "forced march to systemd" thing has me thinking about Slackware. I have to install another server imminently, but I think I'm going to put Gentoo on it. There is some hurry to this, and there is less of my time involved with a Gentoo install, whereas Slackware would be a big learning experience.
And perhaps systemd won't be forced down our throats, and I can stick with Gentoo.
Or perhaps someone who understands "The Unix Way" will reimplement systemd, correctly. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Wed Dec 18, 2013 6:40 pm Post subject: |
|
|
gerard82 wrote: | What I noticed though was how slow KDE is compared to Gentoo.
Gerard. |
SuSE is one of the slowest distros I've seen ever. Only FreeBSD and Vista slower than SuSE.
shazeal wrote: |
I never understood the obsession with boot times. I mean who sits at their keyboard "OMG OMG OMG FASTER DAMN IT PEOPLE ARE GOING TO DIE IF YOU DONT BOOT NOW! OMG DHCP! DIEEEE" |
Boot time is an indicator of the health of your system.
When someone says that there is no need for quick booting, and uptime is the most important thing - it resembles a fat man who descended into the courtyard of flats in the morning, says that there is no need to climb back up to the evening. He just does not want to admit that his health is not fine, and it would be hard and unpleasant to climb up the stairs, so the idea is thrown: it does not matter how fast he can climb.
Regarding me, I reinstall the system if boot time exceeds 20 secs. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Thu Dec 19, 2013 3:42 am Post subject: |
|
|
creaker wrote: | Boot time is an indicator of the health of your system. [...] Regarding me, I reinstall the system if boot time exceeds 20 secs. |
Please tell us you don't do this on Gentoo, when you can just use rc-update. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Dec 19, 2013 4:20 am Post subject: |
|
|
creaker wrote: | When someone says that there is no need for quick booting, and uptime is the most important thing
Regarding me, I reinstall the system if boot time exceeds 20 secs. |
My system need 4+ minutes to boot (estimate time, i never really count ; mostly eaten when loading my card raid kernel, discover, check and assemble arrays), so yes my system uptime is important for me, more than my boot time.
I have never be in needs to reinstall my system, in fact my gentoo install experience is limited to 18-20 times, the hosts i have install gentoo on.
And your health indicator is strange : so a system that is in a reboot loop... is healthy if it take 5s between each attempt ? |
|
Back to top |
|
|
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Thu Dec 19, 2013 5:42 am Post subject: |
|
|
Hypnos wrote: | creaker wrote: | Boot time is an indicator of the health of your system. [...] Regarding me, I reinstall the system if boot time exceeds 20 secs. |
Please tell us you don't do this on Gentoo, when you can just use rc-update. | [ironic]Another good way would be systemd in parallel mode.[/ironic] _________________ Emerging en gentoo |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Thu Dec 19, 2013 6:20 am Post subject: |
|
|
rudregues wrote: | [ironic]Another good way would be systemd in parallel mode.[/ironic] |
Yeah it's like the fat man running up many staircases at once! _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
|