From: Sourav G. <sga...@gm...> - 2013-05-04 19:01:05
|
I am working on "GridSim\examples\gridsim\example06". I can see that the gridlet uses only 1 PE. Now Gridsim FAQ says --- Q: Does each gridlet can only be processed by only one PE? A: For older GridSim versions, it runs one PE. Since GridSim 3.0, each Gridlet can ask to be run on multiple PEs. However, it is up to the scheduler to handle this. At the moment, by default, TimeShared and SpaceShared scheduler executes an incoming Gridlet to only 1 PE. I am using GridSim 5.2(latest) So to make sure it uses 2 PEs i did this --- gridlet.setNumPE(2); But still its using 1 PE and in the output i get this --- Resource_0_TimeShared.gridletSubmit(): Gridlet #1 from User_0 user requires 2 PEs. --> Process this Gridlet to 1 PE only. Why cant i use more than 1 PE ?? What do i have to do. Help please !! |