Re: Performance issue of libtool-2.4.4

2015-02-10 Thread Richard Purdie
On Tue, 2015-02-10 at 10:53 +, Gary V. Vaughan wrote: On Feb 10, 2015, at 10:35 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2015-02-09 at 23:36 +, Richard Purdie wrote: On Mon, 2015-02-09 at 13:05 +, Richard Purdie wrote: In an effort to get to the

Re: Performance issue of libtool-2.4.4

2015-02-10 Thread Robert Yang
Great, I verified that we nearly get the speed back: When build xz: libtool-2.4.5 libtool-2.4.2 bash:14s13s dash:12s11s // Robert On 02/10/2015 06:35 PM, Richard Purdie wrote: On Mon, 2015-02-09 at 23:36 +, Richard Purdie wrote: On Mon,

Re: Performance issue of libtool-2.4.4

2015-02-10 Thread Gary V. Vaughan
Hi Richard, On Feb 9, 2015, at 11:36 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2015-02-09 at 13:05 +, Richard Purdie wrote: In an effort to get to the bottom of this I made a git bisection, timing the performance of building xz with make -j1 using each

Re: Performance issue of libtool-2.4.4

2015-02-10 Thread Richard Purdie
On Mon, 2015-02-09 at 23:36 +, Richard Purdie wrote: On Mon, 2015-02-09 at 13:05 +, Richard Purdie wrote: In an effort to get to the bottom of this I made a git bisection, timing the performance of building xz with make -j1 using each different libtool. The issues come down to

Re: Performance issue of libtool-2.4.4

2015-02-10 Thread Gary V. Vaughan
Hi Richard, On Feb 10, 2015, at 10:35 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Mon, 2015-02-09 at 23:36 +, Richard Purdie wrote: On Mon, 2015-02-09 at 13:05 +, Richard Purdie wrote: In an effort to get to the bottom of this I made a git bisection, timing the

Re: Performance issue of libtool-2.4.4

2015-02-09 Thread Peter Rosin
On 2015-02-09 14:05, Richard Purdie wrote: On Mon, 2015-02-09 at 10:45 +0800, Robert Yang wrote: On 02/06/2015 10:46 PM, Bob Friesenhahn wrote: On Fri, 6 Feb 2015, Robert Yang wrote: On 02/06/2015 12:12 PM, Bob Friesenhahn wrote: I am not seeing quite the difference between libtool

Re: Performance issue of libtool-2.4.4

2015-02-09 Thread Richard Purdie
On Mon, 2015-02-09 at 10:45 +0800, Robert Yang wrote: On 02/06/2015 10:46 PM, Bob Friesenhahn wrote: On Fri, 6 Feb 2015, Robert Yang wrote: On 02/06/2015 12:12 PM, Bob Friesenhahn wrote: I am not seeing quite the difference between libtool releases that you are although I see a big

Re: Performance issue of libtool-2.4.4

2015-02-09 Thread Richard Purdie
On Mon, 2015-02-09 at 13:05 +, Richard Purdie wrote: In an effort to get to the bottom of this I made a git bisection, timing the performance of building xz with make -j1 using each different libtool. The issues come down to this commit:

Re: Performance issue of libtool-2.4.4

2015-02-08 Thread Robert Yang
On 02/06/2015 10:46 PM, Bob Friesenhahn wrote: On Fri, 6 Feb 2015, Robert Yang wrote: On 02/06/2015 12:12 PM, Bob Friesenhahn wrote: I am not seeing quite the difference between libtool releases that you are although I see a big slowdown starting with 2.4.3. These timings are for

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Peter Rosin
On 2015-02-04 15:48, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Peter Rosin
On 2015-02-06 10:30, Gary V. Vaughan wrote: Hi Peter, On Feb 6, 2015, at 9:22 AM, Peter Rosin p...@lysator.liu.se wrote: On 2015-02-04 15:48, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a bug, please describe a test case to reproduce it and include the

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Tom Ghyselinck
Hi everybody, On vr, 2015-02-06 at 10:46 +0100, Peter Rosin wrote: On 2015-02-06 10:30, Gary V. Vaughan wrote: Hi Peter, On Feb 6, 2015, at 9:22 AM, Peter Rosin p...@lysator.liu.se wrote: On 2015-02-04 15:48, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Bob Friesenhahn
On Fri, 6 Feb 2015, Robert Yang wrote: On 02/06/2015 12:12 PM, Bob Friesenhahn wrote: I am not seeing quite the difference between libtool releases that you are although I see a big slowdown starting with 2.4.3. These timings are for optimized builds of GraphicsMagick on a 12-core GNU/Linux

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Gary V. Vaughan
Hi Peter, On Feb 6, 2015, at 9:22 AM, Peter Rosin p...@lysator.liu.se wrote: On 2015-02-04 15:48, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet:

Re: Performance issue of libtool-2.4.4

2015-02-06 Thread Gary V. Vaughan
Hi Peter, On Feb 6, 2015, at 9:46 AM, Peter Rosin p...@lysator.liu.se wrote: On 2015-02-06 10:30, Gary V. Vaughan wrote: On Feb 6, 2015, at 9:22 AM, Peter Rosin p...@lysator.liu.se wrote: On 2015-02-04 15:48, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a

Re: Performance issue of libtool-2.4.4

2015-02-05 Thread Robert Yang
On 02/06/2015 12:12 PM, Bob Friesenhahn wrote: I am not seeing quite the difference between libtool releases that you are although I see a big slowdown starting with 2.4.3. These timings are for optimized builds of GraphicsMagick on a 12-core GNU/Linux system using -j 12: I think that we

Re: Performance issue of libtool-2.4.4

2015-02-05 Thread Peter Johansson
On 02/06/2015 02:12 PM, Bob Friesenhahn wrote: It is curious that there is more impact for the optimized builds. Well, it's a constant 5s impact for both optimized and non-optimized - except for v2.4.3 which looks odd. Cheers, -- Peter Johansson

Re: Performance issue of libtool-2.4.4

2015-02-05 Thread Bob Friesenhahn
I am not seeing quite the difference between libtool releases that you are although I see a big slowdown starting with 2.4.3. These timings are for optimized builds of GraphicsMagick on a 12-core GNU/Linux system using -j 12: 2.4.2 : 23.613 2.4.3 : 31.697 2.4.4 : 28.236 2.4.5 : 28.514 And

Re: Performance issue of libtool-2.4.4

2015-02-05 Thread Robert Yang
Hello, After removing the two lines, libtool 2.4.5 is a little slower than 2.4.2 when using /bin/dash, but it is much slower than in bash, here is the data when compile xz: (make -j1) lt-2.4.2 lt-2.4.5(before patched) lt-2.4.5(after patched) dash 11s 21s

Re: Performance issue of libtool-2.4.4

2015-02-04 Thread Robert Yang
Hello, I've found apart of the reason, for xz: libtool 2.4.2 2.4.5(before patched) (after patched) make -j19s 19s11s Remove the following lines from libtool, then the compile will be much faster, the problem is the variable like $host,

Re: Performance issue of libtool-2.4.4

2015-02-04 Thread Robert Yang
On 02/04/2015 10:48 PM, Bob Friesenhahn wrote: On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler

Re: Performance issue of libtool-2.4.4

2015-02-04 Thread Bob Friesenhahn
On Wed, 4 Feb 2015, Robert Yang wrote: When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu?

Re: Performance issue of libtool-2.4.4

2015-02-03 Thread Bob Friesenhahn
On Tue, 3 Feb 2015, Robert Yang wrote: Sorry, I was wrong, tt seems that libtoolize is not the key, but libtool, when compile cairo-1.12.18: libtool 2.4.2 libtool 2.4.5 configure: 31s 32s compile:54s 64s The libtool 2.4.5 costs 10 more

Re: Performance issue of libtool-2.4.4

2015-02-03 Thread Robert Yang
On 02/02/2015 10:19 PM, Bob Friesenhahn wrote: On Mon, 2 Feb 2015, Robert Yang wrote: Hello libtool, It seems that libtool (2.4.4) has increased the packages build time, after a rough investigation, it maybe because new libtoolize needs run a m4 command: Did you time 'libtoolize' and

Re: Performance issue of libtool-2.4.4

2015-02-03 Thread Robert Yang
On 02/03/2015 10:31 PM, Bob Friesenhahn wrote: On Tue, 3 Feb 2015, Robert Yang wrote: Sorry, I was wrong, tt seems that libtoolize is not the key, but libtool, when compile cairo-1.12.18: libtool 2.4.2libtool 2.4.5 configure: 31s32s compile:54s64s The

Performance issue of libtool-2.4.4

2015-02-02 Thread Robert Yang
Hello libtool, It seems that libtool (2.4.4) has increased the packages build time, after a rough investigation, it maybe because new libtoolize needs run a m4 command: # Save the command pipeline results for further use by callers of # this function.

Re: Performance issue of libtool-2.4.4

2015-02-02 Thread Bob Friesenhahn
On Mon, 2 Feb 2015, Robert Yang wrote: Hello libtool, It seems that libtool (2.4.4) has increased the packages build time, after a rough investigation, it maybe because new libtoolize needs run a m4 command: Did you time 'libtoolize' and compare the timings with 2.4.4 to the release you