LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2006, 06:00 PM   #1
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Newbie question about kernel 686


Like the title of my post, i want to know, if it's possible, what's it's the good thing about the kernels 686

As far I know, they are kernels created to work better in machines that has a Pentium or ADM Kx and follow


It may be possible to me understand that, but, really, what is that this kernel improve in system which has this kind of processors?

If this question has been already treathed, sorry by the inconvinience.....


Thanks and bye
 
Old 03-15-2006, 06:09 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
The basic idea has to do with instruction scheduling and instruction set.

You want to tell the compiler what kind of CPU you have so it knows how to schedule instructions efficiently. Some CPUs have 2ALU units and 2FPU units, some have 3/3 some have 4/3, etc. The idea is you want the compiler to reorder instructions so as to mix the propper number of ALU and FPU instructions. If the order was 32 fpu and then 32 ALU later, you would only be using half your CPUs processing units. If you could mix those same instructions into 8 4+4 batches, you could better utilize the CPU. The real story is much more complex, but you get the idea. This is why you would want to choose the closest match to your actual processor.

Also, some CPUs have support for additional instruction sets like MMX, SSE, 3DNow, etc. I think there have even been changes in the standard x86 line (386,486,686,etc). If your processor supports these instructions, it would be nice to tell the kernel (and compiler) so it could take advantage of them. I'm not sure what exactly i686 includes, but again, you get the idea, and you want to choose the closest match to your actual CPU.

Last edited by visaris; 03-15-2006 at 06:12 PM.
 
Old 03-15-2006, 06:46 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Each one is a newer instruction set, i686 contains instructions that i586 doesn't support, and i586 contains things that i486 didn't support, etc. i686 is Pentium Pro and better; almost all x86 computers you can find today are i686 or above
 
Old 03-15-2006, 07:19 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
look here. Myself and others posted the diff between 386/486/etc
http://www.linuxquestions.org/questi...d.php?t=410580

there are lots of posts here about it though. take a look around
 
Old 03-15-2006, 07:23 PM   #5
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Original Poster
Rep: Reputation: 33
Well, interesting note visaris, like you said, I got the point.....

Thanks to you also spooon.

So, the basicly idea of this improvement, is to help the kernel to satisface the instructions suported by the processor, but, this affect the packages which install using 386? or i'm complity lost and has nothing to do with this? jajaja


I mean, if I have a kernel 686, and install a package which comes in 386, this package is recompiled to reach the 686 structure or simply, run using only 386 support?


Thanks for the answers


Bye
 
Old 03-15-2006, 08:08 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The i386 packages have been compiled to run on any 386 (or higher) processor so they won't have the additional instructions (MMX etc.) supported on 586 or 686 processors. What processor the kernel was compiled for does not make any difference to userland applications (other than a snappier kernel will make the system as a whole feel more responsive).
 
Old 03-16-2006, 04:34 PM   #7
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Original Poster
Rep: Reputation: 33
Thanks for the answers, I understand now

I'm new in this linux world so I'll be asking for much time jejeje


Hopefully, some day I can be a help.....



Bye
 
  


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
Why kernel-image-2.6.8-2-686 ? MKSrivastava Debian 1 12-10-2005 04:01 AM
ftape with 2.6.8-2-686 kernel RRolleston Debian 2 11-13-2005 09:45 PM
kernel 2.6.8-2-386 or 2.6.8-2-686 cccc Debian 7 08-22-2005 07:51 AM
nvidia-kernel-2.6.8-2-686 harlemno1 Linux - Newbie 2 03-21-2005 02:16 AM
Sarge Install - Kernel 2.6.5-1 686 ?? Matdess Linux - Newbie 3 06-02-2004 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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