[PATCH] D25766: [ELF] - Implemented --section-ordering-file option.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 03:12:10 PDT 2016

> Correction. I talked about this with Sriraman offline. He said that a mechanism to reorder sections is useful to reduce TLB misses because we could layout hot > functions close to each other. It doesn't have to be --section-ordering-file, but it seems that we need some mechanism to reorder sections even on all-SSD systems.

So my suggestions are next then:

1) We can also implement sorting of .text.unlikely.* .text.exit.* .text.startup.* .text.hot.* sections. That is how bfd/gold do.
This feature is independent from --section-ordering-file generally.

2) Anyways we are still interested in some numbers, so I going to benchmark Firefox or Chromium to see them (just in case - I have both SSDs and HDD for testing).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161024/94f0789c/attachment.html>

More information about the llvm-commits mailing list