public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Carmelo Amoroso <carmelo73@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Fast LKM symbol resolution with SysV ELH hash table
Date: Sun, 18 Oct 2009 10:09:30 +0200	[thread overview]
Message-ID: <4ADACD3A.9020803@gmail.com> (raw)

Hi,
I'm just sending this message to report about a work I've recently done
to speed-up symbol resolution for modules by using a SysV ELF hash table
(without relying upon binutils support).
This work has been presented few days ago at the Embedded Linux Conference Europe.

Patches are already publicly available for 2.6.23 kernel @STLinux git
(http://git.stlinux.com/?p=stm/linux-sh4-2.6.23.y.git;a=summary)

For 2.6.30 already ported but not yet available.

Benchmarks have shown an average reduction of 96% in time spent for symbol resolution
(that is 25x faster).

All details can be found at
http://tree.celinuxforum.org/CelfPubWiki/ELCEurope2009Presentations?action=AttachFile&do=view&target=C_AMOROSO_Fast_lkm_loader_ELC-E_2009.pdf

I'm working to update them to mainline and post for review and discussion.
We are also working right now to update this work too to use GNU hash instead of SysV ELF hash

Carmelo

             reply	other threads:[~2009-10-18  8:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18  8:09 Carmelo Amoroso [this message]
2009-10-18 12:44 ` Fast LKM symbol resolution with SysV ELH hash table Alan Jenkins
2009-10-18 16:43   ` Alan Jenkins
2009-10-18 21:47   ` Greg KH
2009-10-19  0:01     ` Alan Jenkins
2009-10-19 11:45     ` Carmelo Amoroso
2009-10-19 13:22       ` Greg KH
2009-10-19 15:02         ` Carmelo Amoroso
2009-10-19 19:10           ` Greg KH
2009-10-19 20:46             ` Alan Jenkins
2009-10-20  0:56           ` Rusty Russell
2009-10-21  5:43           ` Robert Hancock
2009-10-21 13:48             ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ADACD3A.9020803@gmail.com \
    --to=carmelo73@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox