This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH v3] faster strlen on x64


On 02/06/2013 12:19 PM, OndÅej BÃlka wrote:
> On Wed, Feb 06, 2013 at 11:18:06AM -0500, Carlos O'Donell wrote:
>> On 02/05/2013 06:44 PM, OndÅej BÃlka wrote:
>>> My implementation takes profiling information (see http://kam.mff.cuni.cz/~ondra/benchmark_string/profile/result.html for my workload.)
>>> into account. Important property there is that most strings are at most
>>> 80 bytes large.
>>
>> I think this information is really important.
>>
>> How did you profile this?
>>
> I use two tools that do profiling. I generated these statistics with 
> https://github.com/neleai/benchmark_string directory profile.
> It is in hacky state with several problems, it has relatively big 
> constant overhead when writing results. I do not use it to collect 
> timing information. Also malloc profiling is not entirely stable.

Have you considered using systemtap static probes for some of this
work?

The goal would be to capture string length usage across all of the
applications in a system and then ensure that our string functions
worked well across average work loads.

Comments?

Cheers,
Carlos.


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