bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strcache scaling issue


From: Paul Smith
Subject: Re: strcache scaling issue
Date: Sat, 19 Mar 2011 18:13:28 -0400

On Sat, 2011-03-19 at 20:47 +0300, Kirill Smelkov wrote:

>                         1000    2000    4000    5000    6000    7000
> 
> 3.82.90 (with patch,    2.2s    4.8s    14.0s   23.5s   31.6s   44.4s
>      -O3, no asserts)
> 3.81 -O3                2.5s    5.2s    11.5s   14.1s   18.3s   23.8s

I suspect it's to do with all the extra stuff added into the strcache;
as I mentioned before, it turns out that every temporary filename we
construct for pattern rule searches goes into the strcache even if they
don't match anything: that's a lot of extra memory.

I wonder, if you run make (both old and new) with the "-r" flag, if
you'll see similar divergence in performance.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]