From: Hamid M. F. <ha...@dp...> - 2010-04-14 11:32:28
|
I need to measure the transfer time of gridlet's input and output, but I could not find anyway to measure it. I mean I wnt o know when the data (Input and Output) begins to transfer and when it finishes. Would you help me please. |
From: Agustín C. H. <ag...@ds...> - 2010-04-14 17:40:34
|
Well, u can just keep the time when the gridlet is submitted and the time when it is received (this is the total time of a gridlet), then get the wallclocktime of the gridlet and substract it from the total time. This way u get the transfer time, including both input and output files Hamid Mohammadi Fard wrote: > I need to measure the transfer time of gridlet's input and output, but I > could not find anyway to measure it. I mean I wnt o know when the data > (Input and Output) begins to transfer and when it finishes. Would you > help me please. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gridsim-developers mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-developers > -- Dr. Agustin Caminero Assistant Professor Dept. of Communication and Control Systems The National University of Distance Education Madrid. Spain E-Mail:acc...@sc... Phone: +34 913 989 468 http://www.uned.es |
From: Hamid M. F. <ha...@dp...> - 2010-04-15 07:35:22
|
Thanks for your guidance. But I need to measure Input transfer time and Output transfer time separately. do you know any way for this? Agustín Caminero Herráez wrote: > Well, u can just keep the time when the gridlet is submitted and the > time when it is received (this is the total time of a gridlet), then get > the wallclocktime of the gridlet and substract it from the total time. > > This way u get the transfer time, including both input and output files > > Hamid Mohammadi Fard wrote: > >> I need to measure the transfer time of gridlet's input and output, but I >> could not find anyway to measure it. I mean I wnt o know when the data >> (Input and Output) begins to transfer and when it finishes. Would you >> help me please. >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Gridsim-developers mailing list >> Gri...@li... >> https://lists.sourceforge.net/lists/listinfo/gridsim-developers >> >> > > |
From: Agustín C. H. <ag...@ds...> - 2010-04-15 07:51:23
|
Perhaps, u could store the time when a gridlet reaches a resource (class GridResource, function processGridletSubmit), along with the time when the gridlet is submitted (class GridSim, function gridletSubmit). This way u can calculate the transfer time for input files. Then, something similar can be done for the output files. Regards, Agustin Hamid Mohammadi Fard wrote: > Thanks for your guidance. > But I need to measure Input transfer time and Output transfer time > separately. do you know any way for this? > > > Agustín Caminero Herráez wrote: >> Well, u can just keep the time when the gridlet is submitted and the >> time when it is received (this is the total time of a gridlet), then get >> the wallclocktime of the gridlet and substract it from the total time. >> >> This way u get the transfer time, including both input and output files >> >> Hamid Mohammadi Fard wrote: >> >>> I need to measure the transfer time of gridlet's input and output, >>> but I could not find anyway to measure it. I mean I wnt o know when >>> the data (Input and Output) begins to transfer and when it finishes. >>> Would you help me please. >>> >>> ------------------------------------------------------------------------------ >>> >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Gridsim-developers mailing list >>> Gri...@li... >>> https://lists.sourceforge.net/lists/listinfo/gridsim-developers >>> >> >> > -- Dr. Agustin Caminero Assistant Professor Dept. of Communication and Control Systems The National University of Distance Education Madrid. Spain E-Mail:acc...@sc... Phone: +34 913 989 468 http://www.uned.es |
From: Hamid M. F. <ha...@dp...> - 2010-04-15 08:27:52
|
It's not possible. because when you measure the submission time of gridlet by getSubmissionTime() method, it return the time of task submission without considering the input transfer time. I mean if for example you spend 100s to transfer your input it return 101 as submission time and it is not clear when data begins to transfer and when it is finished. thanks hamid Agustín Caminero Herráez wrote: > Perhaps, u could store the time when a gridlet reaches a resource (class > GridResource, function processGridletSubmit), along with the time when > the gridlet is submitted (class GridSim, function gridletSubmit). This > way u can calculate the transfer time for input files. > > Then, something similar can be done for the output files. > > Regards, > > Agustin > > Hamid Mohammadi Fard wrote: > >> Thanks for your guidance. >> But I need to measure Input transfer time and Output transfer time >> separately. do you know any way for this? >> >> >> Agustín Caminero Herráez wrote: >> >>> Well, u can just keep the time when the gridlet is submitted and the >>> time when it is received (this is the total time of a gridlet), then get >>> the wallclocktime of the gridlet and substract it from the total time. >>> >>> This way u get the transfer time, including both input and output files >>> >>> Hamid Mohammadi Fard wrote: >>> >>> >>>> I need to measure the transfer time of gridlet's input and output, >>>> but I could not find anyway to measure it. I mean I wnt o know when >>>> the data (Input and Output) begins to transfer and when it finishes. >>>> Would you help me please. >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Gridsim-developers mailing list >>>> Gri...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gridsim-developers >>>> >>>> >>> >>> > > |
From: Agustín C. H. <ag...@ds...> - 2010-04-15 08:31:23
|
U could use GridSim.clock() to get the actual sim time Hamid Mohammadi Fard wrote: > It's not possible. because when you measure the submission time of > gridlet by getSubmissionTime() method, it return the time of task > submission without considering the input transfer time. I mean if for > example you spend 100s to transfer your input it return 101 as > submission time and it is not clear when data begins to transfer and > when it is finished. > > thanks > hamid > > Agustín Caminero Herráez wrote: >> Perhaps, u could store the time when a gridlet reaches a resource (class >> GridResource, function processGridletSubmit), along with the time when >> the gridlet is submitted (class GridSim, function gridletSubmit). This >> way u can calculate the transfer time for input files. >> >> Then, something similar can be done for the output files. >> >> Regards, >> >> Agustin >> >> Hamid Mohammadi Fard wrote: >> >>> Thanks for your guidance. >>> But I need to measure Input transfer time and Output transfer time >>> separately. do you know any way for this? >>> >>> >>> Agustín Caminero Herráez wrote: >>> >>>> Well, u can just keep the time when the gridlet is submitted and the >>>> time when it is received (this is the total time of a gridlet), >>>> then get >>>> the wallclocktime of the gridlet and substract it from the total time. >>>> >>>> This way u get the transfer time, including both input and output >>>> files >>>> >>>> Hamid Mohammadi Fard wrote: >>>> >>>> >>>>> I need to measure the transfer time of gridlet's input and output, >>>>> but I could not find anyway to measure it. I mean I wnt o know when >>>>> the data (Input and Output) begins to transfer and when it finishes. >>>>> Would you help me please. >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> >>>>> Download Intel® Parallel Studio Eval >>>>> Try the new software tools for yourself. Speed compiling, find bugs >>>>> proactively, and fine-tune applications for parallel performance. >>>>> See why Intel Parallel Studio got high marks during beta. >>>>> http://p.sf.net/sfu/intel-sw-dev >>>>> _______________________________________________ >>>>> Gridsim-developers mailing list >>>>> Gri...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gridsim-developers >>>>> >>>> >> >> > -- Dr. Agustin Caminero Assistant Professor Dept. of Communication and Control Systems The National University of Distance Education Madrid. Spain E-Mail:acc...@sc... Phone: +34 913 989 468 http://www.uned.es |
From: Hamid M. F. <ha...@dp...> - 2010-04-15 08:44:41
|
thanks you so much, my problem was solved with clock() :) Agustín Caminero Herráez wrote: > U could use GridSim.clock() to get the actual sim time > > Hamid Mohammadi Fard wrote: > >> It's not possible. because when you measure the submission time of >> gridlet by getSubmissionTime() method, it return the time of task >> submission without considering the input transfer time. I mean if for >> example you spend 100s to transfer your input it return 101 as >> submission time and it is not clear when data begins to transfer and >> when it is finished. >> >> thanks >> hamid >> >> Agustín Caminero Herráez wrote: >> >>> Perhaps, u could store the time when a gridlet reaches a resource (class >>> GridResource, function processGridletSubmit), along with the time when >>> the gridlet is submitted (class GridSim, function gridletSubmit). This >>> way u can calculate the transfer time for input files. >>> >>> Then, something similar can be done for the output files. >>> >>> Regards, >>> >>> Agustin >>> >>> Hamid Mohammadi Fard wrote: >>> >>> >>>> Thanks for your guidance. >>>> But I need to measure Input transfer time and Output transfer time >>>> separately. do you know any way for this? >>>> >>>> >>>> Agustín Caminero Herráez wrote: >>>> >>>> >>>>> Well, u can just keep the time when the gridlet is submitted and the >>>>> time when it is received (this is the total time of a gridlet), >>>>> then get >>>>> the wallclocktime of the gridlet and substract it from the total time. >>>>> >>>>> This way u get the transfer time, including both input and output >>>>> files >>>>> >>>>> Hamid Mohammadi Fard wrote: >>>>> >>>>> >>>>> >>>>>> I need to measure the transfer time of gridlet's input and output, >>>>>> but I could not find anyway to measure it. I mean I wnt o know when >>>>>> the data (Input and Output) begins to transfer and when it finishes. >>>>>> Would you help me please. >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> Download Intel® Parallel Studio Eval >>>>>> Try the new software tools for yourself. Speed compiling, find bugs >>>>>> proactively, and fine-tune applications for parallel performance. >>>>>> See why Intel Parallel Studio got high marks during beta. >>>>>> http://p.sf.net/sfu/intel-sw-dev >>>>>> _______________________________________________ >>>>>> Gridsim-developers mailing list >>>>>> Gri...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gridsim-developers >>>>>> >>>>>> >>>>> >>>>> >>> >>> > > |