<div dir="ltr">I just rebuilt Gambit and ran the unit tests a dozen times, which while probably not sufficient for a solid stress test would definitely have been enough times to demonstrate the previous behaviour and I couldn't reproduce it.  Furthermore the timing for each run is now back down again and each run is taking a very similar time range.<div><br></div><div>Aside from Gambit the rest of my environment has remained unchanged since I last attempted this.</div><div><br></div><div>James</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 8, 2016 at 8:53 AM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Could you try again with the latest commit?  I changed the implementation of the barrier sync operation which is used by the GC for synchronizing processors.<br>
<span class="im HOEnZb"><br>
Marc<br>
<br>
> On Oct 28, 2016, at 9:09 PM, James Baker <<a href="mailto:james@waveformdynamics.com.au">james@waveformdynamics.com.au</a><wbr>> wrote:<br>
><br>
</span><div class="HOEnZb"><div class="h5">> I've got something else happening here on OSX (gcc 6.2.0), built with:  v4.8.5 20161025181557 x86_64-apple-darwin16.1.0 "./configure '--enable-single-host' '--enable-gcc-opts' '--enable-multiple-threaded-<wbr>vms' '--enable-activity-log' 'CC=gcc-6'"<br>
><br>
> The unit tests complete most of the time without issue (and on occasion there is an additional second or so which xactlog shows as post gc wait time) but I've noticed a few times I can run the unit tests and they stall indefinitely and the percent complete is variable.  I can try and provide more information if its helpful.<br>
><br>
> James<br>
><br>
> On Sat, Oct 29, 2016 at 9:35 AM, Bradley Lucier <<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>> wrote:<br>
> I forgot to say that this is on a machine where nproc returns 8, but<br>
> there's really only 4 cores and it's hyperthreaded:<br>
><br>
> model name      : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz<br>
><br>
> Brad<br>
><br>
><br>
> On 10/28/2016 05:54 PM, Bradley Lucier wrote:<br>
> > On 10/25/2016 02:41 PM, Marc Feeley wrote:<br>
> >> Gambit has reached a milestone today with the implementation of the<br>
> >> parallel garbage collector.  This is an important step towards truly<br>
> >> concurrent Gambit threads.<br>
> >><br>
> >> When Gambit is configured with --enable-multiple-threaded-vms the<br>
> >> available processors will cooperate to do the garbage collection in<br>
> >> parallel.<br>
> ><br>
> > When I configure with<br>
> ><br>
> > ./configure 'CC=gcc -march=native' '--enable-single-host'<br>
> > '--enable-multiple-versions' '--enable-shared'<br>
> > --enable-multiple-threaded-vms<br>
> ><br>
> > It takes this long to run the unit tests:<br>
> ><br>
> > LD_LIBRARY_PATH=../lib:../gsi:<wbr>../gsc:/usr/local/<wbr>libimobiledevice/lib:/usr/<wbr>local/Gambit/current/lib:/usr/<wbr>local/netpbm10/lib:<br>
> > ../gsi/gsi -:tl,~~bin=../bin,~~lib=../<wbr>lib,~~include=../include -f<br>
> > ./run-unit-tests.scm<br>
> > [ 122|   0|   0] 100% ##############################<wbr>############   3.7s<br>
> > PASSED ALL 122 UNIT TESTS<br>
> ><br>
> > When I configure with<br>
> ><br>
> > heine:~/programs/gambit/<wbr>gambit> ./configure 'CC=gcc -march=native'<br>
> > '--enable-single-host' '--enable-multiple-versions' '--enable-shared'<br>
> ><br>
> > the unit tests run in this time:<br>
> ><br>
> > LD_LIBRARY_PATH=../lib:../gsi:<wbr>../gsc:/usr/local/<wbr>libimobiledevice/lib:/usr/<wbr>local/Gambit/current/lib:/usr/<wbr>local/netpbm10/lib:<br>
> > ../gsi/gsi -:tl,~~bin=../bin,~~lib=../<wbr>lib,~~include=../include -f<br>
> > ./run-unit-tests.scm<br>
> > [ 122|   0|   0] 100% ##############################<wbr>############   1.6s<br>
> > PASSED ALL 122 UNIT TESTS<br>
> ><br>
> > That's a big difference.  This is on Ubuntu 16.10 with the built-in gcc<br>
> > 6.2.0.<br>
> ><br>
> > Any suggestions?<br>
> ><br>
> > Brard<br>
><br>
> ______________________________<wbr>_________________<br>
> Gambit-list mailing list<br>
> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
><br>
<br>
</div></div></blockquote></div><br></div>