This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ANN: Linux Function Reordering Tool v0.1b
- From: <tm_gccmail at kloo dot net>
- To: Brandan C Lennox <bclennox at eos dot ncsu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 24 Jan 2005 08:25:03 -0800 (PST)
- Subject: Re: ANN: Linux Function Reordering Tool v0.1b
It sounds like you're reinventing GNU Rope.
You may want to look at this:
http://www.nat.org/grope.pdf
Toshi
On Thu, 6 Jan 2005, Brandan C Lennox wrote:
> Hi everyone,
>
> We're releasing into the public a new tool for reordering functions in
> Linux libraries and executables. Here is a blurb from the
> introduction posted on the website:
>
> ---
>
> The software that was built for this project will ultimately be used
> in improving the performance of Linux applications that depend on
> shared libraries. By profiling the program and analyzing the behavior
> of function calls throughout its lifetime, the tool will provide a way
> to rebuild the applications and libraries such that highly-dependent
> functions are placed near to each other in memory. This should
> decrease the amount of time spent swapping data from disk to memory
> and reduce the frequency of misses in the translation lookaside buffer
> (TLB).
>
> ---
>
> Currently, the tool exists as a small shell/Perl script which gathers
> information from existing profiling tools (Valgrind/Callgrind) and
> outputs a new ordering in a GNU ld linker script. This is a very
> early release and is not intended for production use yet. It works
> only on x86.
>
> Please feel free to peruse the site. We appreciate any help you all
> would care to offer.
>
> http://www.bclennox.com/reorder/
>
> Thanks,
>
> Brandan, Alex, and Will
>