Results 1 to 4 of 4

Thread: A 200K kernel patch that makes some things go faster

  1. #1
    Join Date
    May 2009
    Location
    Richland, WA
    Posts
    134

    Default A 200K kernel patch that makes some things go faster

    I have been playing with a patch to the 2.6.37-rc kernel that speeds up compute and memory intensive applications. Its call the Transparent Hugepage Support patch written by Andrea Arcangeli. Basically it works by reducing the number of TLB entries a large application needs. It also increases the effective size of memory that the TLB cache can cover. This results in a fewer TLB cache misses which require TLB look ups to service.

    A more technical description can be found here
    http://lwn.net/Articles/359158/

    and in the patch's kernel documentation here
    http://www.kernel.org/pub/linux/kern...t_hugepage-doc



    The only benchmark I have had time to do right now is a build of xulrunner. I observed a speed up of 1.4% (about 23 seconds on a 27 minute compile). Andrea Arcangeli has a patch to gcc to make gcc faster still but I haven't tried that yet.

    I can say Firefox and Gnome in general felt a bit more lively but I don't have any benchmarks to back it up.

    It is supposed to really speed up databases and virtual clients a lot.

    Sadly I don't have enough disk space to run the Phoronix Benchmark.

    The patch can be found here
    http://www.kernel.org/pub/linux/kern....6/2.6.37-rc1/

  2. #2

    Default

    I'll have some tests soon probably.

  3. #3
    Join Date
    May 2009
    Location
    Richland, WA
    Posts
    134

    Default

    Quote Originally Posted by Michael View Post
    I'll have some tests soon probably.
    cool!!! Thanks

  4. #4
    Join Date
    May 2009
    Location
    Richland, WA
    Posts
    134

    Default

    I should also point out that I have been told the patch applies to kernel 2.6.37-rc4 cleanly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •