Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a simple question about the difference between i386 and i686. This is about differences in CPU speed and the necessary kernel to fully utilize those differences, right? I can run my computer using i686 according to RHs website, but I have the other installed. Is the only difference the kernel? I dont have to fully reinstall the i686 version if I want to maximize the power of my CPU, do I? Just a simple question.
in my experience, recompiling your kernel for i686 will make the
biggest difference. installing all packages for i686 instead of i386
will improve performance a bit too for those packages, but it will
not have as big an impact as the kernel recompile.
Originally posted by Kroenecker I dont have to fully reinstall the i686 version if I want to maximize the power of my CPU, do I?
Yes, you do. The 386 processor architecture can be seen as a subset of 686 architecture. Especially as the machine command list. The internal machine instruction cashing method, pipelining, parallel command execution etc. are different. The same program can run faster if it is compiled (optimized) for a target processor. So although you do not change the power of the CPU itself you can change the the power of the application.
Thanks for the scoop! Since I am just a beginner, I might wait a bit before trying to recompile the kernel.... I did do some programming in college though, and I am wondering if compiling a new Kernel is just as easy as using a compiler along with the correct source code. That is, I dont have to literally look into the code and alter any of that, do I?
Last edited by Kroenecker; 05-18-2003 at 09:46 AM.
um, compiling the kernel really couldn't be easier. You don't have to do anything manually, and you have a nice menu interface (or an X11 one if you go that way)
All you need to do is go to /usr/src/linux and type make xconfig (if you're running a graphical env - menuconfig if you're just on a text console)
set all your options in there - making sure to include all your device drivers and file systems you want. then do:
make dep && make modules bzImage
then you copy the bzImage to the /boot directory and add it into your boot loader.
I have all my programs (everything) compiled for athlon-xp which means it will do sse and mmx and 3dnow2, which helps a bit with some apps. I have the kernel compiled for i686 though as compiling for athlon (or pentuim 4) causes problems with modules and unresolved symbols.
You don't need to download a new kernel, unless you particularly want the latest version. If you download one from kernel.org, it will be missing a few features added by Redhat, and you might get some od behaviour.
There's lots of detailed HOWTOs on the net about compiling the kernel, so you'll probably get better information from them than you will here.