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 12-26-2002, 01:36 AM   #1
joe10100
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
slack speed question


I was wondering since slackware is compiled for a 386, that means it doesn't take advantage of any of the newer processors' instructions right? So does that everything installed from, say slack 8.1 would run faster had it been compiled for a 586 or 686?

I'm only asking because I'm new to linux and it seems other distributions with the same programs (ie konqueror) ran faster.

thanks for the info.
 
Old 12-26-2002, 07:01 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
The i386 is an indicator for an Intel type CPU and bus. It is often called a "port". There are many different types of computers in operation and they require dirfferent ports of the same code. If you look in the arch subdirectory of the kernel source you will find at least 15 different ports for the kernel, and i386 is just one of them. It really does not indicate the CPU that is compiled for. However, when a kernel is compiled for an i386 architecture the specific CPU type instructions are an option. The default kernels provided with Slack use the minimum CPU for broadest compatibility. (386 I think)

You will need to build a custom kernel to provide support for a different CPU. That is really the only CPU specific part of any Linux distro. All the libraries and programs are dependent on the kernel for their operation. Building a custom kernel will usually help performance considerably if using a relatively new high speed CPU.

If you do decide to build a custom kernel, Slack 8.1 shipped with 2.4.18 kernel. I have seen come problems with the VM system in memory management with 2.4.18. I have had to switch to 2.4.19 to resolve my issues. I have not tried 2.4.20 as yet.

For a starting place on building a custom kernel, even if 2.4.19 or 2.4.20, use the .config file the 2.4.18 kernel that you are currently running. All the options will be set the same as they are now. You will only need to modify the CPU type and then proceed with build and install process.

Good luck
 
Old 12-26-2002, 10:06 AM   #3
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 117

Rep: Reputation: 15
I upgraded to 2.4.20 and recompiled it for my Duron after I installed Slack and it is very fast in KDE3 same speed doing things as my WinXP partition.

What I havn't figured out yet is how to get modules to load automatically so I just have everything turned on rather than module so I can't help you (yet) with how to streamline that kernel properly.

Rob

Last edited by RRepster; 12-26-2002 at 10:08 AM.
 
Old 12-26-2002, 10:19 AM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
RRepster,

I just insert the module commands that I need in the /etc/rc.d/rc.local file. That file is executed every time Slack boots. That insures the load process in the order that is required for me and helps keep all the custom stuff separate from the other files.
 
Old 12-26-2002, 01:32 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you should use the /etc/rc.d/rc.modules file
 
  


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
Updating Slack connection speed question. DeadPenguin Slackware 7 12-03-2004 12:13 AM
SLack 9.1 Vs. Vector 4 Speed sethgeekx86 VectorLinux 2 05-15-2004 12:50 AM
Need for speed - Slack on a 120MHz laptop nethbar Slackware 13 03-11-2004 03:15 PM
speed up the slack in my lap Goatdemon Slackware 42 02-22-2004 02:34 AM
Gentoo vs Slack: Speed..... Oraee Slackware 9 06-18-2002 03:54 PM

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

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