You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(24) |
Nov
(5) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(14) |
Feb
(8) |
Mar
(6) |
Apr
(7) |
May
(1) |
Jun
(22) |
Jul
(6) |
Aug
(22) |
Sep
(22) |
Oct
(8) |
Nov
(10) |
Dec
(31) |
2009 |
Jan
(18) |
Feb
(29) |
Mar
(25) |
Apr
(11) |
May
(6) |
Jun
(7) |
Jul
(8) |
Aug
|
Sep
(3) |
Oct
(20) |
Nov
(11) |
Dec
(1) |
2010 |
Jan
(15) |
Feb
(33) |
Mar
(20) |
Apr
(13) |
May
(1) |
Jun
(4) |
Jul
(7) |
Aug
(11) |
Sep
(5) |
Oct
(6) |
Nov
(7) |
Dec
(12) |
2011 |
Jan
(6) |
Feb
(7) |
Mar
(1) |
Apr
(7) |
May
|
Jun
(10) |
Jul
(2) |
Aug
(2) |
Sep
(4) |
Oct
(3) |
Nov
(4) |
Dec
(1) |
2012 |
Jan
(3) |
Feb
(5) |
Mar
(15) |
Apr
(3) |
May
(2) |
Jun
(5) |
Jul
(5) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
(14) |
May
(8) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
(1) |
Mar
(6) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From:
<ag...@ds...> - 2007-10-10 08:27:54
|
Are you sure you are using Sun's Java ? Any version newer or equal to 1.4.2 is ok. bis...@wl... escribió: > i am constaintly getting the message on my system.I upgrated the JRE then > also the same message appears on my system what to do please help me as > soon as possible. The message is as follows > > java.lang.illigalStateException:attempt to draw on disposed Graphis:1886 > > please help me > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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/ ======================================================== |
From: <bis...@wl...> - 2007-10-10 08:20:38
|
i am constaintly getting the message on my system.I upgrated the JRE then also the same message appears on my system what to do please help me as soon as possible. The message is as follows java.lang.illigalStateException:attempt to draw on disposed Graphis:1886 please help me |
From: Nguyen M. L. <min...@sv...> - 2007-10-08 10:23:31
|
Dear All Please kindly join me to mailing list to receive your mail. Thank you for your co-operation =20 Yours sincerely =20 Nguyen Minh Luan IT Team Leader IT Dept. Samsung Vina Insurance Co., Ltd R.901-902, Diamond Plaza 34 Le Duan St., Ho Chi Minh City Vietnam Tel:84-08-8237812 Fax:84-08-8237811 Email: min...@sv... |
From: <smp...@ya...> - 2007-10-07 01:31:55
|
Dear Agustin, Good morning.. I am so happy to tell you that the code can change the speed of PEs !! Thank you very much for your help ! ! With your help , I can change PE_speeds as I want to, during simulation. (PS: I am now at home, So I can not use the mail_address that I used. But I want to tell you about it immediately ) Thank you very much. Good luck to you and have a nice weekend. yours, Yang, |
From:
<ag...@ds...> - 2007-10-05 10:21:17
|
Hello Yang Yu, yangyu escribió: > Hello Dear Agustin, > > Thank you very much for you kindness and your help to me. > I just had a try. I found that there is some problem in that code. > ------------------------------------------ > for(int i=0;i<num;i++) { > // get a PE of this resource > // something like: > // pe= pelist.get(i); > // then change the rating > pe.setMIPSRating(1000); > } > ------------------------------------------ > The prolem is with the code "pe.setMIPSRating(1000);" when compling . > some information like "pe is not defined symbol" was shown. > > To work out this, at the head of my class I wrote "public static PE pe; " (I am not sure of it, just a try). > Of course, pe must be declared before being used. I think that "public PE pe; " is ok. > and the Compling is passed, but when it run to the code "pe.setMIPSRating(1000); ", the program will be stopped and throws a message of "java.lang.NullPointerException". > > I thought that when the excution of program runs to " pe.setMIPSRating(1000);" to set the PE with a new_speed, maybe Program can not know which PE`s speed is going to be re-setted. (As the message of NullPointerException) . > > And I also tried to use " pe= pelist.get(i);" , but a error message like "java.lang.Objct can not be setted as gridsim.PE" was shown. > > Of course, before trying to set the speed of a PE, you must decide which PE you want to set. In order to do that, you must go through the PEList, which is what I meant in the code I sent you. Probably the failure is that "pelist.get(i); " returns a Object, so try doing a casting to PE, such as "pe= (PE) pelist.get(i);". Hope this helps, Agustin > I really want to say "Thank you very much for your help to me. you are so kind", though I can not run your code correctly. > > > I will go on to find how to change the performance(speed of PE). > > > And if you have some new information about change speed of PE, I `d like to read and try it. > > > Thanks a lot, > > best wishes to you. > > > Yang Yu > > > > > > > -----Original Message----- > From: Agustin Caminero Herraez [mailto:ag...@ds...] > Sent: Friday, October 05, 2007 4:39 PM > To: yangyu > Cc: gri...@li... > Subject: Re: [GridSim-users] about dynamic performance. and a question > of setting resourceID > > > Hello Yang Yu, > > I've just taken a look at your example, and I'm afraid that what you do > is not correct. > I mean, you are not changing the rating of PEs, but just creating new PEs. > > So, try doing this: > > public void changePE(){ > int rate=0; > int rate_changed=0; > PEList pelist=resource.getMachineList().getMachine(0).getPEList(); > int num=resource.getNumPE(); > > > /*to see the rate of PEs before change them. there were 6PEs and each PE~s > speed is 200*/ > for(int i=0;i<num;i++){ > rate=pelist.getMIPSRating(i); > } > > /* try to change speed to 1000 */ > for(int i=0;i<num;i++) { > // get a PE of this resource > // something like: > // pe= pelist.get(i); > // then change the rating > pe.setMIPSRating(1000); > } > > > > /* to check that they are changed or not*/ > > for(int i=0;i<num;i++) > { > rate_changed=pelist.getMIPSRating(i); > //rate_changed is same as rate. > } > } > > > Tell me if this works, > > Regards, > > Agustin > > > yangyu escribió: > >> Good morning Agustin, >> Good morning everyone, >> >> >> Thank you very much for the information you gave to me. >> I am happy to hear that the speed of PEs can be changed when the simulation >> is running. >> >> I just tried one way to change the speed of PEs. It seems that it does not >> work .(Forgive me if I chose a wrong way to write the code) I am not sure >> the method I used is right or not. >> Can you tell me why I can not change the speed(rating) of PEs when you are >> not busy? >> >> Thank you very much. >> >> PS. I found that in the Class ResourceCharacteristics, the method >> setResourceID(int id) does not work.(I can not make resources ID as I want >> them to be.) >> >> (I am sorry that I sent this question to "GridSim-users] help regarding >> compiling.............". 10minuts ago.I am so sorry about that.) >> >> bestwishes, >> yang, >> ---------the code-------------------------------------------------- >> _/*I ran this program step by step to see "rate"and "rate_change".I found >> that they were same*/ >> public void changePE(){ >> int rate=0; >> int rate_changed=0; >> PEList pelist=resource.getMachineList().getMachine(0).getPEList(); >> int num=resource.getNumPE(); >> >> >> /*to see the rate of PEs before change them. there were 6PEs and each PE~s >> speed is 200*/ >> for(int i=0;i<num;i++){ >> rate=pelist.getMIPSRating(i); >> } >> >> >> /* try to change speed to 1000 using the method that I know*/ >> for(int i=0;i<num;i++) { >> pelist.add(new PE(i,1000)); >> >> // PE pe=new PE(i,1000); >> // pe.setMIPSRating(1000); >> } >> MachineList mList = new MachineList(); >> mList.add( new Machine(0, pelist) ); >> String arch = "Sun Ultra"; // system architecture >> String os = "Solaris"; // operating system >> double time_zone = 0.0; // time zone this resource located >> ResourceCharacteristics resource = new ResourceCharacteristics( >> arch, os, mList, ResourceCharacteristics.SPACE_SHARED, >> time_zone, 1); >> >> // PEList pelist1=resource.getMachineList().getMachine(0).getPEList(); >> /* to check that they are changed or not*/ >> for(int i=0;i<num;i++) >> { >> // rate_changed=pelist1.getMIPSRating(i) >> rate_changed=pelist.getMIPSRating(i); >> //rate_changed is same as rate. >> } >> } >> -------------------------------------------------- >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> 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/ ======================================================== |
From: yangyu <ya...@hp...> - 2007-10-05 10:04:22
|
Hello Dear Agustin, Thank you very much for you kindness and your help to me. I just had a try. I found that there is some problem in that code. ------------------------------------------ for(int i=3D0;i<num;i++) { =20 // get a PE of this resource=20 // something like: // pe=3D pelist.get(i); =20 // then change the rating pe.setMIPSRating(1000); =09 } ------------------------------------------ The prolem is with the code "pe.setMIPSRating(1000);" when compling . some information like "pe is not defined symbol" was shown. To work out this, at the head of my class I wrote "public static PE pe; = " (I am not sure of it, just a try). and the Compling is passed, but when it run to the code = "pe.setMIPSRating(1000); ", the program will be stopped and throws a = message of "java.lang.NullPointerException". I thought that when the excution of program runs to " = pe.setMIPSRating(1000);" to set the PE with a new_speed, maybe Program = can not know which PE`s speed is going to be re-setted. (As the message = of NullPointerException) . And I also tried to use " pe=3D pelist.get(i);" , but a error message = like "java.lang.Objct can not be setted as gridsim.PE" was shown. I really want to say "Thank you very much for your help to me. you are = so kind", though I can not run your code correctly. I will go on to find how to change the performance(speed of PE). And if you have some new information about change speed of PE, I `d = like to read and try it. Thanks a lot, best wishes to you. Yang Yu -----Original Message----- From: Agustin Caminero Herraez [mailto:ag...@ds...] Sent: Friday, October 05, 2007 4:39 PM To: yangyu Cc: gri...@li... Subject: Re: [GridSim-users] about dynamic performance. and a question of setting resourceID Hello Yang Yu, I've just taken a look at your example, and I'm afraid that what you do=20 is not correct. I mean, you are not changing the rating of PEs, but just creating new = PEs. So, try doing this: public void changePE(){ int rate=3D0; int rate_changed=3D0; PEList pelist=3Dresource.getMachineList().getMachine(0).getPEList(); int num=3Dresource.getNumPE(); /*to see the rate of PEs before change them. there were 6PEs and each = PE~s speed is 200*/ for(int i=3D0;i<num;i++){ rate=3Dpelist.getMIPSRating(i); } /* try to change speed to 1000 */ for(int i=3D0;i<num;i++) { =20 // get a PE of this resource=20 // something like: // pe=3D pelist.get(i); // then change the rating pe.setMIPSRating(1000); =09 } /* to check that they are changed or not*/ =20 for(int i=3D0;i<num;i++) { rate_changed=3Dpelist.getMIPSRating(i); //rate_changed is same as rate. } } Tell me if this works, Regards, Agustin yangyu escribi=C3=B3: > Good morning Agustin, > Good morning everyone, > > > Thank you very much for the information you gave to me. > I am happy to hear that the speed of PEs can be changed when the = simulation > is running. > > I just tried one way to change the speed of PEs. It seems that it = does not > work .(Forgive me if I chose a wrong way to write the code) I am not = sure > the method I used is right or not. > Can you tell me why I can not change the speed(rating) of PEs when = you are > not busy? > > Thank you very much. > > PS. I found that in the Class ResourceCharacteristics, the method > setResourceID(int id) does not work.(I can not make resources ID as I = want > them to be.) > > (I am sorry that I sent this question to "GridSim-users] help = regarding > compiling.............". 10minuts ago.I am so sorry about that.) > > bestwishes, > yang, > ---------the code-------------------------------------------------- > _/*I ran this program step by step to see "rate"and "rate_change".I = found > that they were same*/ > public void changePE(){ > int rate=3D0; > int rate_changed=3D0; > PEList = pelist=3Dresource.getMachineList().getMachine(0).getPEList(); > int num=3Dresource.getNumPE(); > > > /*to see the rate of PEs before change them. there were 6PEs and each = PE~s > speed is 200*/ > for(int i=3D0;i<num;i++){ > rate=3Dpelist.getMIPSRating(i); > } > > > /* try to change speed to 1000 using the method that I know*/ > for(int i=3D0;i<num;i++) { > pelist.add(new PE(i,1000)); > > // PE pe=3Dnew PE(i,1000); > // pe.setMIPSRating(1000); > } > MachineList mList =3D new MachineList(); > mList.add( new Machine(0, pelist) ); > String arch =3D "Sun Ultra"; // system architecture > String os =3D "Solaris"; // operating system > double time_zone =3D 0.0; // time zone this resource = located > ResourceCharacteristics resource =3D new ResourceCharacteristics( > arch, os, mList, = ResourceCharacteristics.SPACE_SHARED, > time_zone, 1); > > // PEList = pelist1=3Dresource.getMachineList().getMachine(0).getPEList(); > /* to check that they are changed or not*/ > for(int i=3D0;i<num;i++) > { > // = rate_changed=3Dpelist1.getMIPSRating(i) > rate_changed=3Dpelist.getMIPSRating(i); > //rate_changed is same as rate. > } > } > -------------------------------------------------- > > > > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a = browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > =20 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D 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/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D |
From:
<ag...@ds...> - 2007-10-05 07:38:59
|
Hello Yang Yu, I've just taken a look at your example, and I'm afraid that what you do is not correct. I mean, you are not changing the rating of PEs, but just creating new PEs. So, try doing this: public void changePE(){ int rate=0; int rate_changed=0; PEList pelist=resource.getMachineList().getMachine(0).getPEList(); int num=resource.getNumPE(); /*to see the rate of PEs before change them. there were 6PEs and each PE~s speed is 200*/ for(int i=0;i<num;i++){ rate=pelist.getMIPSRating(i); } /* try to change speed to 1000 */ for(int i=0;i<num;i++) { // get a PE of this resource // something like: // pe= pelist.get(i); // then change the rating pe.setMIPSRating(1000); } /* to check that they are changed or not*/ for(int i=0;i<num;i++) { rate_changed=pelist.getMIPSRating(i); //rate_changed is same as rate. } } Tell me if this works, Regards, Agustin yangyu escribió: > Good morning Agustin, > Good morning everyone, > > > Thank you very much for the information you gave to me. > I am happy to hear that the speed of PEs can be changed when the simulation > is running. > > I just tried one way to change the speed of PEs. It seems that it does not > work .(Forgive me if I chose a wrong way to write the code) I am not sure > the method I used is right or not. > Can you tell me why I can not change the speed(rating) of PEs when you are > not busy? > > Thank you very much. > > PS. I found that in the Class ResourceCharacteristics, the method > setResourceID(int id) does not work.(I can not make resources ID as I want > them to be.) > > (I am sorry that I sent this question to "GridSim-users] help regarding > compiling.............". 10minuts ago.I am so sorry about that.) > > bestwishes, > yang, > ---------the code-------------------------------------------------- > _/*I ran this program step by step to see "rate"and "rate_change".I found > that they were same*/ > public void changePE(){ > int rate=0; > int rate_changed=0; > PEList pelist=resource.getMachineList().getMachine(0).getPEList(); > int num=resource.getNumPE(); > > > /*to see the rate of PEs before change them. there were 6PEs and each PE~s > speed is 200*/ > for(int i=0;i<num;i++){ > rate=pelist.getMIPSRating(i); > } > > > /* try to change speed to 1000 using the method that I know*/ > for(int i=0;i<num;i++) { > pelist.add(new PE(i,1000)); > > // PE pe=new PE(i,1000); > // pe.setMIPSRating(1000); > } > MachineList mList = new MachineList(); > mList.add( new Machine(0, pelist) ); > String arch = "Sun Ultra"; // system architecture > String os = "Solaris"; // operating system > double time_zone = 0.0; // time zone this resource located > ResourceCharacteristics resource = new ResourceCharacteristics( > arch, os, mList, ResourceCharacteristics.SPACE_SHARED, > time_zone, 1); > > // PEList pelist1=resource.getMachineList().getMachine(0).getPEList(); > /* to check that they are changed or not*/ > for(int i=0;i<num;i++) > { > // rate_changed=pelist1.getMIPSRating(i) > rate_changed=pelist.getMIPSRating(i); > //rate_changed is same as rate. > } > } > -------------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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/ ======================================================== |
From:
<ag...@ds...> - 2007-10-05 07:14:21
|
Good morning Yang Yu, Regarding the resource id, you should not change it, as it is Gridsim who decides the id for each entity in a simulation. If you really need to have a kind of id which you yourself can set, you can add a new parameter in the resource class (and call this new parameter, for example, my_id). This way you can use the my_id of resources (or any entity you want) to do all your stuff, whilst keeping the same GridSim's id (which is essential for GridSim to work). Regarding changing the speed of PEs, I'm sorry but I've not been able to look into it. All the best, Agustin yangyu escribió: > Good morning Agustin, > Good morning everyone, > > > Thank you very much for the information you gave to me. > I am happy to hear that the speed of PEs can be changed when the simulation > is running. > > I just tried one way to change the speed of PEs. It seems that it does not > work .(Forgive me if I chose a wrong way to write the code) I am not sure > the method I used is right or not. > Can you tell me why I can not change the speed(rating) of PEs when you are > not busy? > > Thank you very much. > > PS. I found that in the Class ResourceCharacteristics, the method > setResourceID(int id) does not work.(I can not make resources ID as I want > them to be.) > > (I am sorry that I sent this question to "GridSim-users] help regarding > compiling.............". 10minuts ago.I am so sorry about that.) > > bestwishes, > yang, > ---------the code-------------------------------------------------- > _/*I ran this program step by step to see "rate"and "rate_change".I found > that they were same*/ > public void changePE(){ > int rate=0; > int rate_changed=0; > PEList pelist=resource.getMachineList().getMachine(0).getPEList(); > int num=resource.getNumPE(); > > > /*to see the rate of PEs before change them. there were 6PEs and each PE~s > speed is 200*/ > for(int i=0;i<num;i++){ > rate=pelist.getMIPSRating(i); > } > > > /* try to change speed to 1000 using the method that I know*/ > for(int i=0;i<num;i++) { > pelist.add(new PE(i,1000)); > > // PE pe=new PE(i,1000); > // pe.setMIPSRating(1000); > } > MachineList mList = new MachineList(); > mList.add( new Machine(0, pelist) ); > String arch = "Sun Ultra"; // system architecture > String os = "Solaris"; // operating system > double time_zone = 0.0; // time zone this resource located > ResourceCharacteristics resource = new ResourceCharacteristics( > arch, os, mList, ResourceCharacteristics.SPACE_SHARED, > time_zone, 1); > > // PEList pelist1=resource.getMachineList().getMachine(0).getPEList(); > /* to check that they are changed or not*/ > for(int i=0;i<num;i++) > { > // rate_changed=pelist1.getMIPSRating(i) > rate_changed=pelist.getMIPSRating(i); > //rate_changed is same as rate. > } > } > -------------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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/ ======================================================== |
From: yangyu <ya...@hp...> - 2007-10-05 04:48:04
|
Good morning Agustin, Good morning everyone, Thank you very much for the information you gave to me. I am happy to hear that the speed of PEs can be changed when the simulation is running. I just tried one way to change the speed of PEs. It seems that it does not work .(Forgive me if I chose a wrong way to write the code) I am not sure the method I used is right or not. Can you tell me why I can not change the speed(rating) of PEs when you are not busy? Thank you very much. PS. I found that in the Class ResourceCharacteristics, the method setResourceID(int id) does not work.(I can not make resources ID as I want them to be.) (I am sorry that I sent this question to "GridSim-users] help regarding compiling.............". 10minuts ago.I am so sorry about that.) bestwishes, yang, ---------the code-------------------------------------------------- _/*I ran this program step by step to see "rate"and "rate_change".I found that they were same*/ public void changePE(){ int rate=0; int rate_changed=0; PEList pelist=resource.getMachineList().getMachine(0).getPEList(); int num=resource.getNumPE(); /*to see the rate of PEs before change them. there were 6PEs and each PE~s speed is 200*/ for(int i=0;i<num;i++){ rate=pelist.getMIPSRating(i); } /* try to change speed to 1000 using the method that I know*/ for(int i=0;i<num;i++) { pelist.add(new PE(i,1000)); // PE pe=new PE(i,1000); // pe.setMIPSRating(1000); } MachineList mList = new MachineList(); mList.add( new Machine(0, pelist) ); String arch = "Sun Ultra"; // system architecture String os = "Solaris"; // operating system double time_zone = 0.0; // time zone this resource located ResourceCharacteristics resource = new ResourceCharacteristics( arch, os, mList, ResourceCharacteristics.SPACE_SHARED, time_zone, 1); // PEList pelist1=resource.getMachineList().getMachine(0).getPEList(); /* to check that they are changed or not*/ for(int i=0;i<num;i++) { // rate_changed=pelist1.getMIPSRating(i) rate_changed=pelist.getMIPSRating(i); //rate_changed is same as rate. } } -------------------------------------------------- |
From: yangyu <ya...@hp...> - 2007-10-05 04:21:31
|
Good morning Agustin, Good morning everyone, =20 Thank you very much for the information you gave to me. I am happy to hear that the speed of PEs can be changed when the = simulation is running. I just tried one way to change the speed of PEs. It seems that it does = not work .(Forgive me if I chose a wrong way to write the code) I am not = sure the method I used is right or not. Can you tell me why I can not change the speed(rating) of PEs when you = are not busy? =20 Thank you very much. PS. I found that in the Class ResourceCharacteristics, the method = setResourceID(int id) does not work.(I can not make resources ID as I = want them to be.) =20 =20 bestwishes, yang, ---------the code-------------------------------------------------- _/*I ran this program step by step to see "rate"and "rate_change".I = found that they were same*/ public void changePE(){ int rate=3D0; int rate_changed=3D0; PEList pelist=3Dresource.getMachineList().getMachine(0).getPEList(); int num=3Dresource.getNumPE(); =20 /*to see the rate of PEs before change them. there were 6PEs and each = PE~s speed is 200*/ for(int i=3D0;i<num;i++){ rate=3Dpelist.getMIPSRating(i); } =20 /* try to change speed to 1000 using the method that I know*/ for(int i=3D0;i<num;i++) { pelist.add(new PE(i,1000)); // PE pe=3Dnew PE(i,1000); // pe.setMIPSRating(1000); } MachineList mList =3D new MachineList(); mList.add( new Machine(0, pelist) ); String arch =3D "Sun Ultra"; // system architecture String os =3D "Solaris"; // operating system double time_zone =3D 0.0; // time zone this resource = located ResourceCharacteristics resource =3D new ResourceCharacteristics( arch, os, mList, = ResourceCharacteristics.SPACE_SHARED, time_zone, 1); // PEList pelist1=3Dresource.getMachineList().getMachine(0).getPEList(); /* to check that they are changed or not*/ =20 for(int i=3D0;i<num;i++) { // rate_changed=3Dpelist1.getMIPSRating(i) rate_changed=3Dpelist.getMIPSRating(i); = //rate_changed is same as rate.=20 } } -------------------------------------------------- Agust=E9=86=87^n Caminero Herraez <ag...@ds...> wrote: 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=20 failure functionality. This is, computing resources could change the speed of their PEs in=20 response to an event. If you do this, you should consider the allocation policy in place, as=20 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=20 (perhaps the event could be sent by the GIS, as in the resource=20 failure). Then, update the PE class with the new rating by going through = the ResourceCharacteristics class, to the MachineList, to the PEList=20 until you get to the actual PE you want to modify. If you use=20 SpaceShared policy, update the PEs rating also in this class. Normally, allocation policies consider that all the PEs of the same=20 machine are identical, so you should take it into account when changing=20 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=E5=B0=86=E3=83=A0: > 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=3D0?). > > 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 > > >=20 >> 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. >> >>=20 > = http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/__________________= ___ > __________________________ >=20 >> Gridsim-users mailing list >> Gri...@li... >> https://lists.sourceforge.net/lists/listinfo/gridsim-users >> >>=20 > > > -- > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > 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/ > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > > > = -------------------------------------------------------------------------= > 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 >=20 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D 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/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D begin:vcard fn;quoted-printable:Agust=3DC3=3DADn Caminero-Herr=3DC3=3DA1ez n;quoted-printable;quoted-printable:Caminero-Herr=3DC3=3DA1ez;Agust=3DC3=3D= ADn org;quoted-printable:Universidad de Castilla La Mancha = (UCLM).;Departamento de Sistemas Inform=3DC3=3DA1ticos adr;quoted-printable;quoted-printable:Campus Universitario s. = n.;;Instituto de Investigaci=3DC3=3DB3n en Inform=3DC3=3DA1tica de = Albacete (i3A);Albacete;Albacete;02071;Espa=3DC3=3DB1a / Spain email;internet:ag...@ds... title:Estudiante de Doctorado tel;work:967 59 92 00 Ext. 2693 version:2.1 end:vcard =20 |
From: Srikumar V. <sri...@gm...> - 2007-10-05 01:33:44
|
Hi, You dont need to use IDEs however it would help a lot if you did. If you have downloaded and installed Sun JSDK, ensure that : 1. GCJ is not in the path $ which java should return the path of Sun's Java binary. 2. Your classpath is set. Like an earlier email said, ensure that the two jars (gridsim and simjava) are in your classpath. $ export CLASSPATH=<path>/gridsim.jar:<path>/simjava.jar where <path> is the directory in which you have put the jar files Run again. Go over the instructions provided in the GridSim distribution. They are pretty detailed. On an unrelated note, I noticed earlier that you are running java in the root account. While this has *no effect* on GridSim's performance, it is generally a good idea (security-wise) to execute *all* programs from a user account. Cheers Sri. On 10/5/07, om nama shiva <omn...@gm...> wrote: > Hello, > I am not using any kind of IDE's I m just compiling directly in the > shell. Is dat i need to use any special IDE's to work with this gridsim tool > and if so please help get me the exact steps of how to work with this tool. > I m using Centos 4. I ve also installed JSDK as said by Srikumar Venugopal. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > |
From: om n. s. <omn...@gm...> - 2007-10-04 23:20:38
|
Hello, I am not using any kind of IDE's I m just compiling directly in the shell. Is dat i need to use any special IDE's to work with this gridsim tool and if so please help get me the exact steps of how to work with this tool. I m using Centos 4. I ve also installed JSDK as said by Srikumar Venugopal. |
From:
<ag...@ds...> - 2007-10-04 18:13:52
|
Hello, In the web site of GridSim (http://www.gridbus.org/gridsim/) there are instructions on how to use GridSim with Eclipse <http://www.gridbus.org/gridsim/paper/eclipse.pdf> or JBuilder <http://www.gridbus.org/gridsim/paper/jbuilder.pdf> or JCreator <http://www.gridbus.org/gridsim/paper/jcreator.pdf>. I think all of them have free versions. Regards, Agustin yangyu escribió: > good evening. > I just guessed that your setting of the path of gridsim.jar and > simjava.jar may be not done. (or other path of java library.) > I am uesing A soft named NetBeans IDE 5.0, you can set library easily > when using it. You can get if for free. > Hope to help you. > good luck, > yours, > > -----Original Message----- > *From:* gri...@li... > [mailto:gri...@li...]*On Behalf Of > *om nama shiva > *Sent:* Thursday, October 04, 2007 3:18 AM > *To:* gri...@li... > *Subject:* [GridSim-users] help regarding compiling............. > > Gettin error when i am trying to execute java file > ERROR: > root@localhost Example01]# java -classpath > /root/gridsimtoolkit-4.1/jars/gridsim.jar Example1 > Starting example of how to create one Grid resource > Initializing GridSim package > Exception in thread "main" java.lang.NoClassDefFoundError: while > resolving class: eduni.simjava.Sim_entity > at java.lang.VMClassLoader.resolveClass(java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at _Jv_PrepareClass( java.lang.Class) (/usr/lib/libgcj.so.5.0.0) > at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.linkClass0(java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.resolveClass (java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) > at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.linkClass0 (java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.resolveClass(java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > at _Jv_ResolvePoolEntry( java.lang.Class, int) > (/usr/lib/libgcj.so.5.0.0) > at Example1.main(java.lang.String[]) (Unknown Source) > Caused by: java.lang.ClassNotFoundException: > eduni.simanim.Anim_entity not found in [file:/root/gridsimtoolkit- > 4.1/jars/gridsim.jar, file:/usr/share/java/libgcj-3.4.6.jar, > file:./, core:/] > at java.net.URLClassLoader.findClass(java.lang.String) > (/usr/lib/libgcj.so.5.0.0) > at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String ) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.ClassLoader.loadClass(java.lang.String, boolean) > (/usr/lib/libgcj.so.5.0.0) > at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.Class.forName(java.lang.String, boolean, > java.lang.ClassLoader) > (/usr/lib/libgcj.so.5.0.0) > at _Jv_BytecodeVerifier.verify_instructions_0() > (/usr/lib/libgcj.so.5.0.0) > at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0) > at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) > at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.linkClass0(java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.VMClassLoader.resolveClass(java.lang.Class) > (/usr/lib/libgcj.so.5.0.0) > ...11 more > > pls get me a solution to resolve this problem. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > 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/ ======================================================== |
From: yangyu <ya...@hp...> - 2007-10-04 11:43:12
|
good evening. I just guessed that your setting of the path of gridsim.jar and simjava.jar may be not done. (or other path of java library.) I am uesing A soft named NetBeans IDE 5.0, you can set library easily when using it. You can get if for free. Hope to help you. good luck, yours, -----Original Message----- From: gri...@li... [mailto:gri...@li...]On Behalf Of om nama shiva Sent: Thursday, October 04, 2007 3:18 AM To: gri...@li... Subject: [GridSim-users] help regarding compiling............. Gettin error when i am trying to execute java file ERROR: root@localhost Example01]# java -classpath /root/gridsimtoolkit-4.1/jars/gridsim.jar Example1 Starting example of how to create one Grid resource Initializing GridSim package Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: eduni.simjava.Sim_entity at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass( java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass (java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0 (java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at _Jv_ResolvePoolEntry( java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at Example1.main(java.lang.String[]) (Unknown Source) Caused by: java.lang.ClassNotFoundException: eduni.simanim.Anim_entity not found in [file:/root/gridsimtoolkit- 4.1/jars/gridsim.jar, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0) at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0) at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) ...11 more pls get me a solution to resolve this problem. |
From: om n. s. <omn...@gm...> - 2007-10-03 18:17:42
|
Gettin error when i am trying to execute java file ERROR: root@localhost Example01]# java -classpath /root/gridsimtoolkit-4.1/jars/gridsim.jar Example1 Starting example of how to create one Grid resource Initializing GridSim package Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: eduni.simjava.Sim_entity at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at Example1.main(java.lang.String[]) (Unknown Source) Caused by: java.lang.ClassNotFoundException: eduni.simanim.Anim_entity not found in [file:/root/gridsimtoolkit-4.1/jars/gridsim.jar, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0) at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0) at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) ...11 more pls get me a solution to resolve this problem. |
From: <smp...@ya...> - 2007-10-02 22:25:09
|
Good morning Agustin, Good morning everyone, Thank you very much for the information you gave to me. I am happy to hear that the speed of PEs can be changed when the simulation is running. I am sorry that I am not in school now so I have to use my PC mail-address this time. I just tried one way to change the speed of PEs. It seems that it does not work .(Forgive me if I chose a wrong way to write the code) I am not sure the method I used is right or not. Can you tell me why I can not change the speed(rating) of PEs when you are not busy? Thank you very much. bestwishes, yang, -------------------------------------------------- _/*I ran this program step by step to see "rate"and "rate_change".I found that they were same*/ public void changePE(){ int rate=0; int rate_changed=0; PEList pelist=resource.getMachineList().getMachine(0).getPEList(); int num=resource.getNumPE(); /*to see the rate of PEs before change them. there were 6PEs and each PE~s speed is 200*/ for(int i=0;i<num;i++){ rate=pelist.getMIPSRating(i); } /* try to change speed to 1000 using the method that I know*/ for(int i=0;i<num;i++) { pelist.add(new PE(i,1000)); // PE pe=new PE(i,100); // pe.setMIPSRating(1000);} /* to check that they are changed or not*/ for(int i=0;i<num;i++){ rate_changed=pelist.getMIPSRating(i); } } -------------------------------------------------- Agust醇^n Caminero Herraez <ag...@ds...> wrote: 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/ ======================================================== begin:vcard fn;quoted-printable:Agust=C3=ADn Caminero-Herr=C3=A1ez n;quoted-printable;quoted-printable:Caminero-Herr=C3=A1ez;Agust=C3=ADn org;quoted-printable:Universidad de Castilla La Mancha (UCLM).;Departamento de Sistemas Inform=C3=A1ticos adr;quoted-printable;quoted-printable:Campus Universitario s. n.;;Instituto de Investigaci=C3=B3n en Inform=C3=A1tica de Albacete (i3A);Albacete;Albacete;02071;Espa=C3=B1a / Spain email;internet:ag...@ds... title:Estudiante de Doctorado tel;work:967 59 92 00 Ext. 2693 version:2.1 end:vcard |
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/ ======================================================== |
From: yangyu <ya...@hp...> - 2007-09-28 04:01:50
|
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/ ======================================================== |
From: <ag...@ds...> - 2007-09-21 07:38:32
|
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/ ======================================================== |
From: <smp...@ya...> - 2007-09-21 04:44:31
|
Dear All, I am a student. I am sorry to take your time to read my mail. I hope I can get your help. I want to know whether the GridSim can support to creat dynamic performance machines or not? Thank you very much. Bestwishes, Y.Y |
From: yangyu <ya...@hp...> - 2007-09-21 04:37:47
|
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 |
From: Anthony S. <an...@cs...> - 2007-09-01 07:27:52
|
Gridbus Project to Release GridSim Toolkit 4.1 September 2007 The Gridbus Project at The University of Melbourne, Australia has released the next-version of Grid simulation software, the GridSim Toolkit 4.1. The new version of GridSim adds a new functionality that supports resource failures and failure detection of Grid resources. This work was done in collaboration with Agustin Caminero, a Phd student from Universidad de Castilla La Mancha (UCLM), Spain. All components developed as part of the GridSim Toolkit are released as "open source" under the GPL license to encourage innovation and pass full freedom to our users. In addition, we have decided to use SourceForge (http://sourceforge.net/projects/gridsim) for hosting our future releases and developments. This allows us to share and and to collaborate further on new functionalities. Therefore, contributions to the GridSim Toolkit are greatly appreciated. The early version of our GridSim toolkit has been used/dowloaded by several academic and commercial organizations around the world including: University of Southern California (USA), California Institute of Technology (USA), Argonne National Labs (USA), University of Manchester (UK), CERN, Universidad de Santiago de Compostela (Spain), Indian Institute of Technology, Tsinghua University (China), Sun Microsystems, IBM Research, Unisys, HP, Northrop Grumman Information Technology, British Telecom and EMC Corp. The GridSim software has been used for modeling and simulating many interesting systems and ideas. For example, IBM Research uses our DataGrid package to simulate a grid meta-scheduler that tightly integrates the compute and data transfer times of each job. Another example is Universidad de Santiago de Compostela's extension of GridSim to optimize execution of parallel applications on a Grid. Our own uses include simulating economic Grid scheduler in a competitive economy model, economic based cluster scheduler and cooperative Grid federation. The contributors to the GridSim software (from early to new version) are: * Rajkumar Buyya, GRIDS Lab @ The University of Melbourne. * Manzur Murshed, GSCIT @ Monash University, Australia. * Anthony Sulistio, GRIDS Lab @ The University of Melbourne. * Gokul Poduval and Chen-Khong Tham, Dept. of Electrical & Computer Engineering @ National University of Singapore. * Marcos Dias de Assuncao, GRIDS Lab @ The University of Melbourne. * Uros Cibej and Borut Robic, Faculty of Computer and Information Service, The University of Ljubljana, Slovenia. * Agustin Caminero, Department of Computing Systems, Universidad de Castilla La Mancha (UCLM), Spain. To download the GridSim software, please visit the Gridbus Project web site at http://www.gridbus.org/gridsim/ Join the GridSim mailing lists at http://sourceforge.net/projects/gridsim |