Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGDMk9HP3T7mJUiLoRJROJgjkJAemNMk4QRwnu6faMCSCVgrCA@mail.gmail.com>
Date: Wed, 8 Apr 2015 17:48:37 -0400
From: John Mudd <johnbmudd@...il.com>
To: Alexander Monakov <amonakov@...ras.ru>
Cc: musl <musl@...ts.openwall.com>, John Mudd <johnbmudd@...il.com>
Subject: Re: musl perf, 20% slower than native build?

Reran benchmark using -O3 musl library and now musl and native have
basically the same run times.

native:
     2.08%   python  libc-2.19.so         [.] __memcpy_ssse3
     0.81%   python  libc-2.19.so         [.] __x86.get_pc_thunk.bx
     0.56%   python  libc-2.19.so         [.] __memset_sse2
     0.53%   python  libc-2.19.so         [.] _int_malloc
     0.45%   python  libc-2.19.so         [.] _int_free
     0.40%   python  libc-2.19.so         [.] malloc
     0.22%   python  libc-2.19.so         [.] realloc
     0.21%   python  libc-2.19.so         [.] __ctype_b_loc
     0.12%   python  libc-2.19.so         [.] __x86.get_pc_thunk.cx
     0.12%   python  libc-2.19.so         [.] free
     0.01%   python  libc-2.19.so         [.] __strlen_sse2_bsf
     0.01%   python  libc-2.19.so         [.] malloc_consolidate
     0.01%   python  libc-2.19.so         [.] __memcpy_ia32
     0.00%   python  libc-2.19.so         [.] _IO_getc
     0.00%   python  libc-2.19.so         [.] mremap_chunk
     0.00%   python  libc-2.19.so         [.] _int_realloc
     0.00%   python  libc-2.19.so         [.] __strcmp_ssse3


musl:
     5.37%   python  libc.so              [.] memcpy
     1.96%   python  libc.so              [.] malloc
     1.93%   python  libc.so              [.] free
     0.60%   python  libc.so              [.] memset
     0.20%   python  libc.so              [.] __x86.get_pc_thunk.bx
     0.12%   python  libc.so              [.] realloc
     0.03%   python  libc.so              [.] alloc_fwd
     0.02%   python  libc.so              [.] alloc_rev
     0.01%   python  libc.so              [.] find_sym
     0.01%   python  libc.so              [.] strcmp
     0.00%   python  libc.so              [.] memcmp
     0.00%   python  libc.so              [.] __vm_lock
     0.00%   python  libc.so              [.] __strerror_l
     0.00%   python  libc.so              [.] __cp_end
     0.00%   python  libc.so              [.] .L350
     0.00%   python  libc.so              [.] strlen
     0.00%   python  libc.so              [.] memchr
     0.00%   python  libc.so              [.] pthread_rwlock_trywrlock




On Wed, Apr 8, 2015 at 4:24 PM, John Mudd <johnbmudd@...il.com> wrote:

> Ignore my previous email. The symbols are there. I'll rebuild again and
> check the speed...
>
> On Wed, Apr 8, 2015 at 4:16 PM, John Mudd <johnbmudd@...il.com> wrote:
>
>> I don't see any of those "a_*" names in the output of 'nm' or 'readelf
>> -a' on musl-1.1.8/lib/libc.so.
>>
>>>
>>>
>>
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.