libc6 2.27 lacks sse2 optimized strstr()
Bug #1793786 reported by
Paul Stephen Borile
This bug report is a duplicate of:
Bug #1797335: strstr() on ubuntu18.04 8 times slower than on ubuntu16.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Looks like code using strstr() and libc-2.27 is running 4 times slower than was with libc-2.23. Having a look at profiled code executed in various moments show different versions of strstr :
- libc-2.27.so: strstr.c, str-two-way.h - this is current version ubuntu 18.04.1
Same code, profiled March 13, 2018 :
- libc-2.23.so: strstr-
Looks like the indirect function part of glibc is not working correctly : any test I can do to spot the problem ?
Best
-Paul
description: | updated |
To post a comment you must log in.
Running /lib/x86_ 64-linux- gnu/libc. so.6 on my machine gives :
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27. /bugs.launchpad .net/ubuntu/ +source/ glibc/+ bugs>.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.3.0.
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https:/