<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="color: rgb(33, 33, 33); font-size: 12pt;">> 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.</span><br>
</p>
<div style="color: rgb(33, 33, 33);">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> <br>
</div>
<div>So my suggestions are next then:<br>
</div>
<div><br>
1) We can also implement sorting of <span style="font-size: 12pt;">.text.unlikely.* </span>.text.exit.* .text.startup.* .text.hot.* sections. That is how bfd/gold do.<br>
</div>
<div><a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gold/layout.cc;h=d14f27bddfcf48d1465e60cf0f6889c85ce5bb05;hb=HEAD#l1111">https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gold/layout.cc;h=d14f27bddfcf48d1465e60cf0f6889c85ce5bb05;hb=HEAD#l1111</a><br>
</div>
<div>This feature is independent from <span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">--section-ordering-file</span> generally.<br>
</div>
<div><br>
</div>
<div>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).<br>
</div>
<div><br>
</div>
<div>George.<br>
</div>
<div><br>
</div>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>