What do you mean by "resource detection"?
On Mon, Mar 30, 2009 at 1:31 AM, Abbas R. Ali <[email protected]> wrote:
> Hi
>
> Thanks alot for the detailed reply, it really helps me in understanding the
> Alchemi. I want some more help from you. My goal is to study Cycle Stealing
> Algorithm used by Alchemi and do some modification in resource detection,
> scheduling policy, and process migration. Can you please tell me exactly
> where the resource detection algorithm reside, I think it will be in Manager
> project but exactly where, is there any documentation through which I can
> understand the code and do changes according to my requirements.
>
> Thanks alot
>
> Abbas
>
>
>
>
>
>
> --- On *Mon, 3/30/09, Jonathan Mitchem <[email protected]>* wrote:
>
>
> From: Jonathan Mitchem <[email protected]>
> Subject: Re: [Alchemi-users] Regarding Cycle Stealing Algorithm in Alchemi
> To: [email protected]
> Cc: [email protected]
> Date: Monday, March 30, 2009, 7:15 AM
>
>
> a) I'm not sure what you mean by "grid environment". It provides a
> threaded grid programming model, and all the infrastructure to write and
> execute code using that model.
>
>
> b) I think it is the same as a broker. I'm not very familiar with Globus
> or other grid software.
>
>
> c) Again, I think so.
>
>
> d) The smallest Grid setup can be run on one computer. The "Owner",
> "Manager", and "Executors" are conceptual entities, that don't need to be
> separated logically/physically. They can, however, be separated, but they
> can also run on the same machine.
>
> The Owner is the grid application, GApplication, that consists of a number
> of GThreads. You create the threads you wish to execute, then .Start() the
> GApplication. This submits the GThreads to the Manager. Then, each
> Executor polls the Manager for pending threads, grabs one, and executes it.
> Executor->Manager communication operates on a "pull" rather than a "push"
> model.
>
> (There is a secondary model, whereby you can submit threads on an "on the
> fly" basis, instead of )
>
> In order to take advantage of the Grid model, you should have one Executor
> per machine in the Alchemi grid.
>
>
> e) I don't see a reason why not. See my response in the forums
>
>
> f) Alchemi contains an example whereby Pi is calculated in a parallel
> fashion. There is also a Mandelbrot simulator, and a couple other options.
> Effectively, any calculation which can support massive parallelization will
> work effectively with Alchemi. I.e., anything that could be implemented in
> a For/Foreach loop that doesn't modify the collection and doesn't have any
> "side effects". Matrix manipulation, for instance.
>
> By "side effect", I mean, that each execution of the loop does not rely on
> previous executions to have been completed. Thus, if the problem space can
> be effectively segmented, and each segment can be calculated independently
> of the others. You can, of course, run multiple phases, such as for
> lighting illumination, or finite element analysis, or computational fluid
> dynamics, etc.
>
>
> Hope that helps.
>
> Jonathan
>
>
> On Wed, Mar 25, 2009 at 12:04 AM, Abbas R. Ali
> <[email protected]<http://us.mc01g.mail.yahoo.com/mc/[email protected]>
> > wrote:
>
>>
>>
>> Hi
>>
>> I am working on Cycle Stealing Algorithm and using Alchemi for it. I have
>> some questions regarding that:
>>
>> a. Alchemi provides grid framework and grid environment as well?
>> b. Manager in Alchemi is equivalent as broker in Grid?
>> c. Executor is equivalent as foreign job executor?
>> d. For a smallest Grid setup I have three laptops, one executing
>> “Manager”, 2nd one executing “Executors” and last one will generate jobs for
>> “Executor”: is this correct configuration or how can we utilize 3 laptops
>> for it?
>> e. Can I implement CPU Cycle stealing algorithm using Alchemi or modify
>> Alchemi's CPU Cycle Stealing Algorithm?
>> f. Can you please tell send me any program that contains heavy
>> calculations and using Alchemi so that we can see actual simulation of the
>> Grid System?
>>
>> Your cooperation in this regard shall be highly appreciated.
>>
>> Thanks & Regards
>>
>> Abbas
>>
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> alchemi-users mailing list
>> [email protected]<http://us.mc01g.mail.yahoo.com/mc/[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/alchemi-users
>>
>>
>
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users