From:
<ag...@ds...> - 2007-10-02 09:38:27
|
Hello YangYu, Sorry for the late reply, but I've been busy these days. I think that what you say can be done in a similar way as the resource failure functionality. This is, computing resources could change the speed of their PEs in response to an event. If you do this, you should consider the allocation policy in place, as in the body function of the space-shared allocation policy the rating of the PEs of the resource are retrieved. So, more concretely, the GridResource class should receive the event (perhaps the event could be sent by the GIS, as in the resource failure). Then, update the PE class with the new rating by going through the ResourceCharacteristics class, to the MachineList, to the PEList until you get to the actual PE you want to modify. If you use SpaceShared policy, update the PEs rating also in this class. Normally, allocation policies consider that all the PEs of the same machine are identical, so you should take it into account when changing the PE rating, and keep it always like that. Hope that this is useful. Do not hesitate to ask again if you still have doubts. Regards, Agustin yangyu escribió: > hi,Thank you for your help !! > It took me time to read and run the examples. > I am sorry to re-mail you late,infact I do not know how to explain my doubts > to you by this mailing list. > > I want to chage the speed of PEs or machines dynamicly. > for example,change a pe`s rating from 100 to 500 when the simulation is > running. > Not to mean that make the machine down(speed/performance=0?). > > Thank you very much . > > > yours, > > > Hi, > > When you say dynamic performance, what do you actually mean? > > Because since the current (4.1) version of GridSim, computing resources > may fail. This is, machines belonging to computing resources may work for > some time, then stop working for some time, and then back again to work. > > Thus, the performance of the computing resources may change dynamically, > if you use this computing resource failure functionality. > > For instructions on how to use this functionality, please take a look at > http://www.gridbus.org/gridsim/example/resFailure_index.html > where there are examples on how to use it. > > Also, take a look into these addresses: > > http://www.gridbus.org/reports/GridSim-FailureHandling-2007.pdf > > http://www.dsi.uclm.es/descargas/thecnicalreports/DIAB-07-01-1/DIAB-07-01-1. > pdf > > Let me know if this answers your doubts, > > Regards, > > Agustin > > > >> Dear All, >> >> I am sorry to take you time to read my mail. >> I hope I can get your help. >> >> I want to know whether the GridSim support to creat dynamic performance >> machines or not? >> >> >> Thank you very much. >> Bestwishes, >> >> Y.Y >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_____________________ > __________________________ > >> Gridsim-users mailing list >> Gri...@li... >> https://lists.sourceforge.net/lists/listinfo/gridsim-users >> >> > > > -- > ======================================================== > Agustin Caminero-Herraez > PhD Student > Computing Systems Department > The University of Castilla La Mancha, Albacete. Spain. > Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 > http://www.i3a.uclm.es/ > ======================================================== > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > -- ======================================================== Agustin Caminero-Herraez PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 http://www.i3a.uclm.es/ ======================================================== |