Jump to content

[Kernel Compilation Tutorial] How to get more Performance (FPS)


Backtrack

Recommended Posts

Hello Linux User,

 

if you want to Compile your own Kernel

 

Here is my Tutorial

 

Login as root

cd /usr/src

Download the Kernel Files

wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.tar.bz2

update your System

apt-get update

install the missing programms

apt-get install kernel-package build-essential libncurses5-dev fakeroot

unpack the Kernel Files

tar xfvj linux-3.12.tar.bz2 
cd linux-3.12

now you load your old kernel Config

cp -vi /boot/config-`uname -r` .config
make menuconfig

configure the Kernel

   General setup:
        Local version - append to kernel release (Add your own kernel name in small letters)
        Enable: Automatically append version information to the version string
    Processor type and features:
        Processor family (Choose CPU-Familie)
        Preemtion Model (Voluntary Kernel Preemtion (Server)) "For some Server Desktop is better. Test it out"
        Timer frequency (1000Hz)
    Power management options
        Disable: Power Management Debug Support
        Disable: Suspend to RAM and standby
        Disable: Hibernation (aka 'suspend to disk')
        Enable: ACPI (Advanced Configuration and Power Interface) Support
        CPU Frequency scaling
            Disable: CPU Frequency scaling
    Networking Support
        Networking options
            Disable: QoS and/or fair queueing
    Device Drivers
        Disable: Watchdog Timer Support
        Enable: Real Time Clock
            Enable: PC-style 'CMOS'
    Kernel hacking
        All Disable


Compiling

if you dont know how many cores do you have

fakeroot make-kpkg clean && fakeroot make-kpkg kernel_image --initrd && cd ..

if you know how many Cores do you have change the 4 to your number

fakeroot make-kpkg clean && fakeroot make-kpkg -j 4 kernel_image --initrd && cd ..

back to the folder cd /usr/src

cd ..
ls

No you got a message like this

3.12-sched-bfs-427.patch  linux-3.12  linux-3.12.tar.bz2  linux-image-3.12morethangaming_3.12morethangaming-10.00.Custom_amd64.deb

Install the Kernel

dpkg -i linux-image-3.12morethangaming_3.12morethangaming-10.00.Custom_amd64.deb

Grub2 Bootloader updaten

update-grub

Restart

shutdown -r now

Have fun

 

 

 
Apologies for the few words and the bad englisch

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...