Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] Multicore Maude?

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] Multicore Maude?


Chronological Thread 
  • From: Steven Eker <eker AT csl.sri.com>
  • To: maude-help AT cs.uiuc.edu
  • Cc: Emmanuel Castro <emmanuel.castro AT laposte.net>
  • Subject: Re: [Maude-help] Multicore Maude?
  • Date: Mon, 27 Sep 2010 16:05:35 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help>
  • List-id: <maude-help.cs.uiuc.edu>
  • Organization: SRI International

On Monday 27 September 2010 02:25:01 pm Emmanuel Castro wrote:
> It seems that Maude 2 is only able to use one core.
> Is there works in progress about dispatching the rewriting on the 2 or 4
> cores of the modern CPUs?
>
> Emmanuel
>

It turns out to be quite tricky to dispatch rewriting over multiple cores -
if
all your terms live in the same memory space then you have synchronization
issues every time you create or overwrite a node. If you care about load
balancing rather than relying on simple functional parallelism you have more
synchronization issues. The cost of synchronization can easily eat up any
benefit of using multiple cores. Multithreaded code is significantly harder
to
debug.

That being said, the new rewrite engine I'm working on for Maude 3 will have
some provision for running on multicore processors, but it will require a 64-
bit address space and use mmap trickery to off load a lot of the
synchronization to the MMU.

Steven




Archive powered by MHonArc 2.6.16.

Top of Page