This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/63927] New: AddressSanitizer painfully slow on ppc64


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63927

            Bug ID: 63927
           Summary: AddressSanitizer painfully slow on ppc64
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

Created attachment 34013
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34013&action=edit
testcase

With the attached testcase, that measures the performance of different
C++ containers, AddressSanitizer is very slow on ppc64. x86_64 is fine.

For example:

trippels@gcc2-power8 ~ % g++ -fsanitize=address -g -O2 bench.cpp
trippels@gcc2-power8 ~ % ./a.out
size            array   vector_point    vector_iters            deque          
list            set             multiset
10              15.79           13.85           13.14           26.04          
232.16          132.72          266.89
^C

On x86_64:

markus@x4 ~ % ./a.out
size            array   vector_point    vector_iters            deque          
list            set             multiset
10              0.46            0.46            0.46            1.39           
4.55            2.36            3.74
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]