Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8162381

ldrd/strd from unaligned address results in low performance

XMLWordPrintable

    • aarch32
    • linux

      Pref profile on SPECjvm2088 xml.transform without call graph shows next hot methods:
      5.72% java [kernel.kallsyms] [k] do_alignment
      1.32% java [kernel.kallsyms] [k] do_alignment_ldrdstrd
      This mean that kernel is makes memory accesses when address is not aligned.

      Kernel statistics of unaligned accesses may be obtained from /proc/cpu/alignment.

      Same file used to force kernel to send SIGBUS signal to application instead of doing memory accesses, by `echo 4 > cpu/alignment`. Any combination of fixing access/message in log/signaling could be selected, refer to http://www.mjmwired.net/kernel/Documentation/arm/mem_alignment

            snazarki Sergey Nazarkin
            snazarki Sergey Nazarkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: