Home page of this blog

Monday, August 20, 2012

Custom Ubuntu 64 bit kernel 3.5.2 optimized for i7

This is a short post on the current kernel build which I am running, for detailed article see http://duopetalflower.blogspot.in/2012/07/custom-64-bit-mint-13-or-ubuntu-1204.html

Built with 300 HZ and optimized for i7 architecture (i3, i5 and i7)

 Kernel 3.5.2 optimized for i7 (64 bit)

  1. Script
  2. Kernel Headers All
  3. Kernel Headers i7
  4. Kernel Image

SHA256SUM of the above in order

  1. c6a3f6996242af24e719f3c6e029749a052954328efb4daa2cca87ead81977d7  buildkernel352.sh
  2. 47a8dbc136af8ff1331ddcd5841a226242ba3ae635534bb0c3f0b9dcead1ef5f  linux-headers-3.5.2-030502_3.5.2-030502.201208151151_all.deb
  3. 6965992662a3a4db3b7c02bcb9f0c4dd60f61dbb7c930485f6b5fc806b41e101  linux-headers-3.5.2-030502-i7_3.5.2-030502.201208151151_amd64.deb
  4. 25807da234187423ff746edc2976bf2aa4c81a6832f9dc1b725ca63410022350  linux-image-3.5.2-030502-i7_3.5.2-030502.201208151151_amd64.deb


  1. Do you think this will work for 10.04 as well? I am trying to build a 3.5.2 kernel, ideally optimized for Ubuntu 10.04 and was initially running into issues with kernel headers on install. This was preventing me from building the nvidia driver from their .run files...

    Also, do you have any estimates as to the performance differences with an optimized kernel?

  2. Were you unable to install kernel headers ?

    If you have kernel headers installed and only problem is while installing nvidia driver, then try xorg ppa as follows

    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get upgrade

    The last one will upgrade your nvidia drivers to the latest one and enable you to build the dkms modules with latest kernels

    The speed difference is not huge, instead of booting in 10 seconds, my system boots in 6 or 7 seconds, apps open a bit faster and chrome loads even faster, so it is not much of a gain

    I have not done a systematic benchmark, so there is no proof if it is worth the effort

    1. The kernel build enables me to run the latest kernel with ubuntu patches which I think is the real gain