<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Aarch64 memory benchmark performance vs ARMv7"
   href="https://llvm.org/bugs/show_bug.cgi?id=28310">28310</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Aarch64 memory benchmark performance vs ARMv7
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tulipawn@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16635" name="attach_16635" title="Benchmark files, cargo ready">attachment 16635</a> <a href="attachment.cgi?id=16635&action=edit" title="Benchmark files, cargo ready">[details]</a></span>
Benchmark files, cargo ready

Since yesterday, I've been playing with Rust on an `aarch64` Cortex-A53 Android
TV box (2GB RAM, Amlogic S905) that I'd converted to 64-bit Linux.

All's fine and good so far, except for memory benchmark performance, especially
using jemalloc, which is relatively worse compared to ARMv7 (and substantially
worse in absolute terms).

Am I not enabling some erratum perhaps? The native aarch64 binary_trees
benchmark (@23 tree depth) takes:

sysalloc 1m28s 5m10s 0m10s
jemalloc 1m35s 5m10s 0m53s

whereas, the corresponding ARMv7 binaries (running on the same 64-bit system):

sysalloc 1m9s 3m59s 0m19s
jemalloc 1m11s 3m58s 0m25s

@jmolloy I'm aware better performance using 32-bit pointers is probably
expected but what about jemalloc performance drop?

To reproduce, run `cargo build --release && time target/release/binary_trees
23` inside the binary_trees directory. Uncomment the first 2 lines in main.rs
to produce a sysalloc version.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>