[mercury-users] Threaded processing slower than sequential?

Peter Ross pro at missioncriticalit.com
Thu Mar 9 22:01:59 AEDT 2006


In my experience with the parallel mode, I believe that the garbage
collection is the culprit.  Especially if you are doing lots of
little data allocations.  Running a threaded application but with
only one thread active under windows I had a 10x slow-down.

My suspicion is that it was due to GC, as the generated code should've
been the same.

Pete
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list