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 03-13-2005, 01:23 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
K6 kernel or 486 kernel??


I have a K6 laptop. I realized last week when I upgraded to kernel 2.4.29 that my 2.4.26 kernel that Slack 10 installed was for a 486 cpu. That worked ok (I did have problems with my PMCIA nic card getting assigned an IP addy), but I'm wondering if I'd get better performance from this old 350 MHz AMD K6 if I redid the kernel again and compiled it as a K6...or would this cause problems for apps that I built with my 486 kernel??
 
Old 03-13-2005, 01:52 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
It'll run smoother if the kernel is optimized for the CPU it's running on. That's why you have the option.

Theoretically, at least, having the wrong kernel won't prevent the *system* from running, but any applications that use CPU-specific function calls such as MMX or 3D Now! functions, will *not* work at all if they're being told they have a CPU that supports the functions when it doesn't. That's the other reason you set the CPU in the kernel: to enable/disable support for these extended instruction sets.

The reason the install kernel is optimized for a '486 is because '386/'486 CPUs didn't support MMX or any CPU extensions, just the basic x86 instruction set. Any program written specifically for it (bad karma to write your program specific to a single CPU and not to the POSIX standard) will work fine on a later CPU, because the later CPUs had support for all of the instructions they did.


So short answer: go ahead and compile for the K6 CPU, because it won't adversely affect you.
 
Old 03-13-2005, 02:03 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
keep in mind that the slackware i486 kernel is already built with support for i686... also, it's very unlikely you'll experience any performance boost by re-compiling, AFAIK...

some threads you might wanna check-out:

http://www.linuxquestions.org/questi...postid=1526946

http://www.linuxquestions.org/questi...hreadid=295787

http://www.linuxquestions.org/questi...hreadid=255113

just my two cents...
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Compile kernel for 486, comes out for Pentium+? kleptophobiac Slackware 5 10-04-2003 02:04 PM
How do I compile kernel for 486?? kleptophobiac Slackware 5 09-30-2003 03:50 PM

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

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