LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2006, 05:10 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
Talking about recompiling the kernel


hi, i'm using slackware 10.2, 2.4.31 kernel, i wanted to know if recompiling the kernel would improve performance? do i have to change the configuration (make xconfig) or just a plain recompilation would do?
i'm still a newbie & this is the 1st time i'm trying something on the kernel, plz help
 
Old 08-27-2006, 05:22 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
I don't find recompiling makes much difference to performance. A good way to do it though is to keep your existing .config and do a 'make oldconfig'. And then adjust it to your needs.
 
Old 08-27-2006, 01:48 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by sharathg786
hi, i'm using slackware 10.2, 2.4.31 kernel, i wanted to know if recompiling the kernel would improve performance? do i have to change the configuration (make xconfig) or just a plain recompilation would do?
i'm still a newbie & this is the 1st time i'm trying something on the kernel, plz help
Hi,

Rather open question! Your need to compile a custom kernel can be dictated by several conditions. One would be to trim the kernel to have optimum size. Another would be that your hardware requires special conditions, such as a specific controller that requires you to include a driver. As to the reasoning to compile for a specific processor family to gain performance, on the i86 class you will not see much gain. For 64 class machines, you will see some difference in the single verse the multiple core arena.

As for your question about the 'make xconfig'. You would do this to make the selections for the new kernel that is desired. To just do a 'plain recompilation' as you suggest, the old or current config would be used. To continue to compile without change in the .config file then the kernel would remain the same each time the 'make' is done.

You could look at some of the on-line reference in my sig to get some good background information!
 
Old 08-27-2006, 09:32 PM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I have some older hardware so doing a 'make distclean' to clear out all the "generic" stuff, then only added in what was specific to my computer, caused a huge difference in boot time.

regards,
...drkstr
 
  


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
Increasing Kernel stack size to 8k without recompiling the Kernel deathman Linux - Software 2 04-08-2006 04:39 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Recompiling the kernel bluethundr Linux - Newbie 6 07-24-2003 01:47 PM
Recompiling kernel 2.4.7-10 newvivs Linux - Newbie 1 10-02-2002 06:47 AM
Kernel recompiling(again) wonderpun Slackware 4 08-27-2002 08:08 AM

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

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