dl.papergram.irdl.papergram.ir/mobileapp/cloud/resource/f50.pdf · V ai di Ti ai bidi ci si BW(i,...

9
* [email protected] [email protected] [email protected] . . . . - ] .[ ] .[ ] [ ] .[ . ) OSST ( ) MSOT ( . . ] .[ . . NP-Complete ] [ . ] [ ) DAG ] ( [ ] [ ] [ . ] [ . ] [ IaaS .

Transcript of dl.papergram.irdl.papergram.ir/mobileapp/cloud/resource/f50.pdf · V ai di Ti ai bidi ci si BW(i,...

*

[email protected]

[email protected]

[email protected]

.

.

.

.

-

].[

] .[

][] .[

.

)OSST (

)MSOT ( .

.

] .[

.

.

NP-Complete ][ .

][

)DAG] ([

][

] [

.

][ .

] [

IaaS

.

.] [

.

] [

.

)DAG (

Makespan

.

.

.

] [

.

.

.

.

][

.

.

.

] [

.

.

.

] [

.

] [

)Shortest First (FIFO

.] [

.

.

.

.

RAOLA

.

RAOLA

T

LA

.

:

.

.

.

.

.

.

-

.IaaS

][ .

.

][ .

:

.

.

"

"

.

.

.

TT={ T1, T2, Tm }

m

.T

.

i

Ti={ T1i, Ti2, Tim}

.

R )

(

R={ R1, R2, Rn}

.

S

.i

Si

.

S={ S1, S2, Sr}

. .

V= {V1, V2, , Vp}

.

T: T1, T2, Tm S: S1, S2, Sr

(

.

].[

.

.

.

.

--

.

m

:

(

) (

T .

Ti

)ai(

)bi()di( .

)si(

)ci (

VjTi

)BW(i, j)(

.

Ti :

(

.

(

.

)(

:

.

) (:

)

(

T

×m.

(

T(i, j)

Ti

Vj

.

Vj

j .

:

1..

( ) ( , ) /j ii m

U V T i j b

:

1... 1..

( ) ( , ) / ij n i m

U V T i j b

R: R1, R2, Rn

)-(

)-(

V

di ai

Ti

.

BW(i, j)

si

ci

di

bi

ai

x16 x15 x14 x13 x12 x11

. . . . . . . . . . . . T =

. . . . . . xm6 xm5 xm4 xm3 xm2 xm1

)- (

.

.

Disc = {Disc1, , Discz} Host = { Host1, , Hostu } CPU = {CPU1, , CPUv} DC = {DC1, , DCw} Cost = {Cost1, , Costn} Bandwith = {BD1, , BDs}

-

.

Si .

- M

B

- G

B

CPU

-

GH

z

CPU

z16 z15 z14 z13 z12 z11

. . . . . .

. . . . . . V =

. . . . . . zn6 zn5 zn4 zn3 zn2 zn1

)- (

.

di

.Ve

Vf = V

Ve.

TVf

T'

.

.

S

)STF .(T"

Vf

.

) -( S = T"

Vf

S .

-

] [

.

.

.

LA =

, , F, G,

= {a1, ., an}

n

= {b1, ., bm}

m

(t) = { 1 2 k}

t

F:

.

G:

].[

(

LA

.

.

-

-LA

.

T

T

(n) (n)

.LA

(n)n

Tnew

Vf

F: {Tnew, Vf}

.

G: Vf}

.

H

.

.

|Ti|

Ti .

TH = max{|Ti|

Ti is a task}

.TH

H

.

G

T"

--

.

)- (= ( )

max{ (| ( ) |, }( ) | |

j

i

U VH S i

U V T

H[|S(i)|]

S(i) = Ti .

H

0.

S

.

)RAOLA(

.

-

RAOLA

Cloudlet

.

.

T

.

)AAE (

.

.LA

T )-

(V )-

(

.

:

= T × V

= Tnew = { t'1, .t's }

.

T"'

T"

Vi F

.

.

H -

.

) -( T = ((T

T"')

Tnew)

) -( Vf = ((Vf

V(T"'))

Vnew)

. Algorithm: Resource Allocation Optimization by Learning Automata (RAOLA)

RAOLA (T, V, H, TH, S) Inputs: T: List of Request for VMs from client applications. Spase: Set of space/ GB, DC: number of Datacenter, CPU: set of CPU / GHz. Host: number of Host, Cost: List of cost for Network, BW: the Bandwidth of Network. TH: Threshold H: Array with size TH, initial is set by 0 Output: S: List of VM allocated to T where Utility is High and Debt is low Initialize: In each state, by Learning Automaton for Resource requirement of Task get decided. The set of actions of this LA is the set of permissible VM allocated to tasks (or cloudlet). The following steps are taken 1. while T

do 2. Compute T and Vf

3. Sort T; 4. for i = 1 to n do 5. if Ti

Vf

6. Add Ti to T'" 7. fi 8. of 9. while Vf

10. for i= 1 to n' // n' n 11. X=1; 12. for j =i to n' 13. if H(Ti)

H(Tj) do 14. X=0; 15. fi 16. of 17. if X=1 do 18. A VM allocated to Ti

19. Update H(|Ti|) // as 1-3 Equation 20. Update T // as 1-4 Equation 21. Update Vf // as 2-4 Equation 22. fi 23. Of 24. end while 25. end while

.

.

--

CloudSim

.

.

)STF (

.TH

.

H

.

.

--

CloudSim

CloudSim

.

Grid

.CloudSim

.

IaaS .

User Code

CloudSim

Core Simulation Engine

(

CloudSim

.

.

CloudSim

:

Cloudlet :

.

Vm :

Time-Shared

Space-Shared.

CPU:Xeon 2.66

GH .

Memory:

32 GB .

.

(

long size = 50000; //Size of cloudlet int ram = 2024; int mips = 650; long bw = 10000; // Bound wide int pesNumber = 24; // No. CPU vmm = "Xen"; // VMM name

:

gridsimsimjav

cloudsim

cloudlet.

.

.

RAOLA

.

(

]) [(

.Makespan .

.

01020

30405060

7080

40 42 50 60 70 80 90 100 110 120 130 140 150

RAOLA

LSTR

(cloudlet

|Ti|

.

.

0

2 0 0

4 0 0

6 0 0

8 0 0

10 0 0

1 2 3 4 5 6 7 8 9 10

R A O LA

LS TR

0

5

10

15

20

25

30

40 50 70 85 95 110

130

150

RAOLA

LSTR

(

cloudlet

-

.

.RAOLA

.

.

.

[1] C. G. Renaud, O. Rana, The convergence of clouds, grids, and autonomics , Journal IEEE Internet Computing, NJ, USA, pp.9-9, 2009.

[2] J. Li, M. Qiu , Z. Mingb, G. Quan, X. Qin, Z. Gu, Online optimization for scheduling preemptable

tasks on IaaS cloud systems , Journal Parallel Distributed Computing, FL,USA, pp. 666 677, 2012.

[3] B. Sotomayor, R. Montero, I. Llorente, I. Foster, Virtual infrastructure management in private and

hybrid clouds , Journal IEEE Internet Computing, NJ, USA, pp. 14 22, 2009.

[4] S. P. Abirami, S. Ramanathan, Linear Scheduling Strategy for Resource Allocation in Cloud Environment , International Journal on Cloud Computing: Services and Architecture (IJCCSA), Vol. 2, No.1, pp.9-17, 2012.

[5] R. Szymanek, K. Kuchcinski, Task Assignment and Scheduling under Memory Constraints , In Proceeding of 26th International Conference on Euromicro, Maastricht, Netherlands, pp.84-90, 2000.

[6] A. Kaleeswaran, V. Ramasamy, P. Vivekanandan, Dynamic scheduling of data using genetic algorithm in cloud computing , International Journal of advances in engineering & technology, Vol. 5, Issue 2, pp. 327-334, 2013.

[7] C. Zhao, S. Zhang, Q. Liu, Independent Tasks Scheduling Based on Genetic Algorithm in Cloud Computing , In Proceeding of 5th International Conference on Wireless Communications, Networking and Mobile Computing, Beijing, China, pp. 1-4,2009.

[8] S. Tayal, Tasks scheduling optimization for the cloud computing systems, International Journal of advanced engineering sciences and technologies (IJAEST), Vol. 5, Issue. 2, pp. 111-115, 2011.

[9] A. jangra ,T. Saini, Scheduling Optimization in Cloud Computing , International Journal of Advanced Research in Computer Science and Software Engineering, Vol. 3, Issue 4, pp. 62-65, 2013.

[10] S. Sawant, "A Genetic Algorithm Scheduling Approach for Virtual Machine Resources in a Cloud Computing Environment", Master's Projects, Paper 198, 2011.

[11] S. Abrishami, M. Naghibzadeh, D. H. J. Epema, Deadline-constrained workflow scheduling

algorithms for Infrastructure as a Service Clouds , Future Generation Computer Systems, pp. 158 169, Vol. 29, Issue. 1, 2013.

[12] SenSu, J. Li, Q. Huang, X. Huang, K. Shuang, J. Wang, Cost-efficient task scheduling for executing large programs in the cloud , Parallel Computing , Vol.39, Issue. 5, pp. 177 188, 2013.

[13] H. Kim, W. Kim, K. Lee, G.B. Newby, Y. Kim, Experimental Study to Improve Resource

Utilization and Performance of Cloud Systems based on Grid Middleware , KSII The first International Conference on Internet (ICONI), pp. 25-30, 2009.

[14] H. Kim, W. Kim, Y. Kim, Experimental Study to Improve Resource Utilization and Performance of Cloud Systems Based on Grid Middleware , Journal of Communication and Computer, Vol.7, No.12, pp. 25-30, 2010.

[15] G. Sireesha, L.Bharathi, Exploiting dynamic resource allocation for efficient parallel data processing in the cloud , International Journal of Engineering Research & Technology (IJERT), Vol. 1, Issue 6, pp.1-6 , 2012.

[16] S. Nagadevi, P. Sharmila, An Approach Towards Efficient Dynamic Resource Allocation in Nephele , The International Journal of Computer Science & Applications (TIJCSA), Vol. 1, No. 11, pp. 67-73, 2013.

[17] M. R. Meybodi, H. Beigy, M. Taherkhani, Cellular Learning Automata and Its

Applications , Journal of Science and Technology, University of Sharif, No. 25, pp. 54-77, 2004.

1 Resource 2 Infrastructure 3 Safely 4 Scalability 5 Availability 6 One Service for several times 7 Multiple Service for one time 8 Directed execution graphs 9 system load balancing 10 Ability 11 Workflow 12 Request 13 Task 14 Shortest task first 15 Average application execution 16 Makespan 17 Debt

This document was created with Win2PDF available at http://www.daneprairie.com.The unregistered version of Win2PDF is for evaluation or non-commercial use only.