Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a noticeable benefit in compiling for an intel i7 processor? Or am I fine sticking with the install kernel. If there are brnefits, please elaborate.

share|improve this question
    
It'll test if your system can build software... –  Ignacio Vazquez-Abrams Sep 30 '12 at 1:05

2 Answers 2

up vote 3 down vote accepted

You will have no real benefits of re-building a kernel, unless there are patches in a newer kernel version which are needed for your hardware, that aren't included in the version you have installed. But in general, there is no good reason to recompile a kernel from what is shipped in the distro.

share|improve this answer
    
That's where i was leaning, but i've seen several postings on how-to that i was curious if there was a true benefit. Thanks for confirming. –  Dennis Sep 30 '12 at 3:56
    
See also - help.ubuntu.com/community/Kernel/Compile –  bodhi.zazen Sep 30 '12 at 5:09

For x86 architectures the kernel provides some CPU specific processor family options, for example for 64 bit builds it provides:

  • Opteron/Athlon64/Hammer/K8
  • Intel P4 / older Netburst based Xeon
  • Core 2/newer Xeon
  • Intel Atom
  • Generic-x86-64

..so one can select the more appropriate build option if you so desire. For ubuntu, the kernel team uses the generic option.

It also depends on which version of GCC you use to build the kernel. Newer versions of GCC should in theory produce better code than older versions but your mileage may vary.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.