LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2005, 06:23 PM   #1
shashir
Member
 
Registered: Jul 2004
Posts: 70

Rep: Reputation: 15
Slackware, Gentoo, speed


Is Gentoo truly faster than Slackware as they claim? In general, which is more efficient and loads Linux faster? Gentoo or Slackware? I know, I should probably, define what I mean by faster, but I mean to say in general in your opinions.
 
Old 06-28-2005, 06:24 PM   #2
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
I run both and find that Gentoo is faster, but not by much. Noticable but not overly so.
 
Old 06-28-2005, 06:53 PM   #3
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
If you want to be superanal about the speed, Download the whole source or as its is updated and change the Slackbuild CFLAGS to "-O3 -march=i686 -mcpu=i686 -pipe" and recompile the kernel. I use -O2 because its more stable and read the script because sometime PV puts notes saying that i cant use -O2 or -O3 or it has to be -O3 or mush be -march=i386. But I Slackbuilt KDE 3.4.1 and it load about 4 secs faster so go figure. Of coarse the package was i386 :P
 
Old 06-28-2005, 07:19 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe look at it this way :
if you run a gentoo machine, then 50 % of the time the compiler is running in background.
so Slackware is 50 % faster all over...
( and it saves energy... )

egag

Last edited by egag; 06-28-2005 at 07:26 PM.
 
Old 06-28-2005, 07:26 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Why the hell would you run a C/C++ compiler in the background doing nothing most of the time, if its not being used all the time? How does that make it 'faster'?
 
Old 06-28-2005, 07:33 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
to keep up a gentoo sys, there's a lot of compiling to do.
it's not sitting back but updating sys. & program files.

ok, that 50 % doesn't make sense ( it wasn't meant to ), but i want to put it another way:
when taking all the compiling work into account,
then Slack delivers more " user fun " per clock cycle.

egag
 
Old 06-28-2005, 07:40 PM   #7
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Ok, although I would still consider myself a novice in Linux, and yes biased, just a little, since the only other distro I tried was Mandrake 8.1 , but it seems to me that compiling every little damn thing when it maybe most of the time doesn't even make more than a milli or a nano second difference, no noticeable difference in performance and loading, then gentoo users must have waaay too much time to kill, and like waiting for things to compile, when they could actually be doing more useful and less time wasting things, and are nitpicky on that extra "umph" that really is not there. Sure extra speed is nice, but when losing a lot of time to simply "optomize" code that probably is already as optomized as much as it can be, and potentially sacrificing stability, to me is not worth the time, and hassle.........Call me crazy, but thats just me..
 
Old 06-28-2005, 07:49 PM   #8
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Considering that most user machines wait for user input 99% of the day, I don't see the point. I would never use Gentoo on production machines.
(And yes, I have used Gentoo quite a bit)
 
Old 06-28-2005, 08:04 PM   #9
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Ok, I have one more thing to say, and I know it will probably offend maybe even some Slackers, one other quesiton and point I would like to add, do you think that Gentoo users are most likely also to be the ones who have overclocked their PCs? I mean, sure, overclocking sounds like fun as a hobby, but I would NOT want my server or desktop to have an extra ghz if it decreases the stability of the machine, and there is more issue on cooling. To reiterate the point I made early, I am all for speed, but not at the cost of stability, and when it probably would not make any difference anyways.
 
Old 06-28-2005, 09:00 PM   #10
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
If I found a someone overclocking a server, I would fire them.
Servers are *nothing* if not stable.
 
Old 06-28-2005, 11:08 PM   #11
shashir
Member
 
Registered: Jul 2004
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks guys for your analyses of my question.
 
Old 06-29-2005, 08:34 AM   #12
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Code:
If you want to be superanal about the speed, Download the whole source or as its is updated and change the Slackbuild CFLAGS to "-O3 -march=i686 -mcpu=i686 -pipe" and recompile the kernel. I use -O2 because its more stable and read the script because sometime PV puts notes saying that i cant use -O2 or -O3 or it has to be -O3 or mush be -march=i386. But I Slackbuilt KDE 3.4.1 and it load about 4 secs faster so go figure. Of coarse the package was i386 :P
What do the flags -02 & -03 relate to and how many options are there?
 
Old 06-29-2005, 08:48 AM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
-O : Optimize, following by the optimisation level for gcc

try :
Code:
info --index-search "Optimize" gcc
 
Old 06-29-2005, 08:54 AM   #14
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Wow, there are tons of options!!!

What would be a good reason not to use -O3, as it seems to include all optimizations, increases
both compilation time and the performance of the generated code?
 
Old 06-29-2005, 09:05 AM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe for stability reason, that requires testing though

Also -march option may be used as well for fine tunning the optimization
Code:
info --index-search "i386" gcc
For my part, I generally use -O2 -march=athlon-xp (I have barton xp 2600+)
and I am happy with that

Last edited by keefaz; 06-29-2005 at 09:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware vs freebsd (speed) redjokerx Slackware 2 07-25-2005 11:27 AM
Gentoo speed chris318 Linux - Distributions 3 03-02-2005 05:55 PM
Gentoo speed chris318 Linux - Newbie 10 03-02-2005 05:38 PM
Gentoo vs Slack: Speed..... Oraee Slackware 9 06-18-2002 03:54 PM
Gentoo Speed Improvements Aurix Linux - Distributions 3 05-14-2002 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration