LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-04-2003, 06:55 PM   #1
DarkXtar
Member
 
Registered: Apr 2003
Location: Exeter, Ca.
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
Any helpfull advice on building a fast kernel?


I hate to ask this question but how do I build a fast kernel? I'm not talking about compiling a kernel in a short amount of time, I mean how do I get my custom kernels to process data fast. I'm having a hard time with this, I know that a smaller kernel is supposed to be faster than a larger kernel, but I find this information misleading I've compiled plenty of kernels that were smaller than the default installed kernel but that performed noticeably slower in comparison. I know about the "preemtible kernel" option under processor types and features and I found the preempt-kernel-rml-2.4.20-3.patch which has helped a lot when performing several tasks at once. So far I've got a kernel to perform a little faster than the default slack kernel which is a major step forward but still performs a little slower than WinXP gaming wise. And my goal is to have it perform at least as fast as WinXP on games if thats possible. I'm under the impression that that is possible, so any tips, info or links would be appreciated.
 
Old 05-04-2003, 08:00 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Which options did you use so far ?
 
Old 05-05-2003, 12:56 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Well it comes down to determining your hardware specifics and optimization. Modular kernel is the way to go for hardware support, but don't take it as the module is better, sometimes built-in items are much better and system resources less hungry. There are different ways to determine which do you want as a module or a built-in item, so if you read through linux kernel documetation it might help you. The slackware stock kernel comes with most things compiled in, and most of them just don't needed - I mean they either are convinient complied as modules or they aren't needed at all for your setup. As for processing power there is linux preemptive kernel patch by Robert Love, but the systems that utilize it in a great extent are SMP systems, where you want to destribute load as evenly as desired among processors for quicker response times. So if you really into comparing Windows XP speed and linux kernel speed you better off with linux kernel documentation and linux kernel mailing list all available at http://www.kernel.org
 
Old 05-05-2003, 12:49 PM   #4
DarkXtar
Member
 
Registered: Apr 2003
Location: Exeter, Ca.
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
So far I'm using the options "Pentium 4", "Preemtible Kernel" and preempt-kernel-rml-2.4.20-3.patch and have removed a lot of unneccessary features.
 
Old 05-05-2003, 01:09 PM   #5
DarkXtar
Member
 
Registered: Apr 2003
Location: Exeter, Ca.
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
I appreciate your trying to help neo but I just can't find any links to any kernel docs and I've been searching this site for over an hour. If I post this I'll sound like a complete idiot but is it too much to ask to give a direct link to any kernel documentation?
 
Old 05-05-2003, 01:29 PM   #6
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
The Linux Kernel HOWTO

The Linux Documentation Project is your friend.

A google search also turned up the SlackFAQ - Compiling the Kernel.

Last edited by fancypiper; 05-05-2003 at 01:33 PM.
 
Old 05-29-2003, 12:11 PM   #7
DarkXtar
Member
 
Registered: Apr 2003
Location: Exeter, Ca.
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
I didn't think it was possible, but it finally happened my linux kernel now outperforms my windows installation. Even games are running faster on linux than they are on windows.
 
  


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
Advice on Router-Building JamesGolick Linux - Wireless Networking 1 05-17-2005 09:22 PM
Advice on building a new system downfall Linux - Hardware 2 04-19-2005 02:06 AM
Building A Fast Linux Box grim1234 Linux - Hardware 9 01-14-2005 12:44 PM
Need Advice on Building New Computer Jubalint Linux - Newbie 9 03-27-2004 01:12 PM
Motherboard advice -- Building a PC mattv Linux - Hardware 6 02-21-2004 10:22 PM


All times are GMT -5. The time now is 11:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration