when will be eglibc 2.14 available

Asked by Petr Cervenka on 2011-09-16

Hello
I realized that the (e)glibc 2.13 (and older) functions memmove and memcpy are very slow on new CPUs (Intel i5,...). The new (e)glibc 2.14 solves this problem.
http://article.gmane.org/gmane.comp.lib.glibc.alpha/15278

You can clearly see it in STRING SORT test of nbench benchmark.
http://www.tux.org/~mayer/linux/bmark.html
The new version of glibc is almost 4 times faster on my CPU in this particular test. (2.13 cca. 260 it/s, 2.14 cca. 950 it/s)

I would like to ask when will be new version of (e)glibc 2.14 available as package(s), replacing the old version?

Also the used binutils package contain a bug which for example prevents building of the glibc:
http://sourceware.org/bugzilla/show_bug.cgi?id=12366

Best regards
Petr Cervenka

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu eglibc Edit question
Assignee:
No assignee Edit question
Last query:
2011-09-16
Last reply:
2011-09-19
enubuntu (mr.tennents) said : #1

In oneiric will be 2.13 version:
http://packages.ubuntu.com/search?keywords=eglibc&searchon=names&suite=oneiric&section=all

Maybe you have to open a bug for report this.

Petr Cervenka (grugh) said : #2

I'm sorry for little confusion.
It seems that the performance improving patch is already included in the version 2.13.

When I try elibc 2.13 manually compiled from sources:
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/eglibc_2.13.orig.tar.gz
I get also 4 times better results than with the preinstalled eglibc-2.13 (libc6 and libc6-dev package). Although it uses the same version of source files.
I suspect that there was a mistake in settings during the compilation when package libc6 and similar were made.

My settings/building procedure was following:
../eglibc-2.13/configure --prefix=/usr/local/eglibc-2.13 --enable-add-ons --disable-profile --without-selinux --without-gd
echo "CFLAGS += -U_FORTIFY_SOURCE -fno-stack-protector" > configparms
make
sudo make install

Will there be some new version of libc6 (and similar) package? Or could someone help me to integrate new compiled library
as the default libc in my system?

If you run:

ubuntu-bug eglibc

It will start the bug reporting. You can even link this question to your bug

svens (svens) said : #4

try the sources from the 'source' directly :)

http://www.eglibc.org/repository

svens (svens) said : #5

Hello Petr,

If the source is working fine and you just experience a slow performance
with the ubuntu package, please just file a new bug.
This way the engineers will have all the details about the package.

Please provide as many details as possible including (if any) steps to reproduce.

Best regards.

Can you help with this problem?

Provide an answer of your own, or ask Petr Cervenka for more information if necessary.

To post a message you must log in.