This is an excellent question, and one that I've looked at more than
once. Someday I may well provide an implementation of this. There are
implementation difficulties having to do with fine-grained
synchronization (the Rete network is not a proper tree, and separate
paths can converge downstream,) but nothing insurmountable.
Trial implementations I've done in the past showed negative speedup
factors, largely because thread synchronization wasn't cheap. I think
matters have improved with today's JVMs, so perhaps it's time to
revisit the idea. I do, in fact, work on a dual-processor machine myself.
I think S. Alexander Jacobson wrote:
> If you are running on a multiprocessor box, is there a way to get Jess to
> break into threads to work in parallel?
>
> I mean if two rules are driven by the same assertion, why not run them in
> parallel?
>
> Can Jess load balance rule processing across multiple threads/CPUs?
>
> -Alex
>
> ___________________________________________________________________
> S. Alexander Jacobson Shop.Com
> 1-212-697-0184 voice The Easiest Way To Shop
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------