[mercury-users] Shared memory

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Oct 19 12:32:40 AEST 2005

On Tue, 18 Oct 2005, Peter Ross wrote:

> We've been experimenting with forking processes versus creating threads
> to build a server here.
> The advantage of forking processes is that one has a single threaded
> piece of code and it seems that the boehm_gc runs much faster in the
> single threaded case (in one case 10 times slower for very heavy memory
> allocation code), the disadvantage is that we use much more memory
> as we cannot share data structures between threads.

Do more recent versions of the Boehm gc than we use make any difference?
(I seem to recall reading stuff about threads in the changelogs for
the 7.0alpha series.)


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