[gambit-list] Guile's new compiler

Marc Feeley feeley at iro.umontreal.ca
Sun Nov 8 07:15:37 EST 2015


I have a hard time interpreting the results.  Can you give the performance as a ratio compared to the build without max-gcse-memory?

Also, were all of the other options the same?  Including —enable-c-opt?

I assume this has nothing to do with inlining or does it?

Marc

> On Nov 7, 2015, at 10:50 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:
> 
> I just rebuilt Gambit with
> 
> firefly:~/programs/gambit/gambit-v4_8_1-devel/bench> ./configure 'CC=gcc -march=native -Wdisabled-optimization -Wall -W --param max-gcse-memory=1000000000' '--enable-single-host' '--enable-multiple-versions' '--enable-shared' --enable-c-opt
> 
> and got the results at the bottom, which are uniformly better than the old results.
> 
> The -Wdisabled-optimization line showed me that GCSE wasn't being done, and after looking at gcse.c in the gcc sources I saw that I needed to increase the max-gcse-memory from 50 MB (found in gcc/params.def) to something bigger.  I'm working a machine with 32GB, so I just decided to make it roughly 1GB.
> 
> Pretty good.
> 
> Brad
> 
> ./bench -r 3 -s r6rs-fixflo-unsafe gambit all
> ./summarize results.Gambit-C-r6rs-fixflo-unsafe
> (succeed                0             0)
> (fail                                  )
> (crash                                 )
> (browse               892           894)
> (cpstak               264           266)
> (ctak                 344           344)
> (dderiv               308           311)
> (deriv                272           274)
> (destruc              292           293)
> (diviter              292           293)
> (divrec               388           390)
> (puzzle               144           147)
> (takl                 140           141)
> (trav1                180           183)
> (trav2                688           689)
> (triangl              308           312)
> (fft                   76            79)
> (fib                  212           214)
> (fibfp                168           169)
> (mbrot                152           153)
> (nucleic               64            67)
> (pnpoly                60            61)
> (sum                   88            89)
> (sumfp                684           684)
> (tak                  220           220)
> (tfib                 444           444)
> (ack                  160           160)
> (array1                64            64)
> (cat                  360           361)
> (string               292           292)
> (sum1                 376           376)
> (sumloop             1560          1563)
> (tail                 292           294)
> (wc                   168           171)
> (conform              240           240)
> (dynamic              228           230)
> (earley               244           243)
> (fibc                 264           263)
> (graphs               292           295)
> (lattice              516           518)
> (matrix               372           371)
> (maze                 172           169)
> (mazefun              276           280)
> (nqueens              288           289)
> (paraffins            752           756)
> (peval                280           279)
> (pi                   472           471)
> (primes               492           492)
> (ray                  100           101)
> (scheme               332           333)
> (simplex              112           114)
> (slatex               164           165)
> (perm9                300           302)
> (nboyer               340           339)
> (sboyer               232           233)
> (gcbench              752           752)
> 




More information about the Gambit-list mailing list