LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-11-2010, 12:12 PM   #1
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 175

Rep: Reputation: 31
Recompile kernel


Do you recompile your kernels for a server?

I'm building a Centos 5.4 (latest version) server, which comes with kernel version 2.6.18.

The latest stable linux kernel is version 2.6.32.3. Quite a large difference in version there.

My questions is, should I rebuild my kernel from source, or just stick with the highly tested rpm version that came with centos?
 
Old 01-11-2010, 01:11 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
stick with the highly tested rpm version that came with centos, because the reason to run RHEL (CentOS) is for its stability and testing.
 
Old 01-11-2010, 05:21 PM   #3
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Quote:
Originally Posted by fw12 View Post
Do you recompile your kernels for a server?

I'm building a Centos 5.4 (latest version) server, which comes with kernel version 2.6.18.

The latest stable linux kernel is version 2.6.32.3. Quite a large difference in version there.

My questions is, should I rebuild my kernel from source, or just stick with the highly tested rpm version that came with centos?
Well, I always compile my kernels because I use Gentoo. But in your case it probably depends: Here are some reasons you might want to recompile:

1) Optimize the kernel for your architecture (to make it a little faster)
2) Check special kernel options that aren't checked by default (special hardware or debugging options)
3) Try to make kernel as small as possible on hard drive by removing everything but what is needed for your system
4) Earn Linux guru points.
5) Take advantage of some recent security improvement to the kernel code.

If none of these things are important to you, it is probably pointless to recompile.
 
Old 01-12-2010, 09:08 AM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
For a server, reliability is key. Unless there is some new feature that you must have, or some security issue, stick with the tried and true version.
 
Old 01-12-2010, 09:34 AM   #5
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 175

Original Poster
Rep: Reputation: 31
Thanks for your answers.

At this time I do not need any special kernel features. And despite the attraction of compilling a kernel that has only the features I need (for speed, security, etc), I think I will go with the rpm version.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel recompile, LILO warning and Kernel-panic Tux-Slack Slackware 26 02-26-2008 05:15 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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