[phobos] State of std.parallelism unit tests

David Simcha dsimcha at gmail.com
Fri Jun 3 16:30:40 PDT 2011


Tried it.  I'll keep it running for a while but so far I'm at 300 
iterations.

On 6/3/2011 7:08 PM, Brad Roberts wrote:
> One thought, change the code to use more threads than you have cpu's.  Not
> as a permanent change, but to encourage more timing randomization.
>
> On Fri, 3 Jun 2011, David Simcha wrote:
>
>> Date: Fri, 03 Jun 2011 18:24:51 -0400
>> From: David Simcha<dsimcha at gmail.com>
>> Reply-To: Discuss the phobos library for D<phobos at puremagic.com>
>> To: Discuss the phobos library for D<phobos at puremagic.com>
>> Subject: Re: [phobos] State of std.parallelism unit tests
>>
>> Ok, I left the unit tests running in a loop on my home computer all day while
>> I was at work.  They ran about 13,000 times without failing once.  Something
>> about your setup is enabling the failures or at least making them drastically
>> more likely.
>>
>> On 6/3/2011 3:05 AM, Jonathan M Davis wrote:
>>> On 2011-06-02 23:52, Jonathan M Davis wrote:
>>>> On 2011-06-02 06:30, David Simcha wrote:
>>>>> Thanks.  A second look with fresher eyes revealed a subtle but serious
>>>>> bug in the ResubmittingTasks base mixin (which affects parallel foreach,
>>>>> map and amap) and a relatively minor corner-case bug in reduce().  Both
>>>>> were introduced after the 2.053 release as a result of over-aggressive
>>>>> optimizations.  I've checked in fixes for these.  I'm not sure whether
>>>>> they're the root cause of the issues you're seeing, though.  If it's not
>>>>> too much work, please try to reproduce your bugs again.
>>>> Well, I have yet to see the failure again. Unfortunately, that doesn't
>>>> guarantee anything given the intermittent nature of the failure, but I
>>>> think that there's a good chance that it's been fixed. I'll post about it
>>>> if it happens again, but I think that for the moment, we can assume that
>>>> it's been fixed.
>>> I take that back. It just happened again. The std.parallelism tests
>>> segfaulted.
>>>
>>> - Jonathan M Davis
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>



More information about the phobos mailing list