LinuxQuestions.org
Review your favorite Linux distribution.
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 01-24-2007, 08:11 AM   #16
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15

I like Crux but i find myself more confortable with Slackware. Personally i haven`t found any improvement in performance when using Crux. But it makes a good, solid and easy to use system.

Last edited by ferradura; 01-24-2007 at 08:15 AM.
 
Old 01-24-2007, 09:28 AM   #17
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
If you have a 64-bit processor like one of the AMD64's, you would need to use k8, opteron, athlon64, or athlon-fx as the -mtune argument (-mcpu is the deprecated equivalent to -mtune). The i686 is a 32-bit architecture and will not take advantage of the additional 64-bit instruction set.

To build 64-bit packages, you will need to have 64-bit version of glibc and binutils and gcc need to be built with 64-bit support enabled. You'll need other 64-bit tools as well, libtool, perl, flex, and file come to mind as tools used during the build process. None of this will be available on a 32-bit Slackware system. Your best bet is to get a 64-bit distro or build one yourself.

That said, you're not likely to notice a difference between 32- and 64-bit because the difference in execution times are measured in nanoseconds. This is so small it takes the sum of tens of thousands to be perceptible to the human brain. If you're doing things computationally intensive, you'll notice differences like tasks that took 12 minutes on a 32-bit architecture only take 7-minutes on a 64-bit architecture. But day-to-day things like web browsing and word processing aren't going to be noticeably improved. Unless, of course, it takes 12-minutes to open your web browser.

Quote:
Originally Posted by pdw_hu
As for OpenOffice: If even the gentoo folks use binary packages for it, you'd better not compile it
The binary version provided by Gentoo is 32-bit for use on multilib systems. Versions of OO prior to 2.0.4 did not build on 64-bit systems. Newer versions of OO can be, and are, compiled locally.

Last edited by weibullguy; 01-24-2007 at 09:29 AM.
 
Old 01-24-2007, 12:08 PM   #18
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H
-Os is optimizing for size ... not really performance (unless you consider RAM usage performance).

well according to alot of people -Os gives better performance for pentium M
 
Old 01-24-2007, 01:36 PM   #19
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
I don't know if it as anything to do with package optimization, but I can say that Arch is WAY faster than Slack, at least, on my system. That is in fact one of the reasons that made me switch.
 
Old 01-24-2007, 05:03 PM   #20
KleB
Member
 
Registered: Jan 2006
Location: Slovenia
Distribution: Slackware, Gentoo
Posts: 97

Rep: Reputation: 15
Well, if one checks Gentoo mailing list, one can get to know A LOT on optimization issues... And it is easy to explain why -Os is in many ways better than -O3 and even why --funroll-loops is not always the best idea. The reason for this is, that internal processor clock is much faster than FSB. And processor cache is of limited size. So it is usually faster to run a slightly more expensive algorythm that fits into cache, than wait for portions of the program to load from RAM... but of course it depends on types of programs. But usually, -Os is not at all a bad idea, in many ways better than -O3...
 
Old 01-24-2007, 06:45 PM   #21
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by KleB
Well, if one checks Gentoo mailing list, one can get to know A LOT on optimization issues... And it is easy to explain why -Os is in many ways better than -O3 and even why --funroll-loops is not always the best idea. The reason for this is, that internal processor clock is much faster than FSB. And processor cache is of limited size. So it is usually faster to run a slightly more expensive algorythm that fits into cache, than wait for portions of the program to load from RAM... but of course it depends on types of programs. But usually, -Os is not at all a bad idea, in many ways better than -O3...
Quote:
-funroll-loops
Unroll loops whose number of iterations can be determined at compile time or upon entry to the loop. -funroll-loops implies both -fstrength-reduce and -frerun-cse-after-loop. This option makes code larger, and may or may not make it run faster.
http://gcc.gnu.org/onlinedocs/gcc-4....timize-Options

Yup, it's kind of a gamble ... usually it doesn't make too much difference either bad or good.

As for the -Os versus -O3 ... that's a bit too technical for me I'll try it out tho ... I can imagine that it may also result in some performance gain, but it was mainly designed as a size optimization.

Quote:
-Os
Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.

-Os disables the following optimization flags:

-falign-functions -falign-jumps -falign-loops
-falign-labels -freorder-blocks -freorder-blocks-and-partition
-fprefetch-loop-arrays -ftree-vect-loop-version

Last edited by H_TeXMeX_H; 01-24-2007 at 06:46 PM.
 
Old 01-25-2007, 06:40 AM   #22
KleB
Member
 
Registered: Jan 2006
Location: Slovenia
Distribution: Slackware, Gentoo
Posts: 97

Rep: Reputation: 15
Of course things are not straightforward and of course -Os is meant for size optimization. And what is funny (and yet explainable) is that it often happens that smaller programs run faster than larger programs even if the larger program executes fewer instructions...
 
  


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
anybody try recompiling the x packages? Fascistchicken Slackware 3 09-11-2004 08:09 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

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

All times are GMT -5. The time now is 03:37 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