From: Choong Y. Qi <cho...@ho...> - 2009-03-05 02:06:26
|
Hello everyone, I'm currently facing some problems while playing with the advance reservation feature. 1) What is the usage of allowing commitReservation() without attaching a job to it? 2) I have a scenario here, which I created a reservation 24hours in advance, I do not want to commit the reservation immediately, so I use gridSimHold for 14hours and then commit my reservation, the commit returned the result AR_COMMIT_FAIL_EXPIRED. The job is short enough which only takes a couple minutes for execution. Hence I don't think is was because insufficient execution time. If I remove the gridSimHold, the commit works without error. (Btw, is this the actual way to commit reservation in a future time? because I don't know how to trigger GridSim to execute a line in a particular time.) 3) For "int commitReservation(String bookingID, GridletList list)", the gridletlist seems to only work for GridResource which has many PEs. Considering there is only 1GridResource with 1Machine and 1PE. I got 4 jobs which each took 10minutes for execution, If I create a 1 hour reservation with the resource and commit the reservation by sending the 4 jobs packed in a gridletlist, the result is only 1job is executed while the machine left idle for the remaining 50min without executing the other 3 jobs.. I'm not sure whether this is a bug with the scheduling or wat... maybe someone can enlighten me on how I can make advance reservation behave in such way that I wanted above? Thanks! Cheers, You Qi. _________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/ |