LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-13-2006, 03:16 AM   #1
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Rep: Reputation: 15
Optimized slack for pentium4 and repacked


Hi. I would like to optimize the slackware packages for pentium4 and then repack them, and replace the ones from the ISO cd's with them. The only thing is that I do not know what software to use and where to start. I've read some threads here before posting, but couldn't find anything that suits my neads, so please don't post just to say "there will be no difference from i486 to pentium4", even if it wouldn't be that great of a difference i'd still want to do it so... If you could post your methods of making slackware packages with a short guide or a link maybe on how to set the optimization flags. thanks.
 
Old 07-13-2006, 04:09 AM   #2
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
IMO I dont think you'll see a difference for the time it takes.

Basically you're talking about building slackware from the entire ground floor of linux from scratch and working up to what you have.

The only thing I can tell you is that if your really bent on optimized packages, then you might want to look into zen-walk linux, as they claim to be optimized for 686 architecture.

I've had bad luck with them, but many people love them. Mileage may vary I guess.
 
Old 07-13-2006, 04:09 AM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
To get you started, first download all the source (CD 3&4) of Slackware and have a look at the slackbuild scripts - create a script to change the optimization to suit your Pentium4 chip, and start your computer for some massive compiling by running all the slackbuild scripts to build your own packages...

-Y1
 
Old 07-13-2006, 04:42 AM   #4
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
Old_Fogie, as i've said i know that most people think package optimization doesn't have so much effect on the system speed, altough opinions are on both sides (i've seen another thread where someone explained how and why optimization does make a difference) and even so i'm the type who want to feel it, test it, do it. I have the time and energy ,so to say, to do this, so why not ? I've also read somewhere that the optimization from i386 to i686 on some distros made a hell of a job, so why wouldn't optimization from i486 to pentium4 do the same ? And Yalla-One, thx for the tip but can i use -mcpu=pentium4 -march=pentium4 on those scripts and -02 or -03 gcc optimizations ? is there a how-to on those cd's or can you give me a link ?

I've read on this site and somewhere got to
Quote:
export CHOST="i686-pc-linux-gnu"
. Knowing that my -march variable is se to -march=pentium4 should i change that to be
Quote:
export CHOST="pentium4-pc-linux-gnu"
too ?

Last edited by sl4ckw4re; 07-13-2006 at 05:45 AM.
 
Old 07-13-2006, 06:09 AM   #5
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 132

Rep: Reputation: 25
How are you going to measure the difference anyway? Lots of people try to optimize but no one reports any gain, just general stuff, like "it's much faster" or so... And why not use gentoo? You might even consider using the intel compiler instead of the gnu compiler. My advice: first optimize one package and measure whether it makes a difference, then decide if it's worth optimizing everthing.
 
Old 07-13-2006, 07:08 AM   #6
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
There are major differences between 386 and 486, which means that a 486plus compilation will be significantly faster. Pentium MMX onwards have focused on new instructions that are only really significant for multimedia. Meanwhile they contain internal code translators that do a not bad job of making use of their capability.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compiling for pentium4? binarybob0001 Linux - Software 17 04-11-2006 04:27 PM
Building new linux box: AMD 64 or Pentium4 GATTACA Linux - Hardware 4 10-18-2004 04:14 PM
gentoo: pentium4 smp support and kernel 2.6.7 problems iliah Linux - Hardware 0 08-01-2004 12:35 PM
can't install redhat 8.0 on pentium4 machine pattarapongn Red Hat 3 09-16-2003 12:12 PM
Compiling Pentium4 Support Gives Kernel Panic activematrix Linux - Hardware 12 05-17-2003 08:12 AM

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

All times are GMT -5. The time now is 02:23 PM.

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