[Bug 1613996] Re: 30% slowdown in numerical solver exection on 16.04.1 vs. 14.04 with same solver binary
Marcel Stimberg
1613996 at bugs.launchpad.net
Mon Apr 3 14:06:07 UTC 2017
This is most likely the same bug as https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1663280
Can you confirm that the problem goes away if you run the dynamically linked binary with the environment variable LD_BIND_NOW=1?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1613996
Title:
30% slowdown in numerical solver exection on 16.04.1 vs. 14.04 with
same solver binary
Status in gcc:
New
Status in glibc package in Ubuntu:
Confirmed
Bug description:
I noticed that a numerical solver I develop runs much slower on
16.04.1 than on 14.04.
UPDATE:
Test results (on Ubuntu 16.04.1 LTS):
case 1 - static linking = 6.56 s
case 1 - dynamic linking = 8.29 s
case 2 - static linking = 45.8 s
case 2 - dynamic linking = 49.4 s
case 3 - static linking = 7.02 s
case 3 - dynamic linking = 11.2 s
I compiled the solver with GCC 4.8.4 on Ubuntu 14.04. When I run the solver unmodified on 16.04.1 LTS it runs much slower. Tested on an Ubuntu system that was upgraded from 14.04.4 and on a second machine after a fresh install.
When the code is compiled with the new GCC 5.4 on Ubuntu 16.04, the
execution times are approximately the same as with GCC 4.8.4 on Ubuntu
16.04. Hence, the slowdown does not seem to be related by the code-
generation, but rather by the runtime library.
see attached performance test.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1613996/+subscriptions
More information about the foundations-bugs
mailing list