On Thu, Oct 7, 2010 at 10:23, Alan R Williams <[email protected]> wrote:

> You can do this (sort of) by setting the number of invocations of the
> service that can be called in parallel.  This is done by r-click ->
> Configure running -> Parallel jobs.

Except they are still just parallel within the same virtual machine.

> services that run locally e.g. beanshells, then there is no way
> currently to parallelize their invocations.

There could be (and were so initially), but we specifically made the
beanshell execution non-parallel (per processor) to avoid performance
issues with many interpreters starting up concurrently. We found that
for typical workflows running say 4 beanshell scripts sequentially was
faster than 4 in parallell. (Obviously this depend on the task
performed, IO-bound or CPU-bound, etc).

I like the idea of an activity suggesting to Taverna on 'how well' it
would parallelise in threads and on separate nodes, and use this as a
guide for user control over parallelism.

As we move on to support other Java 6 scripting languages we should
re-investigate how to enable these for parallelism, for instance
having pools of pre-initialized interpreters or similar.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to