LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-26-2017, 02:06 AM   #1
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Rep: Reputation: Disabled
Difference of generic and huge kernel


I have a question in mind, I did some research too but I can't see relevant answers. Here's the deal.

What is the difference of a generic and huge kernel? Well I set up my slackware with LVM partition and they said that change the kernel from huge to generic, now I'm curious about the difference of two.
 
Old 12-26-2017, 02:23 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
A generic kernel typically has a small(ish) statically-linked core and a huge number of modules. There will be modules to drive every kind of hardware that the kernel supports, but only a few of those will actually be loaded. It's the job of the installer program to work out what modules are needed on a particular machine and create the appropriate files in /etc/modprobe.d.

I think the Slackware huge kernel has all the drivers on board so that it can handle any hardware out of the box. That's useful on an installation disc but rather clumsy for day-to-day working.
 
1 members found this post helpful.
Old 12-26-2017, 02:30 AM   #3
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
A generic kernel typically has a small(ish) statically-linked core and a huge number of modules. There will be modules to drive every kind of hardware that the kernel supports, but only a few of those will actually be loaded. It's the job of the installer program to work out what modules are needed on a particular machine and create the appropriate files in /etc/modprobe.d.

I think the Slackware huge kernel has all the drivers on board so that it can handle any hardware out of the box. That's useful on an installation disc but rather clumsy for day-to-day working.
Nice explanation, so using generic kernel is good for optimizing your system cause it will just load some of kernel modules needed. Am I right? Thanks.
 
Old 12-26-2017, 04:25 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,133

Rep: Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375Reputation: 7375
Yes, it is better than the huge kernel - you can say, in general. But if you really want to optimize you will need to recompile the kernel for your own hardware (which will contain all the drivers you use - not as modules, but built-in).
 
Old 12-26-2017, 04:44 AM   #5
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
Yes, it is better than the huge kernel - you can say, in general. But if you really want to optimize you will need to recompile the kernel for your own hardware (which will contain all the drivers you use - not as modules, but built-in).
Nice, thanks now I know the difference of two.
 
  


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
[SOLVED] Kernel huge or generic, which is running? frushiyama Slackware 15 01-13-2017 08:46 PM
[SOLVED] Custom kernel doesn't work, but now even generic and huge kernels panic. ibrunton Slackware 3 01-27-2014 02:03 PM
Howto enable EDAC reporting in Slackware generic/huge kernel. granth Slackware 3 02-06-2012 02:20 AM
Generic vs Huge kernel in Slack 12 techyranger Slackware 4 01-23-2008 01:30 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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