<div dir="auto"><p>I have seen the config from /proc/config.gz and found that processor family as generic x86 64.</p>
<p>Actually my system consists of i3 10th gen comet lake 10100 which has
 integrated graphics and pci express 4.0 and also lots of new 
instructions like avx2, sse4 etc.,.</p>
<p>The main reason of compiling source code of kernel is it detects all 
my hardware and provide support for opencl, video acceleration etc.,. 
But I can't find any option to select my processor especially comet lake
 or atleast skylake and instead there is an option called core2 in the 
section processor family.</p>
<p>Finally I have disabled secure boot mode in bios and compiled source 
code successfully and now I am able to boot into the latest build kernel
 but there is no difference in performance between old and new kernels.</p>
<p>I think that normal kernel shipped by the distro is generic and it 
doesn't have support for latest instructions like avx2, sse4 etc.,. To 
get support we must compile kernel with lots of tuning.</p>
<p>I have exported the modules running on system and disable others by running the command</p>
<p>make localmodconfig</p>
<p>What I want is " is there any way to export my cpu instruction set to
 kernel .config file and compile kernel and install the modules.".</p>
<p>If I can compile kernel source code then my Linux system will run at extreme speeds never before.</p></div>