SlideShare a Scribd company logo
1 of 4
Download to read offline
Poster Paper
Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013

Virtual Machine Incorporated Sharing Model for
Resource Utilization
R Suchithra, Dr.N.Rajkumar
Faculty of Computer Application, Jain University, Bangalore, India
suchithra.suriya@gmail.com
Prof. of Department of Software Engineering
nrk29@rediffmail.com
Abstract- Cooperation and autonomy of virtual machines are
important features of virtualization where resources are
shared among virtual machines in a resource constrained
cloud environment. To facilitate resource sharing, this paper
proposes a resource sharing facility, called the VM Incorporated
RPC, that coordinates the remote procedure call (RPC) with
virtual machine based memory management. In this paper,
we present a process based resource sharing model in case of
collocated virtual machines. Evaluation of our algorithm
demonstrates that sharing of resources within collocated
virtual machines often results in utilizing almost 90% of the
resource potential when compared to inter machine sharing
which contributes a lesser amount of resource utilization.
Key Words-Virtualisation, RPC, Resource Sharing

I. INTRODUCTION
Virtualization has gained popularity because of its ability to
share hardware resources among virtual machines running
in a physical host. In a virtualized environment, the virtual
machines are placed in the same server though each virtual
machine function independently. In such an environment,
memory management is a challenging problem, as it is the
constrained resource that decides the number of jobs that
can be processed on physical servers.
The resources are generally shared by the hypervisors
by using a technique called content based page sharing [1].
However, limited work has been done to study the potential
RPC for memory sharing. The remote procedure call (RPC),
one of the well used technologies of distributed computing
is used in our approach .This has become the main focus of
our work. One of the important features of resource sharing
is that the cooperative virtual machines that share resources
are autonomous.
Our proposed approach is an efficient resource sharing
algorithm in case of collocated virtual machines that uses
our memory sharing techniques to identify VMs with high
resource sharing ability so that the resources can be efficiently
utilized. We consider memory as the resource in our work.
The current system workload is considered and the parameter
setting for virtual machines like memory, time, size of the
virtual machine etc are considered.
II. RELATED WORK
The concept of a shared virtual memory for loosely
coupled multiprocessors was first proposed in [2]. Remote
103
© 2013 ACEEE
DOI: 03.LSCS.2013.2.555

procedure call has been widely used in distributed computing
since years and lot of research has been done on RPC [3] [4].
The Sun RPC (Remote Procedure Call) protocol was
introduced in 1984 for providing support for the
implementation of distributed services which has later become
a de facto standard in designing distributed services and
implementing them [6] [7].The VMRPC model proposed in [5]
has designed a stack and heap sharing mechanism to prevent
unnecessary data copying and Serialization. The memory
sharing model in [8] has used a distributed hash table and
has considered the difference between inter node and intra
node sharing and has concluded that intra virtual machine
sharing is more effective. We complement this approach by
considering intra VM sharing for more efficient resource
utilization.
III. PROBLEM FORMULATION
Our model of a resource sharing between collocated virtual
machines is based on a set of processes that share a single
virtual address space. These are light weight processes and
they share the same address space. One of the key goals of
our approach is that processes running in one virtual machine
can execute on different virtual machine in the same server.
The performance depends on number of processes running
in each virtual machine and the resources consumed by each
process and the resource requirement of the new job. The
cost of process calling is less because we use RPC for process
calling. The proposed approach uses the advantages of RPC
for resource sharing among virtual machines.
We start with a cloud environment consists of number
of physical servers on which one or many virtual machines
are hosted.
To simplify our work, we have taken a single physical
server.

Let

,

…..

represent the virtual machines

running on the physical server and
,
represent the processes running in respective virtual
machines. Let represents the memory consumed by each
process.
Poster Paper
Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013
utilizes the resources available in a physical server to the
fullest extend so that resource
wastage can be
minimized. Our idea is simpler terms can be demonstrated as
follows: Assume
….
be the set of physical
servers where there are N numbers of virtual machines

Let x, y, z represent the memory consumed by each virtual
machine running in a physical server and
represents the
new job request.
Let’s assume all virtual machines have been allocated the
maximum memory availability that is the threshold value of
95%, then

running on each server. Let’s assume that
….

physical server and let’s say
….
be set of
process running on it. Let’s assume that the virtual machines
running on a particular server have been allocated with most
of the memory resource available in that server. Suppose if a
new job

arrives at server

nd there is no enough space

available for allocation, then the job
has to wait for
other job’s/processes running on the server to finish
execution and later it is being allocated to any of the virtual
machine based on certain criteria.

(1)
(2)
Here, represents the selected VM 1. The equation (1)
is used to find the VM 1 and the equation (2) finds the VM 2.
The below equation is used to select the process to be
called remotely from source VM to target virtual machine
using RPC.
Here we have assumed V1 and V2 are optimum VM’s to
implement RPC for resource sharing.

Instead of making the job
to wait, we will utilize the
remaining memory available in each hosted virtual machine
VM by managing the processes of all the virtual machines
and switching between processes using RPC protocols where
resource can be optimally utilized to the fullest extend and
thereby balancing the load efficiently. The proposed approach
uses a monitor tracking all the processes that are running in
each virtual machine dynamically. The status of the each
process is analyzed and used for selection criteria.
Algorithm
Let F -> Free memory Available
Let F (Pm) ->Memory Required by New Job/process
Let F (VmN) -> free memory available in nth Vm.
Source = Max{F(Vm1),F(Vm2),F(Vm3)…….F(VmN)} —(2)
Let P(s) -> switching process/Selected process that is to be
switched.
Let Se ->Server
Se = {Vm1, Vm2, Vm3……Vm N}
Where Vm -> Vm running on server
Source (Vm) = {P1, P2, P3….Pn, P(s)}
Where P -> process running on each Vm
P(s) -> Destination (Vm)
Suppose destination (Vm) = {P1…Pn}
Now destination (Vm) = {P1…..Pn, P(s)}
If F (Pm) <= Source, Then allocate Pm -> Source (Vm) where
Source (Vm) = {P1….Pn, P(s), Pm}
Else repeat (2)
Source = Max {F (Vm1), F (Vm2)…….F (Vm N)} ———— (2)
Here F (Vm3) is eliminated since the condition failed.
The proposed algorithm can be demonstrated like this:
(1).The virtual machine that has more free memory is selected
and considered as the source virtual machine.
(2).Monitor analyses all the process running in the selected
source virtual machine and identify the process that can be
switched to the destination virtual machine. Assume that
Vm3 is selected as the source virtual machine. The Monitor
analyzes
all
the
process
running
on

Then
Condition 1:
The above formulation is used to find out the process to be
called through RPC and the new job is allocated in the source
VM.
represents the remaining memory
available in VM1
(3)
If the equation (3) is true, new job is allocated in the source
VM1 and the selected process is moved to the destination
VM2.
Condition 2:

Represents the remaining memory
available in VM2
(4)
If the above condition (4) is true, new job is allocated in
the source VM2 and the selected process is moved to the
destination VM1.
IV. RPC INCORPORATED RESOURCE SHARING MODEL
The algorithm we propose using Remote Procedure call
© 2013 ACEEE
DOI: 03.LSCS.2013.2.555

be the set virtual machines running on a single

104
Poster Paper
Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013
it that is p4, p5, p6, p7. As the process p7 is in idle state, the
Monitor decides to switch the process to the destination
Virtual Machine.
Once the process is selected to be switched, the virtual
machine that can accommodate the memory requirement of
the selected process in the source virtual machine is selected
as the destination virtual machine and if the Process can
successfully run on destination virtual machine then it is
called with the help of RPC Protocol. Assume that p7 is the
process that can be switched to other virtual machine say
Vm2. If Vm2 has 4% available free memory where p7 requires
only 3% of memory, then memory can be easily allocated .So
the process p7 can be easily called remotely.
(4).The monitor checks if there will be sufficient free memory
available for the new job/process to get allocated if the
selected process is switched over to the new location. If this
condition fails then another process is selected to be
switched and Step(2) is repeated .Assume that
is the new
process waiting for resource(memory) .If process p7 is
switched on to the destination virtual machine, then the

Figure 2.RPC Based Resource Utilization

job
is allocated to Vm3 and p7 is called remotely in Vm2
where Load balancing takes place
(5).If the Condition 3 or 4 fails then the source virtual machine
is selected based on next maximum available free memory in
each virtual machine.

CONCLUSION

AND

FUTURE WORK

In this paper, we have evaluated the benefit of using RPC
protocol for improving the resource utilization of server in
cloud data centers. The primary difference of our approach
with the existing heuristics is that we have used the combined approach of resource sharing through RPC for efficient resource allocation. The experimental results show that
the resource sharing algorithm outperforms the traditional
process calling heuristics. Our research offers scope for future research in incorporating RPC for inters machine resource
sharing. We did not consider deadline of each job, completion time of process and virtual machine and cost of process
communication and many other cases that can be a topic of
research. We can extend this work to resource sharing between multiple servers using RPC and multithreading .We
plan to incorporate our model in a real cloud data center with
slight modifications.

V. EXPERIMENTS AND RESULTS
In order to demonstrate the effectiveness of the proposed
algorithm for resource sharing, we have implemented the
prototype purely in C. Here we present the preliminary results
of our RPC based resource sharing among virtual machines
obtained through simulation. In the Figures 1,2 we
demonstrate the impact of RPC protocol for resource
utilization. The experimental results prove that the algorithm
results in maximum resource utilization of servers.
We can see that the introduction of virtual machine
incorporated RPC results in an increase on resource utilization
when compared to the inter machine sharing of resources.

REFERENCES
[1]

C. Waldspurger. Memory Resource Management in VMware
ESX Server. In Proceedings of the Fifth Symposium on
Operating System Design and Implementation (OSDI’02),
December 2002.
[2] LI, K., AND HUDAK, P. Memory coherence in shared virtual
memory systems. In Proceedings of the 5th
Annual ACM
Symposium on Principles of Distributed Computing (Calgary,
Alberta, Aug. ll-13, 1986). ACM, New York, 1986, pp. 229239.
[3] M.D. Schroeder and M. Burrows. Performance of Firefly
RPC. ACM Transactions on Computer Systems, 8(1):1–17,
February 1990
[4] C.A. Thekkath and H.M. Levy. Low-latency communication
on high-speed networks. ACM Transactions on Computer
Systems, 11(2):179–203, May 1993.

Figure 1 . RPC Based Resource Utilization

© 2013 ACEEE
DOI: 03.LSCS.2013.2.555

105
Poster Paper
Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013
[5] Hao Chen, Lin Shi, Jianhua Sun, Kenli Li, Ligang He, “A Fast
RPC System for Virtual Machines,” IEEE Transactions on
Parallel and Distributed Systems, 10 Aug. 2012. IEEE
computer Society Digital Library. IEEE,Computer Society
.http://doi.ieeecomputersociety.org/10.1109/TPDS.2012.199

© 2013 ACEEE
DOI: 03.LSCS.2013.2.555

[6]

Sun Micro system. NFS: Network file system protocol
specification. RFC 1094, Sun Micro system, March 1989.
[7]
R. Ramsey. All about administering NIS+. SunSoft, 1993.
[8] XIA, L., AND DINDA, P. A case for tracking and exploiting
inter-node and intra-node memory content sharing in virtualized
large-scale parallel systems. In VTDC (June 2012).

106

More Related Content

What's hot

Z02417321735
Z02417321735Z02417321735
Z02417321735IJMER
 
Resource Management for Computer Operating Systems
Resource Management for Computer Operating SystemsResource Management for Computer Operating Systems
Resource Management for Computer Operating Systemsinside-BigData.com
 
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in Cloud
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in CloudIRJET- Dynamic Resource Allocation of Heterogeneous Workload in Cloud
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in CloudIRJET Journal
 
Communication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed SystemsCommunication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed Systemsguest61205606
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemDHIVYADEVAKI
 
Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Shyam Hajare
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computingbutest
 
Process Migration in Heterogeneous Systems
Process Migration in Heterogeneous SystemsProcess Migration in Heterogeneous Systems
Process Migration in Heterogeneous Systemsijsrd.com
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System ManagementIbrahim Amer
 

What's hot (20)

10. resource management
10. resource management10. resource management
10. resource management
 
Z02417321735
Z02417321735Z02417321735
Z02417321735
 
Ns2
Ns2Ns2
Ns2
 
Ns2
Ns2Ns2
Ns2
 
Resource Management for Computer Operating Systems
Resource Management for Computer Operating SystemsResource Management for Computer Operating Systems
Resource Management for Computer Operating Systems
 
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in Cloud
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in CloudIRJET- Dynamic Resource Allocation of Heterogeneous Workload in Cloud
IRJET- Dynamic Resource Allocation of Heterogeneous Workload in Cloud
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
 
Week3.1
Week3.1Week3.1
Week3.1
 
Shoaib
ShoaibShoaib
Shoaib
 
Clock synchronization
Clock synchronizationClock synchronization
Clock synchronization
 
Communication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed SystemsCommunication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed Systems
 
Stream oriented communication
Stream oriented communicationStream oriented communication
Stream oriented communication
 
Chap4 slides
Chap4 slidesChap4 slides
Chap4 slides
 
Ns2
Ns2Ns2
Ns2
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed System
 
Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud
 
Process Management-Process Migration
Process Management-Process MigrationProcess Management-Process Migration
Process Management-Process Migration
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Process Migration in Heterogeneous Systems
Process Migration in Heterogeneous SystemsProcess Migration in Heterogeneous Systems
Process Migration in Heterogeneous Systems
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
 

Similar to Virtual Machine Incorporated Sharing Model for Resource Utilization

Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...ijceronline
 
Survey on virtual machine placement techniques in cloud computing environment
Survey on virtual machine placement techniques in cloud computing environmentSurvey on virtual machine placement techniques in cloud computing environment
Survey on virtual machine placement techniques in cloud computing environmentijccsa
 
dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...Kumar Goud
 
Virtualization Technology using Virtual Machines for Cloud Computing
Virtualization Technology using Virtual Machines for Cloud ComputingVirtualization Technology using Virtual Machines for Cloud Computing
Virtualization Technology using Virtual Machines for Cloud ComputingIJMER
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...idescitation
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containersprashant desai
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Surveyijsrd.com
 
A Virtual Machine Resource Management Method with Millisecond Precision
A Virtual Machine Resource Management Method with Millisecond PrecisionA Virtual Machine Resource Management Method with Millisecond Precision
A Virtual Machine Resource Management Method with Millisecond PrecisionIRJET Journal
 
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSusheel Thakur
 
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...ijcsit
 
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Susheel Thakur
 
Conference Paper: Cross-platform estimation of Network Function Performance
Conference Paper: Cross-platform estimation of Network Function PerformanceConference Paper: Cross-platform estimation of Network Function Performance
Conference Paper: Cross-platform estimation of Network Function PerformanceEricsson
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...Souvik Pal
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...acijjournal
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmenteSAT Publishing House
 
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINES
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINESDPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINES
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINESIJCNCJournal
 

Similar to Virtual Machine Incorporated Sharing Model for Resource Utilization (20)

Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
 
Survey on virtual machine placement techniques in cloud computing environment
Survey on virtual machine placement techniques in cloud computing environmentSurvey on virtual machine placement techniques in cloud computing environment
Survey on virtual machine placement techniques in cloud computing environment
 
dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...
 
A 01
A 01A 01
A 01
 
Virtualization Technology using Virtual Machines for Cloud Computing
Virtualization Technology using Virtual Machines for Cloud ComputingVirtualization Technology using Virtual Machines for Cloud Computing
Virtualization Technology using Virtual Machines for Cloud Computing
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containers
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
 
A Virtual Machine Resource Management Method with Millisecond Precision
A Virtual Machine Resource Management Method with Millisecond PrecisionA Virtual Machine Resource Management Method with Millisecond Precision
A Virtual Machine Resource Management Method with Millisecond Precision
 
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
 
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...
Distributed Cloud Computing Environment Enhanced With Capabilities For Wide-A...
 
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
 
20120140504025
2012014050402520120140504025
20120140504025
 
N1803048386
N1803048386N1803048386
N1803048386
 
Conference Paper: Cross-platform estimation of Network Function Performance
Conference Paper: Cross-platform estimation of Network Function PerformanceConference Paper: Cross-platform estimation of Network Function Performance
Conference Paper: Cross-platform estimation of Network Function Performance
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environment
 
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINES
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINESDPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINES
DPI-BASED CONGESTION CONTROL METHOD FOR SERVERS AND NETWORK LINES
 
G216063
G216063G216063
G216063
 

More from idescitation (20)

65 113-121
65 113-12165 113-121
65 113-121
 
69 122-128
69 122-12869 122-128
69 122-128
 
71 338-347
71 338-34771 338-347
71 338-347
 
72 129-135
72 129-13572 129-135
72 129-135
 
74 136-143
74 136-14374 136-143
74 136-143
 
80 152-157
80 152-15780 152-157
80 152-157
 
82 348-355
82 348-35582 348-355
82 348-355
 
84 11-21
84 11-2184 11-21
84 11-21
 
62 328-337
62 328-33762 328-337
62 328-337
 
46 102-112
46 102-11246 102-112
46 102-112
 
47 292-298
47 292-29847 292-298
47 292-298
 
49 299-305
49 299-30549 299-305
49 299-305
 
57 306-311
57 306-31157 306-311
57 306-311
 
60 312-318
60 312-31860 312-318
60 312-318
 
5 1-10
5 1-105 1-10
5 1-10
 
11 69-81
11 69-8111 69-81
11 69-81
 
14 284-291
14 284-29114 284-291
14 284-291
 
15 82-87
15 82-8715 82-87
15 82-87
 
29 88-96
29 88-9629 88-96
29 88-96
 
43 97-101
43 97-10143 97-101
43 97-101
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 

Virtual Machine Incorporated Sharing Model for Resource Utilization

  • 1. Poster Paper Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013 Virtual Machine Incorporated Sharing Model for Resource Utilization R Suchithra, Dr.N.Rajkumar Faculty of Computer Application, Jain University, Bangalore, India suchithra.suriya@gmail.com Prof. of Department of Software Engineering nrk29@rediffmail.com Abstract- Cooperation and autonomy of virtual machines are important features of virtualization where resources are shared among virtual machines in a resource constrained cloud environment. To facilitate resource sharing, this paper proposes a resource sharing facility, called the VM Incorporated RPC, that coordinates the remote procedure call (RPC) with virtual machine based memory management. In this paper, we present a process based resource sharing model in case of collocated virtual machines. Evaluation of our algorithm demonstrates that sharing of resources within collocated virtual machines often results in utilizing almost 90% of the resource potential when compared to inter machine sharing which contributes a lesser amount of resource utilization. Key Words-Virtualisation, RPC, Resource Sharing I. INTRODUCTION Virtualization has gained popularity because of its ability to share hardware resources among virtual machines running in a physical host. In a virtualized environment, the virtual machines are placed in the same server though each virtual machine function independently. In such an environment, memory management is a challenging problem, as it is the constrained resource that decides the number of jobs that can be processed on physical servers. The resources are generally shared by the hypervisors by using a technique called content based page sharing [1]. However, limited work has been done to study the potential RPC for memory sharing. The remote procedure call (RPC), one of the well used technologies of distributed computing is used in our approach .This has become the main focus of our work. One of the important features of resource sharing is that the cooperative virtual machines that share resources are autonomous. Our proposed approach is an efficient resource sharing algorithm in case of collocated virtual machines that uses our memory sharing techniques to identify VMs with high resource sharing ability so that the resources can be efficiently utilized. We consider memory as the resource in our work. The current system workload is considered and the parameter setting for virtual machines like memory, time, size of the virtual machine etc are considered. II. RELATED WORK The concept of a shared virtual memory for loosely coupled multiprocessors was first proposed in [2]. Remote 103 © 2013 ACEEE DOI: 03.LSCS.2013.2.555 procedure call has been widely used in distributed computing since years and lot of research has been done on RPC [3] [4]. The Sun RPC (Remote Procedure Call) protocol was introduced in 1984 for providing support for the implementation of distributed services which has later become a de facto standard in designing distributed services and implementing them [6] [7].The VMRPC model proposed in [5] has designed a stack and heap sharing mechanism to prevent unnecessary data copying and Serialization. The memory sharing model in [8] has used a distributed hash table and has considered the difference between inter node and intra node sharing and has concluded that intra virtual machine sharing is more effective. We complement this approach by considering intra VM sharing for more efficient resource utilization. III. PROBLEM FORMULATION Our model of a resource sharing between collocated virtual machines is based on a set of processes that share a single virtual address space. These are light weight processes and they share the same address space. One of the key goals of our approach is that processes running in one virtual machine can execute on different virtual machine in the same server. The performance depends on number of processes running in each virtual machine and the resources consumed by each process and the resource requirement of the new job. The cost of process calling is less because we use RPC for process calling. The proposed approach uses the advantages of RPC for resource sharing among virtual machines. We start with a cloud environment consists of number of physical servers on which one or many virtual machines are hosted. To simplify our work, we have taken a single physical server. Let , ….. represent the virtual machines running on the physical server and , represent the processes running in respective virtual machines. Let represents the memory consumed by each process.
  • 2. Poster Paper Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013 utilizes the resources available in a physical server to the fullest extend so that resource wastage can be minimized. Our idea is simpler terms can be demonstrated as follows: Assume …. be the set of physical servers where there are N numbers of virtual machines Let x, y, z represent the memory consumed by each virtual machine running in a physical server and represents the new job request. Let’s assume all virtual machines have been allocated the maximum memory availability that is the threshold value of 95%, then running on each server. Let’s assume that …. physical server and let’s say …. be set of process running on it. Let’s assume that the virtual machines running on a particular server have been allocated with most of the memory resource available in that server. Suppose if a new job arrives at server nd there is no enough space available for allocation, then the job has to wait for other job’s/processes running on the server to finish execution and later it is being allocated to any of the virtual machine based on certain criteria. (1) (2) Here, represents the selected VM 1. The equation (1) is used to find the VM 1 and the equation (2) finds the VM 2. The below equation is used to select the process to be called remotely from source VM to target virtual machine using RPC. Here we have assumed V1 and V2 are optimum VM’s to implement RPC for resource sharing. Instead of making the job to wait, we will utilize the remaining memory available in each hosted virtual machine VM by managing the processes of all the virtual machines and switching between processes using RPC protocols where resource can be optimally utilized to the fullest extend and thereby balancing the load efficiently. The proposed approach uses a monitor tracking all the processes that are running in each virtual machine dynamically. The status of the each process is analyzed and used for selection criteria. Algorithm Let F -> Free memory Available Let F (Pm) ->Memory Required by New Job/process Let F (VmN) -> free memory available in nth Vm. Source = Max{F(Vm1),F(Vm2),F(Vm3)…….F(VmN)} —(2) Let P(s) -> switching process/Selected process that is to be switched. Let Se ->Server Se = {Vm1, Vm2, Vm3……Vm N} Where Vm -> Vm running on server Source (Vm) = {P1, P2, P3….Pn, P(s)} Where P -> process running on each Vm P(s) -> Destination (Vm) Suppose destination (Vm) = {P1…Pn} Now destination (Vm) = {P1…..Pn, P(s)} If F (Pm) <= Source, Then allocate Pm -> Source (Vm) where Source (Vm) = {P1….Pn, P(s), Pm} Else repeat (2) Source = Max {F (Vm1), F (Vm2)…….F (Vm N)} ———— (2) Here F (Vm3) is eliminated since the condition failed. The proposed algorithm can be demonstrated like this: (1).The virtual machine that has more free memory is selected and considered as the source virtual machine. (2).Monitor analyses all the process running in the selected source virtual machine and identify the process that can be switched to the destination virtual machine. Assume that Vm3 is selected as the source virtual machine. The Monitor analyzes all the process running on Then Condition 1: The above formulation is used to find out the process to be called through RPC and the new job is allocated in the source VM. represents the remaining memory available in VM1 (3) If the equation (3) is true, new job is allocated in the source VM1 and the selected process is moved to the destination VM2. Condition 2: Represents the remaining memory available in VM2 (4) If the above condition (4) is true, new job is allocated in the source VM2 and the selected process is moved to the destination VM1. IV. RPC INCORPORATED RESOURCE SHARING MODEL The algorithm we propose using Remote Procedure call © 2013 ACEEE DOI: 03.LSCS.2013.2.555 be the set virtual machines running on a single 104
  • 3. Poster Paper Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013 it that is p4, p5, p6, p7. As the process p7 is in idle state, the Monitor decides to switch the process to the destination Virtual Machine. Once the process is selected to be switched, the virtual machine that can accommodate the memory requirement of the selected process in the source virtual machine is selected as the destination virtual machine and if the Process can successfully run on destination virtual machine then it is called with the help of RPC Protocol. Assume that p7 is the process that can be switched to other virtual machine say Vm2. If Vm2 has 4% available free memory where p7 requires only 3% of memory, then memory can be easily allocated .So the process p7 can be easily called remotely. (4).The monitor checks if there will be sufficient free memory available for the new job/process to get allocated if the selected process is switched over to the new location. If this condition fails then another process is selected to be switched and Step(2) is repeated .Assume that is the new process waiting for resource(memory) .If process p7 is switched on to the destination virtual machine, then the Figure 2.RPC Based Resource Utilization job is allocated to Vm3 and p7 is called remotely in Vm2 where Load balancing takes place (5).If the Condition 3 or 4 fails then the source virtual machine is selected based on next maximum available free memory in each virtual machine. CONCLUSION AND FUTURE WORK In this paper, we have evaluated the benefit of using RPC protocol for improving the resource utilization of server in cloud data centers. The primary difference of our approach with the existing heuristics is that we have used the combined approach of resource sharing through RPC for efficient resource allocation. The experimental results show that the resource sharing algorithm outperforms the traditional process calling heuristics. Our research offers scope for future research in incorporating RPC for inters machine resource sharing. We did not consider deadline of each job, completion time of process and virtual machine and cost of process communication and many other cases that can be a topic of research. We can extend this work to resource sharing between multiple servers using RPC and multithreading .We plan to incorporate our model in a real cloud data center with slight modifications. V. EXPERIMENTS AND RESULTS In order to demonstrate the effectiveness of the proposed algorithm for resource sharing, we have implemented the prototype purely in C. Here we present the preliminary results of our RPC based resource sharing among virtual machines obtained through simulation. In the Figures 1,2 we demonstrate the impact of RPC protocol for resource utilization. The experimental results prove that the algorithm results in maximum resource utilization of servers. We can see that the introduction of virtual machine incorporated RPC results in an increase on resource utilization when compared to the inter machine sharing of resources. REFERENCES [1] C. Waldspurger. Memory Resource Management in VMware ESX Server. In Proceedings of the Fifth Symposium on Operating System Design and Implementation (OSDI’02), December 2002. [2] LI, K., AND HUDAK, P. Memory coherence in shared virtual memory systems. In Proceedings of the 5th Annual ACM Symposium on Principles of Distributed Computing (Calgary, Alberta, Aug. ll-13, 1986). ACM, New York, 1986, pp. 229239. [3] M.D. Schroeder and M. Burrows. Performance of Firefly RPC. ACM Transactions on Computer Systems, 8(1):1–17, February 1990 [4] C.A. Thekkath and H.M. Levy. Low-latency communication on high-speed networks. ACM Transactions on Computer Systems, 11(2):179–203, May 1993. Figure 1 . RPC Based Resource Utilization © 2013 ACEEE DOI: 03.LSCS.2013.2.555 105
  • 4. Poster Paper Proc. of Int. Conf. on Advances in Information Technology and Mobile Communication 2013 [5] Hao Chen, Lin Shi, Jianhua Sun, Kenli Li, Ligang He, “A Fast RPC System for Virtual Machines,” IEEE Transactions on Parallel and Distributed Systems, 10 Aug. 2012. IEEE computer Society Digital Library. IEEE,Computer Society .http://doi.ieeecomputersociety.org/10.1109/TPDS.2012.199 © 2013 ACEEE DOI: 03.LSCS.2013.2.555 [6] Sun Micro system. NFS: Network file system protocol specification. RFC 1094, Sun Micro system, March 1989. [7] R. Ramsey. All about administering NIS+. SunSoft, 1993. [8] XIA, L., AND DINDA, P. A case for tracking and exploiting inter-node and intra-node memory content sharing in virtualized large-scale parallel systems. In VTDC (June 2012). 106