OT: Automatic parallelism across multiple machines
Rajinder Yadav
devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Oct 23 17:22:16 UTC 2009
Someone once asked about parallel programming across networks? I came
across this project and it may have some value to the person who
originally post this question looking for a simple tool or script way
to do this?
http://tiamat.rubyforge.org/
http://purefunctional.rubyforge.org/
I am personally looking into this project trying to understand how I
would use it in the future.
>From what I understand, Tiamat is a plugin for Pure. Pure provides the
automatic thread parallelization, while Tiamat provides
parallelization across multi-core and machines.
---------- Forwarded message ----------
From: James M. Lawrence <quixoticsycophant-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
Date: Thu, Oct 22, 2009 at 11:42 PM
Subject: [ANN] Tiamat: Automatic parallelism across multiple machines
To: ruby-talk ML <ruby-talk-X+L+6nJQZ58h9ZMKESR00Q at public.gmane.org>
= Tiamat
== Summary
Automatic parallelism across multiple cores and machines: a plugin for
Pure.
== Synopsis
require 'tiamat/autoconfig'
require 'benchmark'
mod = Pure.define do
def total(left, right)
left + right
end
def left
(1..500_000).inject(0) { |acc, n| acc + n }
end
def right
(1..500_000).inject(0) { |acc, n| acc + n }
end
end
# compute using two threads
puts Benchmark.realtime { mod.compute(2).total } # =>
0.4432079792022705
# compute using two local Ruby interpreters
Tiamat.open_local(2) {
puts Benchmark.realtime { mod.compute.total } # =>
0.2420041561126709
}
== Description
Tiamat is a worker plugin for the pure functional package. It links
Ruby interpreters together with DRb, forming a back-end for Pure's
parallelizing engine.
== Install
% gem install tiamat
Or for the (non-gem) .tgz package,
% ruby install.rb [--uninstall]
== Links
* Pure: http://purefunctional.rubyforge.org
* Documentation: http://tiamat.rubyforge.org
* Download: http://rubyforge.org/frs/?group_id=9145
* Rubyforge home: http://rubyforge.org/projects/tiamat
* Repository: http://github.com/quix/tiamat
== Author
* James M. Lawrence <quixoticsycophant-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
--
Posted via http://www.ruby-forum.com/.
--
Kind Regards,
Rajinder Yadav
http://DevMentor.org
Do Good! - Share Freely, Enrich and Empower people to Transform their lives.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list