<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Mihael Hategan wrote:
<blockquote cite="mid:1240366286.1648.4.camel@localhost" type="cite">
<pre wrap="">On Tue, 2009-04-21 at 21:03 -0500, Ioan Raicu wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> and you need significant effort to implement it in Coaster or a fake
provider.
</pre>
</blockquote>
<pre wrap=""><!---->
I think a provider to simulate running a task is probably not the
difficult part. More difficult may be a mechanism to compress time, such
that a 1 hour job will run in a snap, while a two hour job will run in
two snaps.
I'll let you know as I get a better idea formed in my head.
</pre>
</blockquote>
I did this with timers. Each task has a max wall time, that dictates
when the timer will fire for a particular task to mark its completion.
I simulated up to 1M processors, and billions of tasks, so the timer
based approach in Java seems to scale quite well to extremes of
millions of concurrent timers. If you are interested, I can dig through
the Falkon code where I implemented this logic of emulating workers.<br>
<br>
Ioan<br>
<blockquote cite="mid:1240366286.1648.4.camel@localhost" type="cite">
<pre wrap="">
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
===================================================
Ioan Raicu, Ph.D.
===================================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
===================================================
Email: <a class="moz-txt-link-abbreviated" href="mailto:iraicu@cs.uchicago.edu">iraicu@cs.uchicago.edu</a>
Web: <a class="moz-txt-link-freetext" href="http://www.cs.uchicago.edu/~iraicu">http://www.cs.uchicago.edu/~iraicu</a>
<a class="moz-txt-link-freetext" href="http://dev.globus.org/wiki/Incubator/Falkon">http://dev.globus.org/wiki/Incubator/Falkon</a>
<a class="moz-txt-link-freetext" href="http://dsl-wiki.cs.uchicago.edu/index.php/Main_Page">http://dsl-wiki.cs.uchicago.edu/index.php/Main_Page</a>
===================================================
===================================================
</pre>
</body>
</html>