LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-04-2004, 10:32 AM   #1
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
Any slack release for i686


I noticed that all the packages in slackware 9.1 is in the format of
packagename-i486.tgz. But my computer has a Pentium IV cpu and
I want to make full usage of my cpu function. Any one knows if there
is a release of slackware 9.1 but with all the packages compiled specific
for i686 or PIV? I don't think kernel re-compiling is enough.
 
Old 04-04-2004, 10:42 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Any one knows if there
is a release of slackware 9.1 but with all the packages compiled specific
for i686 or PIV? I don't think kernel re-compiling is enough.
Nope, does not exist.
i486 is just a minimum for system requirements, I have 2-- P4 boxes and they run FAST after a kernel re-compile.........FAST
do you have DMA enabled for your hard drives??
have you un-installed all the programs that you don't use/don't need??
they are lots of ways to optimize your box!!
 
Old 04-04-2004, 12:06 PM   #3
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Oh, yeah, DMA, that might be the problem. But how can I enable it? And
how could I know what's the best parms for my hard disk?
 
Old 04-04-2004, 01:35 PM   #4
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 827

Rep: Reputation: 30
man hdparm

hdparm /dev/hdxX your drive will tell you if you have dma enabled (1) on (0) off. *as root of course*
 
Old 04-04-2004, 03:12 PM   #5
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
hdparm -d1 /dev/hda should enable it
 
Old 04-04-2004, 04:14 PM   #6
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
I was looking at some *.SlackBuild files the other day and I noticed that they are compiled with march=i486 and mcpu=i686. I'm not positive ( I'm not a programmer yet! ) but I think that it means it's optimized for i686 but will still run on i486.
 
Old 04-04-2004, 04:29 PM   #7
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by wallison
I was looking at some *.SlackBuild files the other day and I noticed that they are compiled with march=i486 and mcpu=i686. I'm not positive ( I'm not a programmer yet! ) but I think that it means it's optimized for i686 but will still run on i486.
That is correct, and one of my favourite things to point out.
 
Old 04-04-2004, 08:07 PM   #8
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Straight from the GNU GCC-3.3.3 manual:
Quote:
These -m options are defined for the i386 and x86-64 family of computers:

-mcpu=cpu-type
Tune to cpu-type everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, pentium3, pentium4, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.

While picking a specific cpu-type will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the -march=cpu-type option being used. i586 is equivalent to pentium and i686 is equivalent to pentiumpro. k6 and athlon are the AMD chips as opposed to the Intel ones.
-march=cpu-type
Generate instructions for the machine type cpu-type. The choices for cpu-type are the same as for -mcpu. Moreover, specifying -march=cpu-type implies -mcpu=cpu-type.
 
Old 04-04-2004, 08:11 PM   #9
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks. I checked the *.SlackBuild files. Just like you guys said, the compile
flag is "-march=i486 -mcpu=i686" for some (I think most) of the packages.
Slack is already optimized for i686, although not all the packges. I am
happy to find it out.
 
Old 04-05-2004, 04:25 AM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
My $0.02.

Optimizations are frequently discussed in the Linux circles, especially those who look forward to squeezing every last drop of performance from their machines.

However, there are tradeoffs in this approach. First and foremost is the time factor. As many of us source compilers already know, large packages (like X, and God-forbid... GCC) take eons to compile. And when they finally do (along with our optimization flags and so on), the performance improvement might not even be noticable.

However, some people would still like to have the bragging rights to say that they're running a highly optimized build of so and so app, to these people I say "Cool... and congratulations.".

But if you have quite some number of machines with different specs to admin/manage... you'd be grateful for precompiled binary packages
 
  


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
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM
Mandrakelinux release 10.1 for i586 when i have an i686 nickleus Mandriva 7 02-17-2005 11:54 PM
Is slack-current the same as the official 9.1 release? BearClaw Slackware 1 09-07-2003 11:57 AM
Release date for Slack 9.1? JoooN Slackware 5 08-30-2003 11:13 AM

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

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