LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-13-2007, 03:29 PM   #1
AphoxemaG
Member
 
Registered: Jan 2007
Location: Illinois
Distribution: Slackware 11
Posts: 37

Rep: Reputation: 15
'Fine Tune' 2.6 kernel


I'm trying to get my kernel as pink and pretty as possible, but there's still alot of things I don't know about the Linux kernel and GNU/Linux in general, so I'm sure I don't see alot of things.

I was wondering if I posted my machine and kernel configuration, someone might be able to help me research and suggest any changes I ought to make, and hopefully describe why so I'll know in the future.
 
Old 02-14-2007, 08:49 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
There is a free, online book aimed at giving the "normal" user informnation on the kernel - go to http://www.kroah.com/lkn/ to download it.
 
Old 02-14-2007, 09:09 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You can also have a look at this website:
http://kernelnewbies.org/

What can you "Fine-tune"?
-> Remove all uneeded drivers: be sure to not remove the ones for your harddisk or IDE or SATA! For this you need a lot of details on what device specifications you have (lspci will tell you)
-> Be sure that your processor is the good one so that optimization are the best ones.
-> Change in the scheduler (type, HZ, ..) , memory management.
-> Network parameters (do you want ATM, ppp, RNIS, ...)
-> .. a lot in fact

I'm not sure you will see a big difference compared to a full kernel. The parts that you don't use are not loaded (modules).

Last edited by nx5000; 02-14-2007 at 09:11 AM.
 
Old 02-14-2007, 11:40 AM   #4
AphoxemaG
Member
 
Registered: Jan 2007
Location: Illinois
Distribution: Slackware 11
Posts: 37

Original Poster
Rep: Reputation: 15
I'll check those out, and I've pretty much tried to follow all those. I've had to jump through some hoops to get SATA working with 2.6.19.1, because it's not remarkably clear what I need to have for it, because the 2.6 that comes with Slackware actually puts libata under the SCSI stuff, so apparently it was moved later, but I enabled SCSI and all sorts of other stuff and... I don't know how, and it took me a long time to get it working so I'm not too sure I care why, but it works.

I want to cull out anything that I will never use and make modules for things I might use, but the big problem I'm having... while I'm understanding things more and more, there's just some things I don't understand. I'll look through those guides first and come back to this if I need any more help. Thank you.
 
Old 02-14-2007, 12:14 PM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by AphoxemaG
I've had to jump through some hoops to get SATA working with 2.6.19.1, because it's not remarkably clear what I need to have for it
Typical problem that a lot of people have faced... Took me several days last time to get my dma working. I still haven't completly understood how I managed
Others problems might be: wireless and for what's out of the kernel: sound, graphic cards.
 
Old 02-16-2007, 11:31 AM   #6
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
yea like someone else pointed out Linux is load on demand so even though we understand why you are messing with it. geneally making the kernel smaller by not including stuff doesn't actually make it run better. It IS better for security i think. but for performance you can stick with the stock module setup and tweek processor specific stuff. schedular, tick setup and like that.
it even helps alot to do some testing and alter the cflags in the kernel makefile to have more optimized code. then you just need to do runntime tweeking through the /proc filesystem.
 
  


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
How to fine tune POSTGRESQL selva_pondy Linux - Software 1 05-20-2006 04:20 PM
MythTV PVR250 - Everything works, fine tune picture???? Giallo998 Linux - Software 1 03-21-2005 11:35 PM
need 2 remove kernel fat from boot and fine tune what's left mjewell Linux - Newbie 10 01-24-2004 08:01 PM
Fine Tune Performance Help? Sabeer Linux - General 4 06-05-2003 03:55 AM
Fine Tune Performance Help? Sabeer Linux - General 1 06-03-2003 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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