Optimal Feature Selection From VMware ESXi 5.1 Feature Set
Optimal Feature Selection From VMware ESXi 5.1 Feature Set
3, September 2014
Bangalore, India
Abstract
A study of VMware ESXi 5.1 server has been carried out to find the optimal set of parameters which
suggest usage of different resources of the server. Feature selection algorithms have been used to extract
the optimum set of parameters of the data obtained from VMware ESXi 5.1 server using esxtop command.
Multiple virtual machines (VMs) are running in the mentioned server. K-means algorithm is used for
clustering the VMs. The goodness of each cluster is determined by Davies Bouldin index and Dunn index
respectively. The best cluster is further identified by the determined indices. The features of the best cluster
are considered into a set of optimal parameters.
Index Terms
1.INTRODUCTION
Feature selection or dimensionality reduction problem for supervised or unsupervised inductive
learning basically generates a set of candidate features. These set of features can be defined mainly
in three different approaches, a) the number or size of features is specified and they optimize an
evaluation measure. b) The subset of features must satisfy some predefined restriction on
evaluation measure. c) The subset with the best size and value measured by evaluation measure.
Improvement of inductive learning is the prime objective of feature selection. The improvement
can be measured in terms of learning speed, ease of the presentation or ability of generalization. To
improve the results of inducer, the associated key factors are diminishing the volume of storage,
reduction of the noise generated by irrelevant or redundant features and elimination of useless
knowledge.
The motivation behind the work comes from selection procedure of VMs during VM migration
process or load balancing of VMware ESXi 5.1 server. If a server is overloaded with VMs then
some of the VMs should be migrated to other sever. The selection of VMs happens depending on
the load of different resources. For every resource there are many parameters or features are
present in VMware ESXi 5.1 server. The set of all parameters and their values can be observed
using ESXTOP command. Selection of the optimal set of parameters has been carried out in this
study. Higher value for particular VM for a set of parameters indicates high usage or load of the
particular resource. Depending on the types of load of different VMs; the selection of VMs can be
done, which are eligible for migration.
DOI:10.5121/ijccms.2014.3301 1
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
In the following sections Feature selection methods, Clustering methods, Cluster analysis methods,
Experiment methodology, Result and Conclusion are elaborately discussed.
Correlation-based Feature Selection (CFS) [5] comes under the category of filter algorithm. In this
type of algorithm the subset of features are chosen based on ranks. The rank is determined based
on a correlation based heuristic evaluation function. The evaluation function selects features which
are highly correlated with the class and at the same time uncorrelated with each other. The
evaluation function selects features which are highly correlated with the class and at the same time
uncorrelated with each other. Selection of feature happens mainly based on the scale to which it
predicts classes in the instance space not predicted by some other features. CFSs feature subset
evaluation function is repeated here (with slightly modified notation) for ease of reference:
B.Wrapper method
The wrapper methodology, popularized by Kohavi and John (1997), provides an efficient way to
determine the required subset of features, regardless of the machine learning algorithm. Here the
machine learning algorithm is considered as a perfect black box. In practice, one needs to define:
(i) the procedure to find the best subset among all possible variable subsets; (ii) the procedure to
evaluate the prediction performance of a learning machine, which helps to guide the search and
reaches the stopping condition; and (iii) the selection of predictor. Wrapper method performs a
search in the space of all possible subsets.
Use of machine learning algorithms makes wrapper method remarkably universal and simple. On
the other hand when the number of features are very large then this method required an exhaustive
search for O( ) number of subsets. Where n is the number of features. The complexity of the
algorithm is O( ). So the algorithms is not efficient when n is very large.
2
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
C.Filter Algorithm
Filter algorithms determine the subset of optimal features by measuring the intrinsic properties of
the data. The algorithm calculates a relevance score for each feature. Features having low
relevance score are removed. Afterwards, the subset of relevant features is used as input in
different machine learning algorithms.
RELIEF Algorithm: The RELIEF assigns different weight to every feature depending on the
relevance of the particular feature on the given context. RELIEF algorithm follows the filter
method to determine the minimal set of features. It samples instances from the training data
randomly and finds the relevance value based on near-hit and near-miss [6].
In Velayutham [7] Rough Set Theory (RST) is used as a tool to discover data dependencies and to
find the subset of relevant features.
The rough set is approximation of set by two concepts known as lower and upper approximations.
The domain objects are represented by the lower approximation. These domain objects belong to
the subset of interest with a certainty. On the other hand the upper approximation describes the
objects which are possibly belonging to subset. Approximations are made with respect to a
particular subset of features or parameters.
Considering an information system as I = (U, A d). In the information system U is the universe
with a non-empty set of finite objects. On the other hand A represents nonempty finite set of
condition attributes, and d represents the decision attribute, the corresponding function is
, where represents set of values of a. If then there is an associated
equivalence relation:
The partition of U generated by is denoted by U/P. If (x, y) IND(P) holds good, then it is
difficult to find a clearly distinguish x and y are by attributes from P. The equivalence classes of
the P in discernibility relation are denoted [x]p. Considering XU the P-lower approximation PX of
set X and P-upper approximation PX of set X can be defined as:
PX = {X ∈ U|[X]p X}
X = {X ∈ U|[X]p X}
Let P,Q A be equivalence relations over U , then positive region defined as:
PX. The positive region of the partition U/Q with respect to P, is
the set of all objects of U that can be certainly classified to blocks of the partition . U/Q by means
of P. Q depends on P in a degree denoted
Where
3
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
The Unsupervised Quick Reduct (USQR) algorithm endeavors to calculate a reduct without fully
generating all possible subsets. In Velayutham [8] the algorithm starts off with an empty set. In
each iteration one attribute is added in the set. Those attributes are selected depending on the rough
set dependency metric. This procedure continues until the value reaches its maximum value for
that dataset. The mean dependency of each attribute is calculated and best candidate is chosen:
The data set is considered as consistent if the process ends at dependency value 1; otherwise it is
inconsistent.
Chi-square method calculates the lack of information between a feature and a category. Chi-square
distribution is used for comparison with one degree of freedom to judge extremeness [9]. It is
defined as:
Here feature selection metrics (four known measures and two proposed variants), which are
functions of the following four dependency tuples:
III.CLUSTERING METHOD
K-means clustering [9] is a method of cluster creation, where the main objective is to partition n
observations into K groups/clusters in each instance belongs to the cluster with nearest mean. This
results in a partitioning of the data space into Voronoi cells. Mathematically Voronoi diagram
helps to divide a space into a number of regions. Depending on some predefined conditions set of
point is taken in consideration they are known as seeds, sites, or generators. Around each site
several points which are closet to that site form a region. The regions are called Voronoi cells. The
most popular algorithm uses an iterative technique to reach the stopping point. It is commonly
famous as K-means algorithm. In computer science community it is also known as Lloyd’s
algorithm.
4
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
A.DaviesBouldin index
In the above equation n represents the number of clusters. Cx stands for centroid of the cluster x.
is representing the average distance between each of the point in the cluster and the centroid.
is denoting the distance between two centroid of two clusters.
The clustering algorithm produces a collection of clusters having smallest Davies Bouldin index
is considered to be the best algorithm. Clusters with smallest Davies Bouldin index suggests low
intra-cluster distances and high intra-cluster similarity.
B.Dunn index
The main objective of Dunn index is to find dense and well-separated clusters. It is defined as the
ratio between the minimal inter- cluster distance to maximal intra-cluster distance. The following
formula is used to calculate Dunn index for each cluster partition.
If i and j are two clusters then distance between these two cluster is represented by d(i,j). For a
cluster K, d(k) represents
intra-cluster distance. The distance between centroids of the clusters can be considered as inter-
cluster distance represented by: d(i,j). Similarly intra-cluster distance d(k) can be measured as
distance between any two elements of cluster K. As clusters with high intra-cluster similarity and
low inter-cluster similarity are the desirable that is why cluster with high Dunn index are
preferable.
V.EXPERIMENT METHODOLOGY
The steps of the experiment are following:
Environment setup: Firstly in a physical server VMware ESXi 5.1 has been installed and twenty
six virtual machines (VM) have been installed in that.
Load selection and run the load: There are four different types (CPU intensive, Network
intensive, Memory intensive and Disk intensive) of load have been run. Each of CPU,
Network and Disk intensive loads has been run in seven different VMs, whereas Network
intensive load has been run
in rest of the five VMs.
Collection of result set: In third step data has been collected from the server using ESXTOP reply
mode. Performance of different factor has been collected like CPU, Memory, Disk, Network and
Power.
5
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
Feature selection: In the result set there are many parameters in this phase the relevant parameters
are selected using feature selection algorithms.
Use K-means algorithm: By using the clustering algorithms clusters has been created using the
subset of features resulting from the feature selection algorithms.
Comparison: In this step the clusters has been compared based on some cluster comparison
method.
TABLE I. LIST OF FEATURES FOR DIFFERENT RESOURCES
Resources Parameters
%USED, %RUN, %SYS, %WAIT, %VMWAIT, %RDY,
CPU %IDLE, %OVRLP, %CSTP, %MLMTD, %SWPWT,
SWTCH/s, MIG/s
SWCUR, SWTGT, SWR/s, SWW/s, LLSWR/s, LLSWW/s,
CPTDR, CPTTGT, ZERO, SHRD,SHRDSVD, COWH,
NHN,
NMIG, NRMEM, NLMEM, N_L, GST_ND0,
OVD_ND0,GST_ ND1, OVD_ND1, OVHDUM, OVHD,
Memory
OVHDMAX, CMTTGT, CMTTGT, CMTCHRG,
CMTPPS, CACHESZ, CACHUSD, ZIP/s, UNZIP/s,
MEMSZ, GRANT, SZTGT, TCHD, TCHD W, ACTV,
ACTVS, ACTVF, ACTVN, MCTLSZ, MCTLTGT,
MCTLMAX
CMDS/s, READS/s, WRITES/s, MBREAD/s,
Disk
MBWRTN/s, LAT/rd, LAT/wr
PKTTX/s, MbTX/s, PKTRX/s, MbRX/s, %DRPTX,
Network %DRPRX, ACTN/s, PKTTXMUL/s, PKTRXMUL/s,
PKTTXBRD/s, PKTRXBRD/s
%USED, %UTIL, %C0, %C1, %C2, %C3, %T0, %T1,
Power
%T2, %T3, %T4, %T5, %T6,%T7
VI.RESULTS
There are five different feature selection algorithms have been used: CFS method, RELIEF
method, Chi Square Method, Wrapper method, Rough set method. The feature selection methods
have been used on the data generated from the experiment. The methods select a subset of relevant
features depending on some measuring metrics defined by the method.
6
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
%SWPW, %SWPT,
SWTCH/s, SWTCH/,
MIG/s MIG/s
Disk CMDS/s, CMDS/s, CDMS/s, CMDS/s, CMDS,
LAT/r22 READS/s, READS/s, MBREAD LAT/rd,
2d WRITES/, WRITES/, /s,LAT/rd LAT/wr
MBREAD/ MBREAD/
s,LAT/rd, s,MBWRT
LAT/wr N/s,LAT/r
d,LAT/wr
Network PKTRXs, PKTTX/s, PKTTX/s, PKTTX/s, PKTR/,
MbRX/s MbTX/s, MbTX/s, MbTX/s, ACTN/
PKTRX/s, PKTRX/s, PKTRX/s, s,
MbRX/s, MbRX/s ACTN/s, PKTRX
ACTN/s, PKTRXM ,MUL/
PKTRXM UL/ s,PKTR
UL/ XBRD/
s
Memory SWCUR, SZTGT, SWCUR, GRANT, SHRDS
COWH, GRANT, ZERO, SZTGT, VD,
OVHD, MCTLMA SHRD, SWCUR, GRAN
GRANT, X, SHRDSV SHRDSV T
SZTGT TCHD W, D, D,SHRD,
MEMSZ, COWH, ZERO,
TCHD, NHN, ACTVS,
SHRDSD, NRMEM, TCHD W,
ACTVS, NLMEM, ACTVF,
MCTLSZ, N L, TCHD,
SHRD, OVHDUM ACTV,
ZERO, ,OVHD, CMTTGT,
SWCUR, OVHDMA ACTVN,
MCTLTT, X, OVHD,
ACTVF, CMTTGT, MEMSZ,
ACTV, CACHESZ MCTLM
CMTTGT, ,CACHUS AX,
ACTVN, D,MEMSZ MCTLTG
OVHDU, ,GRANT, T,
OVHDM, SZTGT, MCTLSZ,
OVHD, TCHD, OVHDM
COWH, TCHD W, AX,
CACHUS ACTV, OVHDU
D,NLME ACTVS, M,
M,NHN, ACTVF, COWH,
NRMEM, ACTVN, CACHUS
N L, MCTLMA D
CMTPPS, X
CACHESZ
Power %USED %USED, %USED, %USED, %USE
%C1, %C0, %C0, D,%UT
%USED %C1 %C1 IL,%C1
After getting the selected features K-means clustering algorithm has been applied on each of the
set. Where each setconsists of all the selected features of all resources by a particular method of
feature selection. Here number of clusteris four. To find the goodness of the clusters, the analysis
has been done by the help of Davies Bouldin index and Dunn index.
Using these two different indices the goodness of the clustering algorithm has been found out. The
cluster having maximum Davies Bouldin index and minimum Dunn index is considered to be the
best cluster and the feature selection algorithm related to that cluster is considered to be the best
algorithm among these algorithms using the data set. From this result it can be concluded that the
parameters selected are optimum parameters from which we can have a clear idea about types of
7
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) Vol.3, No.3, September 2014
load running in VMware ESXi 5.1 server. Here is the table where Davies Bouldin index and Dunn
index for different clusters have been given. Where clusters found using the parameters selected by
the respective feature selection algorithms.
From the result it can be observed that the best result in both of the case is given by the clusters
formed by the features selected by the CFS algorithm.
VII.CONCLUSION
So from the result it can be concluded that the set of parameters selected by the CFS is the best set
of parameters of VMware ESXi 5.1. So from that set of parameters we can decide the type of load
in VMware ESXi 5.1. At the same time VMs having high values of those parameters suggest the
higher usage of those resources by the VM, which can be helpful for load balancing of Virtual
Machine.
REFERENCES
[1] How Useful is Relevance? R.A. Caruana and D. Freitag, Technical report, Fall94 AAAI Symposium
on Relevance, New Orleans, 1994, AAAI.
[2] Selection of Relevant Features and Examples in Machine Learning, A.L.Blum and P.Langley, R.
Greiner and D. Subramanian, eds., Artificial Intelligence on Relevance, volume 97, pages 245271.
Artificial Intelligence, 1997.
[3] An Evaluation of Feature Selection Methods and their Application to Computer Security, J.Doak, An
Evaluation of Feature Selection Methods and their Application to Computer Security, 245271, 1992,
Technical Report CSE9218, Davis, CA: University of California, Department of Computer Science.
[4] Feature Selection for Knowledge Discovery and Data Mining, H.Liu and H.Motoda, 1998, Kluwer
Academic Publishers, London, GB.[5]Mark A.Hall, Feature Selection for Discrete and Numeric Class
Machine Learning.
[6] D. W. Yijun Sun, A relief based feature extraction algorithm, Journal of the Royal Statistical Society.
Series B (Methodological) Vol. 39, No. 1(1977), pp. 1-38, Tech. Rep., 2011.
[7] A Novel Entropy Based Unsupervised Feature Selection Algorithm Using Rough Set Theory, K.
Thangavel and C.Velayutham, Science And Management (ICAESM -2012) March 30, 31, 2012, 2012,
IEEE International Conference On Advances In Engineering.
[8] Feature selection for text categorization on imbalanced data, M. A. Hall,Sigkdd Explorations ,Volume
6, Issue 1 - Page 80, Tech. Rep., 2003.K. Elissa, “Title of paper if known,” unpublished.
[9] Extensions to the k-Means Algorithm for Clustering Large Data Setswith Categorical Values,
ZHEXUE HUANG, P1: SUD Data Mining and Knowledge Discovery KL657-03-Huang 12:59 Data
Mining and Knowledge Discovery 2, 283304 (1998) 1998, October 27, 1998, Kluwer Academic
Publishers. Manufactured in The Netherlands.