LinuxQuestions.org
Review your favorite Linux distribution.
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


View Poll Results: Do You Compile Your Own Kernel or Use The One Shipped With Your Distribution?
I compile my own kernel (official tree) 51 17.47%
I compile my own kernel (other tree) 6 2.05%
I use the kernel shipped with my distribution 223 76.37%
Other 12 4.11%
Voters: 292. You may not vote on this poll

Reply
  Search this Thread
Old 08-31-2016, 10:22 AM   #76
tess336
LQ Newbie
 
Registered: Aug 2016
Posts: 5

Rep: Reputation: Disabled

I use the Kernel the One Shipped With the Distribution. We can tune some kernel parameters at later state to resolve any performance issues. -srao01
 
Old 08-31-2016, 10:24 AM   #77
tess336
LQ Newbie
 
Registered: Aug 2016
Posts: 5

Rep: Reputation: Disabled
I use the Kernel the One Shipped With the Distribution. We can tune some kernel parameters at later state to resolve any performance issues. -srao01
 
Old 08-31-2016, 10:25 AM   #78
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Actually, there isn't any difference to the drivers - other than how many, and which ones are compiled into the kernel statically... The stock kernels are generic and with a minimum of drivers (display, keyboard one memory resident filesystem). After that, any needed drivers are loaded from the memory resident filesystem (from the initrd).

The only "speed" improvement would having your specific device drivers/filesystems loaded into the kernel at compile time. It can speed up boot by skipping the initrd.

Of course, that also means it is less likely that your kernel will work if you have to replace your motherboard...
 
Old 08-31-2016, 11:49 AM   #79
snalmond
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
I use the kernel shipped with my distribution.
 
Old 08-31-2016, 12:23 PM   #80
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99

Rep: Reputation: 11
I am curious about the people that chose "other" on the poll are using for a kernel?
 
Old 08-31-2016, 02:07 PM   #81
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
rooolling release mine is always kept updated Void Linux ....
 
Old 08-31-2016, 02:18 PM   #82
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: NOVA
Distribution: Debian 12
Posts: 1,071

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
There is no real need anymore
 
Old 08-31-2016, 02:46 PM   #83
tmacpherson
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
Why bother the stock kernels are fine no need to compile anymore unless you are doing something specific that requires it.
 
Old 08-31-2016, 03:06 PM   #84
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by crazypenguin View Post
I am curious about the people that chose "other" on the poll are using for a kernel?
I chose "other" because at any time I may be running either two different Debian-supplied kernels, one Debian-supplied and one compiled from kernel.org or two compiled form kernel.org.
I agree with the previous posts that compiling a kernel isn't something to be done to allow better performance, at least on the type of hardware I run, but sometimes the touchpad on my laptop or the NVIDIA driver on my desktop run better with one kernel than another so I still compile sometimes.
 
1 members found this post helpful.
Old 08-31-2016, 05:16 PM   #85
Daemoncat
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
I guess I just got in the habit way back in the 90's. It doesn't hurt, and 90% of the time I've got some oddball thing or other I need to tweak.
 
1 members found this post helpful.
Old 08-31-2016, 08:15 PM   #86
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
one of the problems with running the generic kernel is that SOMETIMES, it won't work with other parts of your system.

In my case, that turned out to be the changes in the VM support - unless the other projects (Xen/kvm/libvirtd) are in sync with the kernel, they didn't work.

MOST things are fine. But sometimes things will get out of whack.
 
Old 09-01-2016, 04:20 AM   #87
wobblini
LQ Newbie
 
Registered: Nov 2006
Location: New Jersey, USA
Distribution: SLS, Slackware, Fedora, Ubuntu, various others
Posts: 1

Rep: Reputation: 0
I started using Linux in 1993, at which time everyone pretty much compiled the kernel. I've compiled the kernel probably hundreds of times -- but not for a number of years. These days I use the kernel that comes with my distribution.
 
Old 09-01-2016, 04:42 PM   #88
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99

Rep: Reputation: 11
Quote:
Originally Posted by 273 View Post
I chose "other" because at any time I may be running either two different Debian-supplied kernels, one Debian-supplied and one compiled from kernel.org or two compiled form kernel.org.
I agree with the previous posts that compiling a kernel isn't something to be done to allow better performance, at least on the type of hardware I run, but sometimes the touchpad on my laptop or the NVIDIA driver on my desktop run better with one kernel than another so I still compile sometimes.
Thanks 273 for the response, it makes sense why you chose other.
 
Old 09-01-2016, 10:19 PM   #89
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,333

Rep: Reputation: 54
I always use the one that ships with distro or otherwise whatever one ends up getting installed/updated when I do yum/apt-get update.

Eventually I'd like to learn more about the inner workings of Linux and perhaps compile all my own system, but never really have time. I've gone through the LFS book, I'd like to actually build such system one day.
 
Old 09-02-2016, 07:13 AM   #90
johnniedoo
Member
 
Registered: Jun 2014
Location: USA
Distribution: MINT17.3 Mate, Cinnamon , Mint MATE 18.1
Posts: 73

Rep: Reputation: Disabled
I am still real new to linux (mint 17.3 x64 Mate) and am not quite sure what "compile means"
But i do download and install newer kernels as I upgrade hardware or other things . I am up to Kernel 4.2.5 in one machine and have stayed there for a number of months. but in a slightly newer one i've gone to 4.4.something. I did those moves to try to improve performance of a few things I had installed and it worked just great. but, in another machine, my older laptop i have stayed at 3.19.63 maybe, forget the exact last 2digits. it came with 3.16. something. it works fine but saw no need to change anything at all.

the other 2 were experiencing a couple of issues with some software operations and other glitches . i followed a few links to the kernel upgrade information in the standard newbie sites. so backed up and did the step by step kernel upgrade process. worked ,so was happy i gave it a shot. Even though I did not really have much of a clue as to what i was doing the first time. just crossed my fingers at the first few reboots and hoped for the best.
..I actually compiled step by step, copy/paste once
I used an application kernelupdate once,immediately took it out of my startup though.was more than I wanted in terms up update/upgrades.
I used the Mint Mate Update Manager the last 2 upgrades from 3.19 to 4.2 in one machine. worked fine so far.
I liked being able to compile it myself, but took more time and was a little over my head and found the update manager-->view--> Linux Kernel simple and fast without any mistakes.
kernelupdate app was ok but got me an error or 2 on one machine.but did work on a "prn" basis once i took it out of the start up list, not as well or easy,rather, than the update manager method.

Last edited by johnniedoo; 09-11-2016 at 01:15 AM. Reason: add/clarify-maybe
 
  


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
change the shipped kernel on a Live CD scmbg Linux - Kernel 1 10-31-2008 12:28 AM
cannot re-compile fedora8 distribution kernel bjharker Fedora 1 09-19-2008 08:54 PM
Compile Wine to be distribution independent ? Dark Carnival Linux - Software 0 11-28-2007 04:38 AM
sound driver shipped in kernel, not listed in xconfig reetep Linux - General 4 01-29-2004 03:25 PM
Slackware 8.1 shipped? lto Slackware 7 07-15-2002 12:47 PM

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

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