|
From: | Juergen Sauermann |
Subject: | [Bug-apl] Parallel progress |
Date: | Fri, 12 Sep 2014 12:17:08 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hi, there are some good news from the parallel front. I have replaced the semaphores that control the fork() and join() off threads by a new, busy-wait based, mechanism. That has reduced the fork() and join() times considerably: from the 20,000 cycle ballpark to less than 1000 cycles (the numbers still vary a lot due to caching). As a consequence, the break-even point (where parallel is faster than sequential) for e.g. Z←A+B has dropped from ⍴,Z of some 1000s to some 50s. I will now start to integrate the Parallel.cc prototype (see attachment) into GNU APL... /// Jürgen |
Parallel.cc
Description: Text Data
plot_4
Description: Text document
Makefile
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |