POWER CONSUMPTION-BASED AND TRANSMISSION
RATE-BASED ALGORITHMS IN COMMUNICATION-BASED
NETWORK APPLICATIONS
Tomoya Enokido
Faculty of Bussiness Administration, Rissho University, Tokyo, Japan
Ailixier Aikebaier, and Makoto Takizawa
Department of Computers and Information Science, Seikei University, Musashino-shi, Tokyo, Japan
Keywords:
Green IT, Power consumption, Communication-based systems, Power Consumption-Based (PCB) algorithm,
Transmission Rate-Based (TRB) algorithm.
Abstract: In order to realize eco societies, we have to reduce the total electrical power consumption in information
systems. We classify network applications into transaction and communication based applications. CPU
resources of servers are mainly consumed in the transaction based ones. In this paper, we consider com-
munication based applications where a server transmits a large volume of data to a client like file transfer
protocol (FTP). We discuss a power consumption model for communication-based applications. In the model,
the total power consumption of a server depends on the total transmission rate and number of clients where
the server concurrently transmits files. A client has to select a server in a set of possible servers, each of
which holds a le, so that the power consumption of the server is reduced. We newly discuss a pair of PCB
(power consumption-based) and TRB (transmission rate-based) algorithms to select a server. In the evalua-
tion, we show the total power consumption can be reduced by the PCB and TRB algorithms compared with
the traditional round-robin (RR) algorithm and PCB is more practical than TRB.
1 INTRODUCTION
In the green IT technologies (Green IT, 2010), the to-
tal electric power consumption of computers and net-
works has to be reduced. Various types of hardware
technologies like low-power consumption CPUs and
storages are now being developed. A cloud comput-
ing system (Grossman, 2009; Zhang and Zhou, 2009)
is composed of a huge number of server computers
like Google file systems (Ghemawat et al., 2003).
Biancini et al. (Bianchini and Rajamony, 2004) dis-
cuss how to reduce the power consumption of a clus-
ter of homogeneous servers by turning off servers
which are not required for executing a collection of
web requests. Various types of algorithms to find re-
quired number of servers in homogeneous and het-
erogeneous servers are discussed (Heath et al., 2005;
Rajamani and Lefurgy, 2003; Aikebaier et al., 2009;
Yang et al., 2009b). In wireless sensor networks
(Akyildiz and Kasimoglu, 2004; Yang et al., 2009a),
routing algorithms (Zhao et al., 2010) to reduce the
power consumption of the battery in a sensor node
are discussed.
There are transaction-based and communication-
based network applications. We discussed how to
reduce the power consumption in transaction-based
applications like Web applications (Aikebaier et al.,
2009; Enokido et al., 2010b; Enokido et al., 2010a;
Yang et al., 2009b). Clients issue Web requests to
servers. Then the servers encode multimedia con-
tents and send replies with the encoded contents to the
clients. We assume the communication bandwidth is
infinite, i.e. the communication overhead is so small
as to be neglected compared with the processing over-
head of servers, mainly for encoding multimedia ob-
jects. In another type of application like the file trans-
fer protocol (FTP), a large volume of data is trans-
mitted by a server to a client. According to our ex-
periments, the power consumption of the server to
transmit a file to a client depends on the transmis-
sion rate of the server. First, a client finds a server
which holds a file so that not only the time constraints
13
Enokido T., Aikebaier A. and Takizawa M. (2010).
POWER CONSUMPTION-BASED AND TRANSMISSION RATE-BASED ALGORITHMS IN COMMUNICATION-BASED NETWORK APPLICATIONS.
In Proceedings of the Multi-Conference on Innovative Developments in ICT, pages 13-22
DOI: 10.5220/0003034800130022
Copyright
c
SciTePress
are satisfied but also the power consumption of the
server is reduced. In this paper, we discuss a power
consumption model for transmitting files based on the
experimental results. We newly discuss a pair of PCB
(power consumption-based) and TRB (transmission
rate-based) algorithms to select a server in a set of
servers so that the total power consumption can be
reduced. We evaluate the PCB and TRB algorithms
in terms of the total power consumption and the to-
tal transmission time compared with the traditional
round-robin (RR) algorithm (Weighted Least Connec-
tion (WLC), 1998; Weighted Round Robin (WRR),
1998). We show the total power consumption and
the total transmission time can be reduced in the PCB
and TRB algorithms. The TRB algorithm is based
on the transmission rate but it is difficult to estimate
the bandwidth since the transmission rate is in reality
changed in the networks. Hence, the PCB algorithm
is more useful than the others since the transmission
rate is not considered.
In section 2, we discuss a model of file transmis-
sion. In section 3, we show the experimental results
of the total power consumption in file transfer ap-
plications and then discuss the power consumption
model. In section 4, we discuss how to select a server
for downloading a file to reduce the power consump-
tion. In section 5, we evaluate the PCB and TRB al-
gorithms compared with the RR algorithm.
2 FILE TRANSFER MODEL
Suppose there are a collection S = {s
1
, ..., s
n
} of
servers, where each server s
t
holds a full replica of
a file f. A client c
s
selects one server s
t
in the server
set S and issues a transmission request to the server s
t
.
Then, the server s
t
transmits the file f to the client c
s
as shown in Figure 1.
server client
f
s
t
c
s
f
Figure 1: File transfer model.
Suppose a server s
t
concurrently sends files f
1
, ...,
f
m
to a set C
t
of clients c
1
, ..., c
m
at rates tr
t1
(τ), ...,
tr
tm
(τ) (m 1), respectively, at time τ. b
ts
shows the
maximum bandwidth [bps] between a server s
t
and a
client c
s
. Let Maxtr
t
be the maximum transmission
rate [bps] of the server s
t
( b
ts
) which is smaller
than the bandwidth b
ts
of the network. Here, the to-
tal transmission rate tr
t
(τ) of the server s
t
at time τ
is given as tr
t
(τ) = tr
t1
(τ) + ··· + tr
tm
(τ). Here, 0
tr
t
(τ) Maxtr
t
.
Each client c
s
receives messages at receipt rate
rr
s
(τ) at time τ. Let Maxrr
s
indicate the maximum
receipt rate of the client c
s
. Here, tr
ts
(τ) Maxrr
s
.
We assume each client c
s
receives a file from at most
one server at rate Maxrr
s
(= rr
s
(τ)). The server s
t
al-
locates each client c
s
with transmission rate tr
ts
(τ) so
that tr
ts
(τ) Maxrr
s
at time τ.
Let T
ts
be the total transmission time of a file
f
s
from a server s
t
to a client c
s
. If the server
s
t
sends files to other clients concurrently with the
client c
s
, the transmission time T
ts
is increased. Let
minT
ts
show the minimum transmission time | f
s
| /
min(Maxrr
s
, Maxtr
t
) [sec] of a file f
s
from a server
s
t
to a client c
s
where | f
s
| indicates the size [bit] of
the file f
s
. T
ts
minT
ts
.
The average transmission rate (ATR) A
ts
of the
server s
t
to the client c
s
is defined as 1 / T
ts
[1/sec].
Let maxA
ts
be 1 / minT
ts
. maxA
s
= max(maxA
1s
, ...,
maxA
ns
) and minA
s
= min(maxA
1s
, ..., maxA
ns
).
Let tr
ts
(τ) show the transmission rate of a file f
s
from the server s
t
to the client c
s
at time τ. Sup-
pose the server s
t
starts and ends transmitting a file
f
s
to the client c
s
at time st and et, respectively. Here,
R
et
st
tr
ts
(τ) dτ = | f
s
| and the transmission time T
ts
is et
- st. If the server s
t
sends only the file f
s
to the client
c
s
at time τ, tr
ts
(τ) = min(Maxtr
t
, Maxrr
s
) [bps].
The laxity l
fts
(τ) is |f
s
| -
R
et
τ
tr
ts
(x) dx [bit] at time
τ, i.e. how many bits of a file f
s
the server s
t
still has
to transmit to the client c
s
at time τ.
There are types of computers with respect to the
normalized transmission rate (NTR). Let F
t
(τ) be a set
of current files which the server s
t
is transmitting to
clients at time τ. LetC
t
(τ) be a set of clients c
t1
, ..., c
tm
to which the server s
t
transmits files f
1
, ..., f
m
in F
t
(τ),
respectively, at time τ. First, we consider a model
where a server s
t
satisfies the following properties:
[Server-bound Model]. If Maxrr
1
+ · ·· + Maxrr
m
Maxtr
t
, for every time τ,
c
ts
C
t
(τ)
A
ts
(τ) = d(τ) ·
maxA
t
.
Here, d(τ) ( 1) shows the degradation factor
γ
(1−|C
t
(τ)|)
(0 < γ 1) at time t. Here, the effective
transmission rate of the server s
t
is d(τ)·maxA
t
. The
more number of clients a server concurrently sends
files, the smaller effective transmission rate.
Let us consider three files f
1
, f
2
, and f
3
which a
server s
t
sends to clients c
1
, c
2
, and c
3
as an example.
First, suppose that the server s
t
serially sends the files
f
1
, f
2
, and f
3
to the clients c
1
, c
2
, and c
3
, i.e. et
t1
= st
t2
and et
t2
= st
t3
as shown in Figure 2. Here, the
transmission time T
t
is et
t3
- st
t1
= minT
t f
1
+ minT
t f
2
+
minT
t f
3
. Next, suppose the server s
t
starts transmitting
three files f
1
, f
2
, and f
3
at time st and terminates at
time et as shown in Figure 2 (2). Here, since three
INNOV 2010 - International Multi-Conference on Innovative Developments in ICT
14
time τ
maxA
t
f
1
f
2
f
3
time τ
f
1
f
2
f
3
(1) serial transmission.
(2) parallel transmission.
minT
3
tf
minT
2
tf
minT
1
tf
minT
3
tf
minT
2
tf
minT
1
tf
(
)+ +
maxA
t
γ
-2
Figure 2: Transmission time.
files are concurrently transmitted, C
t
(t) = 3 and γ
2
T
t
= minT
t f
1
+ minT
t f
2
+ minT
t f
3
. For γ = 0.98, it takes
about 1.4% longer time than the serial transmission.
On the other hand, we consider another environ-
ment where a client c
s
cannot receive a file from a
server s
t
at rate Maxtr
t
, i.e. Maxrr
s
< Maxtr
t
. Hence,
the transmission rate tr
ts
of the server s
t
to a client c
s
is Maxrr
s
.
[Client-bound model]. If Maxrr
1
+ ··· + Maxrr
m
Maxtr
t
,
c
ts
C
t
(τ)
A
ts
(τ) = maxA
t
· (Maxrr
1
+ ··· +
Maxrr
m
) / Maxtr
t
.
Even if every client c
ts
receives a file at maximum
rate Maxrr
s
, the effective transmission rate is not de-
graded.
3 EXPERIMENTAL RESULTS
AND POWER CONSUMPTION
MODEL
3.1 Environment
We measure how much electric power a computer
spends to transfer files to other computers by using
the powermeter Watts up?.Net (Watts up? .Net, 2009)
where the power consumption of each computer can
be measured every one second. As shown in Figure 3,
a pair of server computers s
1
and s
2
are interconnected
with a pair of client computers c
1
and c
2
in 1Gbps net-
works. Table 1 summarizes the specifications of the
servers s
1
and s
2
. The server s
1
is equipped with a
one-core CPU. The server s
2
is composed of a pair
of two-core CPUs. That is, the bandwidth b
ts
from a
server s
t
to a client c
s
is 1Gbps (t = 1, 2). Each client
c
s
downloads a file f from one of the servers. The
size of the file f is 43,051,806 bytes long. Here, we
measure the total power consumption of the servers s
1
and s
2
.
For each server s
t
, we consider two types of ex-
perimentations, one-client (1C
t
) and two-client (2C
t
)
environments (t = 1, 2). In the 1C
t
environment, one
client, say c
1
downloads the file f from the server s
t
.
In the 2C
t
environment, a pair of the clients c
1
and c
2
concurrently download the file f from the server s
t
.
1Gbps
1Gbit
switch
servers
1Gbps
1
1Gbps
1Gbit
switch
1Gbps
clients
1Gbps
f
f
c
2
c
1
s
2
s
: meter.
Figure 3: Experimental environment.
3.2 Power Consumption
A server s
t
consumes the electric power to transmit
files to clients while clients consume less amount of
electric power. The power consumption rate shows
the electric power consumption for a second [W/sec].
In the 1C
1
environment, the server s
1
transmits a file
f to one client, say c
1
at rate tr
11
. Here, the server
s
1
is composed of one one-core CPU. The maximum
transmission rate Maxtr
1
is 160 [Mbps] in the net-
work of bandwidth b
11
= 1G [bps]. In the 2C
1
en-
vironment, the server s
1
concurrently transmits the
file f to a couple of clients c
1
and c
2
. Here, tr
1
=
tr
11
+ tr
12
. Figure 4 shows the power consumption
rate of the server s
1
for the total transmission rate
tr
1
. At the higher rate tr
1
the server s
1
transmits the
file f, the larger amount of power consumption the
server s
1
consumes. We obtain the approximated for-
mula PC
1
(tr) to show the power consumption rate of a
server s
1
for total transmission rate tr [Mbps] by using
the least-squares method to the experimental results.
In Figure 4, the bold dotted line shows the approxi-
mated power consumption of the server s
1
where one
client downloads the file f from the server s
1
. The
dotted line shows the approximated power consump-
tion of the server s
1
where a pair of clients c
1
and c
2
concurrently download the file f from the server s
1
.
Let PC
1
1
(tr) and PC
2
1
(tr) be the power consumption
rates in the 1C
1
and 2C
1
environments, respectively,
at total rate tr.
1C
1
: PC
1
1
(tr) = 0.11tr + 4.15 [W/sec].
2C
1
: PC
2
1
(tr) = 0.12tr + 4.43 [W/sec].
In a single-CPU server s
t
, the power consumption
rate PC
t
(tr) is proportional to the total transmission
rate tr.
Next, we consider another server s
2
which is com-
posed of a pair of two-core CPUs. Here, the maxi-
POWER CONSUMPTION-BASED AND TRANSMISSION RATE-BASED ALGORITHMS IN
COMMUNICATION-BASED NETWORK APPLICATIONS
15
Table 1: Servers.
Server s
1
s
2
Number of CPUs 1 2
Number of cores / CPU 1 2
CPU AMD Athlon 1648B (2.7GHz) AMD Opteron 270 (2GHz)
Memory 4,096MB 4096MB
DISK 150GB 7200rpm 74GB 10000rpm x 2 RAID1
NIC Broadcom Gbit Ether (1Gbps) Nvidia Ether Controler (1Gbps)
5
10
15
20
25
30
0 20 40 60 80 100 120 140 160
Power consumption rate [W/sec].
Total transmission rate tr [Mbps].
1 CPU (1 core) and 1C
1 CPU (1 core) and 2C
0.11tr+4.15
0.12tr+4.43
1
1
Figure 4: One-CPU : Power consumption rate [W/sec].
mum transmission rate Maxtr
2
of the server s
2
is 450
[Mbps]. We measure the power consumption rate for
the total transmission rate tr
2
for 1C
2
and 2C
2
. Fig-
ure 5 shows the power consumption rate [W/sec] of
the server s
2
for the total transmission rate tr. Follow-
ing Figure 5, the power consumption rate of the server
s
2
also depends on the total transmission rate tr
2
like
1C
1
. At the higher rate the server s
2
transmits, the
larger power consumption s
2
consumes. The approx-
imated formulas PC
1
2
(tr) and PC
2
2
(tr) of the power
consumption rate of the server s
2
for total transmis-
sion rate tr [Mbps] are given in the 1C
2
and 2C
2
en-
vironments as follows:
1C
2
: PC
1
2
(tr) = 0.02tr + 3.02 [W/sec].
2C
2
: PC
2
2
(tr) = 0.03tr + 3.34 [W/sec].
The increase rate of the power consumption of the
server s
2
in 2C
2
is about 1.5 times larger than 1C
2
.
Compared with the one-CPU case 1C
t
, the power con-
sumption rate is not so much increased for the in-
crease of transmission rate in the two-CPU case 2C
t
.
Following the experiments, the power consump-
tion rate PC
t
(tr) of a server s
t
is lineally increased for
transmission rate tr (0 tr Maxtr
t
) as follows:
PC
t
(tr) = β
t
(m) · α
t
·tr+ minE
t
. (1)
Here, α
t
is the power consumption to transmit one
Mbits [W/Mb] for the 1C
t
environment. α
t
depends
on a server type s
t
. As shown in Figures 4 and 5, the
more number of clients, the more amount of electric
power is consumed. β
t
(m) shows how much power
5
10
15
20
25
30
0 50 100 150 200 250 300 350 400 450
Power consumption rate [W/sec].
Total transmission rate tr [Mbps].
2 CPU (4 core) and 1C
2 CPU (4 core) and 2C
0.02tr+3.02
0.03tr+3.34
2
2
Figure 5: Two-CPU : Power consumption rate [W/sec].
consumption is increased for the number m of clients,
β
t
(m) 1 and β
t
(m) β
t
(m - 1). There is a fixed
point maxm
t
such that β
t
(maxm
t
- 1) β
t
(maxm
t
) =
β
t
(maxm
t
+ h) for h > 0. minE
t
gives the minimum
power consumption rate of the server s
t
where no file
is transmitted. β
t
(maxm
t
)·α
t
·Maxtr
t
+ minE
t
gives
the maximum power consumption rate maxE
t
of the
server s
t
.
Power consumption rate [W/sec]
Total transmission rate tr [Mbps]
0
minE
Maxtr
maxE
t
t
t
PC (tr) = β (m) α tr + minE
t t t t
Figure 6: Power consumption rate of server s
t
[W/sec].
3.3 Power Consumption Model
We would like to discuss how much electrical power
a server s
t
consumes to transfer a file to a client c
s
.
Suppose there are n ( 1) servers s
1
,... ,s
n
, each of
which holds a file f. Let E
t
(τ) show the electric power
consumption rate of a server s
t
at time τ [W/sec] (τ =
1,...,n). maxE
t
and minE
t
indicate the maximum and
INNOV 2010 - International Multi-Conference on Innovative Developments in ICT
16
minimum electric power consumption of a server s
t
,
respectively. Here, minE
t
shows the power consump-
tion of a server s
t
which is in idle state. That is, minE
t
E
t
(τ) maxE
t
. maxE and minE show max(maxE
1
,
..., maxE
n
) and min(minE
1
, ..., minE
n
), respectively.
In this paper, we assume that only file transfer ap-
plications are performed on each server. The electric
power consumption rate E
t
(τ) of a server s
t
at time τ
is given as follows:
E
t
(τ) = PC
t
(tr
t
(τ)). (2)
As discussed in the preceding section, E
t
(τ) is
given in a linear function (1). E
t
(τ) = β
t
(|C
t
(τ)|) · α
t
·
tr
t
(τ) + minE
t
. Here, C
t
(τ) indicates a set of clients to
which a server s
t
sends files at time τ.
The power consumption TPC
t
(τ
1
,τ
2
) [W] of a
server s
t
from time τ
1
to time τ
2
is given as follows:
TPC
t
(τ
1
,τ
2
) =
Z
τ
2
τ
1
E
t
(τ)dτ. (3)
4 SELECTION ALGORITHMS OF
SERVERS
4.1 System Model
There are a set S of multiple servers s
1
, ..., s
n
, each of
which holds a full replica of a file f. A client c
s
sends
a transfer request of the file f to a load balancer K.
Then, the load balancer K selects one server s
t
in the
set S. The server s
t
transmits the file f to the client
c
s
. We discuss how to select a server in the set S for a
client c
s
so that the following constraints are satisfied:
1. The file f has to be transmitted to the client so as
to satisfy the deadline constraint.
2. The power consumption of a selected server s
t
to
transfer the file f has to be minimized.
s
1
s
t
s
n
load balancer
K
c
s
S
Figure 7: FTP model.
4.2 Round-robin Algorithms
In a load balancer K, types of round-robin algorithms
are widely used. In the basic round-robin (RR) al-
gorithm, the servers s
1
, ..., s
n
in the server set S are
totally ordered. A request is first issued to the first
server s
1
in the ordered set. If s
1
is overloaded, a re-
quest is sent to the second server s
2
. Thus, if servers
s
1
, ..., s
i
are overloaded, a request is issued to a server
s
i+1
(i < n).
We further consider weighted round robin (WRR)
(Weighted Round Robin (WRR), 1998) and weighted
least connection (WLC) (Weighted Least Connection
(WLC), 1998) algorithms. For each of the WRR and
WLC algorithms, we consider two cases, Per (perfor-
mance) and Pow (power). In Per, the weight is given
in terms of the performance ratio of the servers. That
is, the higher performance a server supports, the more
number of processes are allocated to the server. On
the other hand, the weight is defined in terms of the
power consumption rate of the servers in Pow. The
smaller power a server consumes, the more number
of processes are allocated to the server.
4.3 Algorithm for Allocating
Transmission Rates
At time τ, the maximum transmission rate maxtr
t
(τ)
of a server s
t
depends on the degradation factor d
t
(τ)
of the server s
t
, i.e. the number of clients to which the
server s
t
concurrently transmits files at time τ. Each
time a new request is issued by a client c
s
and a cur-
rent request for a client c
s
is terminated at time τ,C
t
(τ)
= C
t
(τ) + {c
s
} and C
t
(τ) = C
t
(τ) - {c
s
}, respectively.
Here, the maximum transmission rate maxtr
t
(τ) of a
server s
t
at time τ is calculated as γ
1−|C
t
(τ)|
· Maxtr
t
.
Here, 0 < γ 1. The transmission rate tr
ts
(τ) of a
server s
t
for a client c
s
at time τ is calculated as fol-
lows:
CalcMAXTR
TS(s
t
, c
s
, τ) {
check = False;
maxtr
t
(τ) = γ
1−|C
t
(τ)|
· Maxtr
t
;
nc = |C
t
(τ)| + {c
s
};
/*C
t
(τ) is sorted in ascending order of Maxrr
s
.*/
SORT(C
t
(τ));
for each c
i
in C
t
(τ) {
/*take a client c
i
in the ascending order.*/
if Maxrr
i
maxtr
t
(τ) / nc, {
if c
i
= c
s
, {
tr
ts
(τ) = Maxrr
i
;
maxtr
t
(τ) = maxtr
t
(τ) - tr
ts
(τ);
check = True;
break;
}
POWER CONSUMPTION-BASED AND TRANSMISSION RATE-BASED ALGORITHMS IN
COMMUNICATION-BASED NETWORK APPLICATIONS
17
tr
ts
(τ) = maxtr
t
(τ) - Maxrr
i
;
maxtr
t
(τ) = maxtr
t
(τ) - tr
ts
(τ);
nc = nc - 1;
}
} /* for end */
if check = False, {
tr
ts
(τ) = maxtr
t
(τ) / nc;
break;
}
return(tr
ts
(τ));
}
In the procedure CalcMAXTR TS(), each server
s
t
can transmit a file at least tr
ts
(τ) = maxtr
t
(τ) /
|C
t
(τ)| [Mbps] to a client c
s
in the set C
t
(τ). Here,
if the maximum receipt rate Maxrr
s
(τ) of a client c
s
is
larger than the maximum transmission rate maxtr
t
(τ)
allocated for a client c
s
, the server s
t
transmits a file
to the client c
s
at rate tr
ts
(τ) at time τ. Otherwise, the
server s
t
transmits at rate maxrr
s
(τ). Here, the unused
part of the maximum transmission rate of the server s
t
for the client c
s
(= tr
ts
(τ) - maxrr
s
(τ)) can be used for
other clients.
Suppose a server s
t
is selected by three clients c
1
,
c
2
, c
3
(C
t
(τ) = {c
1
, c
2
, c
3
}) and the maximum trans-
mission rate maxtr
t
(τ) of the server s
t
is 6 [Mbps] at
time τ as shown in Figure 8. Suppose Maxrr
1
= 1
[Mbps], Maxrr
2
= 2 [Mbps], and Maxrr
3
= 3 [Mbps].
In the basic fair allocation algorithms, each client c
s
is allocated with the same transmission rate tr
ts
(τ) =
maxtr
t
(τ) / |C
t
(τ)| = 6 / 3 = 2 [Mbps] as shown in Fig-
ure 8 (1). Here, the transmission rate 2 - 1 = 1 [Mbps]
is not used for the client c
1
. In addition, the client
c
3
cannot use the maximum receipt rate Maxrr
3
(= 3
[Mbps]). On the other hand, the unused transmission
rate of the client c
1
(= 1 [Mbps]) can be used for the
client c
3
in the procedure CalcMAXTR TS(). Then,
each client c
s
(s = 1, 2, 3) can download files from the
server s
t
at the maximum receipt rate Maxrr
s
at time
τ.
4.4 Selection Algorithms
Next, we discuss how a load balancer K selects a
server s
t
for a client c
s
in the server set S. In
this paper, we propose two novel allocation algo-
rithms, transmission rate-based (TRB) and power
consumption-based (PCB) algorithms to select a
server for a client. In the TRB algorithm, a server s
t
is selected for a client c
s
where the transmission rate
tr
ts
(τ) of the server s
t
to transmit a file f to a client
c
s
is the largest. The TRB algorithm is shown as fol-
lows:
maxtr (t) = 6
t
τ
maxtr (t) = 2
1
maxtr (t) = 2
2
maxtr (t) = 2
3
τ
maxtr (t) = 1
1
maxtr (t) = 2
2
maxtr (t) = 3
3
(1) basic fair allocation. (2) CalcMAXTR_TS() procedure.
Figure 8: Transmission rate allocation.
TRB(c
s
, τ) {
server = φ; MAXTR = 0;
for each s
t
in S {
tr
ts
(τ) = CalcMAXTR
TS(s
t
, c
s
, τ);
if server = φ, {
server = s
t
;
MAXTR = tr
ts
(τ);}
else {
if MAXTR < tr
ts
(τ), {
MAXTR = tr
ts
(τ);
server = s
t
;
}
}
}
return(server);
}
In the PCB algorithm, a server s
t
is selected for the
client c
s
where the power consumption to transmit a
file f to a client c
s
is the smallest. Here, | f| / tr
ts
(τ)
is an estimated transmission time at time τ when a
server s
t
starts transmitting a file f to a client c
s
with
a transmission rate tr
ts
(τ). The power consumption
rate E
ts
(τ) of each server s
t
at time τ is β
t
(|C
t
(τ)|) · α
t
· tr
ts
(τ) as discussed in the preceding section. It is not
easy to estimate how much electric power the server
s
t
consumes to transmit a file f to the client c
s
since
there might be other clients which receive files. Here,
the estimated change of power consumption EE
ts
(τ)
[W] of a server s
t
for transmitting a file f to a client
c
s
at time τ when s
t
starts transmitting f is defined as
follows:
EE
ts
(τ)
= (| f| / tr
ts
(τ)) · β
t
(|C
t
(τ)|) · α
t
·tr
ts
(τ)
= | f| · β
t
(|C
t
(τ)|) · α
t
.
(4)
Here, a server s
t
is selected for a client c
s
in the PCB
algorithm by using EE
ts
(τ) at time τ as follows:
PCB(c
s
, τ) {
server = φ; EPC = 0;
for each s
t
in S {
EPC
ts
(τ) = | f| · β
t
(|C
t
(τ)|) · α
t
if server = φ, {
server = s
t
;
INNOV 2010 - International Multi-Conference on Innovative Developments in ICT
18
EPC = EE
ts
(τ);}
else {
if EPC > EE
ts
(τ), {
EPC = EE
ts
(τ); server = s
t
;
}
}
return(server);
}
For example, there are a pair of servers s
1
and
s
2
. The maximum transmission rates of the servers
s
1
and s
2
are 7 [Mbps] and 6 [Mbps], respectively,
i.e. Maxtr
1
= 7 [Mbps] and Maxtr
2
= 6 [Mbps]. The
power consumption coefficients α
1
and α
2
to trans-
mit one [Mbit] for one client of servers s
1
and s
2
are
0.10 and 0.03, respectively. A server s
1
is selected by
two clients c
11
and c
12
(C
1
(τ) = {c
11
, c
12
}) and an-
other server s
2
is selected by two clients c
21
and c
22
(C
2
(τ) = {c
21
, c
22
}) at time τ, respectively. The maxi-
mum receipt rates of clients c
11
and c
21
are the same 1
[Mbps] (Maxrr
11
= Maxrr
21
= 1 [Mbps]). The maxi-
mum receipt rates of clients c
12
and c
22
are the same
2 [Mbps] (Maxrr
12
= Maxrr
22
= 2 [Mbps]). Suppose
a client c
3
issues a new request to transmit a file f
whose size is ten Mbytes to a load balancer K at time
τ. Here, the maximum receipt rate Maxrr
3
for the file
f on the client c
3
is 4 [Mbps]. According to the pro-
cedure CalcMAXTR TS(···), the unused transmis-
sion rates of the servers s
1
and s
2
are 4 [Mbps] and 3
[Mbps], respectively. The servers s
1
and s
2
can allo-
cate transmission rates 4 [Mbps] and 3 [Mbps] for the
client c
3
, respectively. In the TRB algorithm, a server
s
t
which can allocate the maximum transmission rate
to a client c
3
is selected. Therefore, the server s
1
is
selected for a client c
3
. On the other hand, a server
s
t
which has the minimum value of the formula | f| ·
β
t
(|C
t
(τ)|) · α
t
is selected in the PCB algorithm, i.e. a
server which can mostly save the power consumption
is selected at time τ. Here, sets C
1
(τ) and C
2
(τ) of cur-
rent clients of servers s
1
and s
2
include three clients,
respectively. Suppose the increasing rates β
1
(3) and
β
2
(3) of the power consumption of the servers s
1
and
s
2
are 1.2 and 1.09, respectively. Here, | fβ
1
(3)·α
1
=
10 · 1.2 · 0.10 = 1.2. | fβ
2
(3)·α
2
= 10 · 1.09 · 0.03 =
0.327. Therefore, the server s
2
is selected for a client
c
3
in the PCB algorithm.
5 EVALUATION
5.1 Evaluation Environment
We evaluate the TRB and PCB algorithms in terms
of the total amount of power consumption and total
transmission time of files compared with the basic RR
algorithm through the simulation. In the evaluation,
there are ve servers s
1
, s
2
, s
3
, s
4
, and s
5
as shown in
Table 2, S = {s
1
, s
2
, s
3
, s
4
, s
5
}. The power consump-
tion coefficient α
t
to transmit one Mbits for one client
of each server s
t
is randomly selected between 0.02
and 0.11 [W/Mb] based on the experimental results.
The increasing rate of the power consumption β
t
(m)
for the number m of clients is randomly selected be-
tween 1.09 and 1.5. The minimum power consump-
tion rate minE
t
of each server s
t
is randomly selected
between 3 and 4 [W]. The maximum transmission rate
Maxtr
t
of each server s
t
is randomly selected between
150 and 450 [Mbps]. Each server s
t
has a replica of a
file f. The size of the file f is one giga-byte.
Totally 100 clients download the file f from one
server s
t
in the server set S. The maximum receipt
rate Maxrr
s
of each client c
s
is randomly selected be-
tween 0.1 and 100 [Mbps]. Each client c
s
issues a
transfer request of the file f to a load balancer K at
time st
s
. Here, the starting time st
s
of each client c
s
is randomly selected between 1 and 3,600 [sec] at the
simulation time. Each client c
s
issues one request at
time st
s
in the simulation. In the simulations of the
TRB, PCB, and RR algorithms, the starting time st
s
of the file transmission to each client c
s
is the same.
Table 2: Types of servers.
Servers α β(m) minE [W] Maxtr [Mbps]
s
1
0.03 1.259 3.39 406
s
2
0.05 1.195 3.17 401
s
3
0.03 1.285 3.12 249
s
4
0.09 1.117 3.90 231
s
5
0.02 1.162 3.02 171
5.2 Total Power Consumption
Figure 9 shows the total power consumption rate
[W/sec] of the servers s
1
, ..., s
5
at each time. Table 3
shows the total power consumptions of the servers in
the PCB, TRB, and RR algorithms. The total power
consumptions of the PCB, TRB, and RR algorithms
are 546,186 [W], 654,161 [W], and 1,073,914 [W],
respectively. In the PCB algorithm, the total amount
of power consumption is the smallest because a server
s
t
is selected for a client c
s
, whose the power con-
sumption is the smallest to transmit a file f to the
client c
s
. In the TBR algorithm, a server s
t
is selected
for a client c
s
, whose transmission rate for the client
c
s
is the largest. Then, the total amount of power con-
sumption is larger than the PCB algorithm. On the
other hand, the total amount of power consumption of
the TRB algorithm is smaller than the RR algorithm.
POWER CONSUMPTION-BASED AND TRANSMISSION RATE-BASED ALGORITHMS IN
COMMUNICATION-BASED NETWORK APPLICATIONS
19
Table 3: Total amount of power consumption.
PCB TRB RR
546,186 [W] 654,161 [W] 1,073,914 [W]
15
20
25
30
35
40
45
50
55
60
65
0 10000 20000 30000 40000 50000
Power consumption per sec [W/sec]
Simulation time [sec]
PCB algorithm
TRB algorithm
RR algorithm
Figure 9: Total power consumption rate.
5.3 Total Transmission Time
Table 4 shows the total transmission time of the files
to the 100 clients in the PCB, TRB, and RR algo-
rithms. The total transmission time are 28,614 [sec],
28,594 [sec], and 43,744 [sec] in the PCB, TRB, and
RR algorithms, respectively. The total transmission
time of the TRB algorithm is smaller than the PCB
and RR algorithms. However, the difference of the
total transmission time between TRB and PCB is ne-
glectable. In the TRB algorithm, a server s
t
is se-
lected, which can supply the maximum transmission
rate. Therefore, the difference of the transmission
time between PCB and TRB is so small as to be ne-
glected in this simulation.
Table 4: Total transmission time of the files.
PCB TRB RR
28,614 [sec] 28,594 [sec] 43,744 [sec]
In the PCB algorithm, a server s
t
is selected for
a client c
s
without considering the transmission rate
between the server s
t
and the client c
s
. On the other
hand, a server s
t
is selected for a client c
s
based on
the estimated transmission rate in the TRB algorithm.
From the evaluation results, we consider the total
power consumption can be more reduced in the PCB
algorithm than the TRB algorithm and the difference
of the total transmission time between the PCB and
TRB algorithms is neglectable. In reality, the trans-
mission rate between a server s
t
and a client c
s
is dy-
namically changed in the network since the transmis-
sion rate of a server s
t
is dynamically changed based
on the number of clients. It is not easy to estimate the
transmission rate of the server s
t
to a client c
s
from
the practical point of view. In addition, a server s
t
for a client c
s
can be selected without considering the
transmission rate between the server s
t
and the client
c
s
in the PCB algorithm. Therefore, the PCB algo-
rithm is simpler and more useful than the TRB and
RR algorithms.
5.4 File Size
We measured the total transmission time [sec] and the
total power consumption of the PCB, TRB, and RR
algorithms to transmit ve types of files whose sizes
are 1, 2, 3, 4, and 5 [GB], respectively. Totally the 100
clients download the file f from one s
t
of the servers
in the server set S (= {s
1
, s
2
, s
3
, s
4
, s
5
}). Table 5
and Figure 10 show the total transmission time in the
PCB, TRB, and RR algorithms for each file size. The
total transmission time of the RR algorithm is longer
than the PCB and TRB algorithms.
Figure 11 shows the total transmission time in the
PCB and TRB algorithms for file size. The total trans-
mission time of the TRB algorithm is smaller than the
PCB and RR algorithms. The difference of the total
transmission time between the PCB algorithm and the
TRB algorithm is almost neglectable.
Table 5: Total transmission time [sec].
PCB TRB RR
1GB 28,614 28,594 43,744
2GB 55,599 55,521 430,248
3GB 82,585 82,354 1,722,061
4GB 109,570 108,958 4,570,858
5GB 136,556 135,036 7,276,956
0
1
2
3
4
5
6
7
8
1 2 3 4 5
Total transmission time [sec]
File size [GB]
PCB algorithm
TRB algorithm
RR algorithm
[x 10 ]
6
Figure 10: Total transmission time (PCB, TRB, and RR).
Next, we measured the total power consumption
[W] of the five servers s
1
, ..., s
5
in the PCB, TRB, and
RR algorithms. Table 6 and Figure 12 show the total
INNOV 2010 - International Multi-Conference on Innovative Developments in ICT
20
2
4
6
8
10
12
14
1 2 3 4 5
Total transmission time [sec]
File size [GB]
PCB algorithm
TRB algorithm
[x 10 ]
4
Figure 11: Total transmission time (PCB and TRB).
amount of power consumption in the PCB, TRB, and
RR algorithms for each file size. Figure 13 shows the
total amount of power consumption of the servers in
the PCB and TRB algorithms. The total amount of
power consumption of the PCB algorithm is smaller
than the TRB and RR algorithms. The total amount of
power consumption of the TRB algorithm is smaller
than the RR algorithm. The PCB algorithm is better
than the TRB and RR algorithms for any file size.
Table 6: Total power consumption [W].
PCB TRB RR
1GB 546,186 654,161 1,073,914
2GB 1,209,621 1,405,971 10,647,775
3GB 1,971,767 2,215,575 42,670,592
4GB 2,835,375 3,131,209 113,334,809
5GB 3,998,291 4,211,034 180,500,814
0
2
4
6
8
10
12
14
16
18
20
1 2 3 4 5
Total power consumption [W]
File size [GB]
PCB algorithm
TRB algorithm
RR algorithm
[x 10 ]
7
Figure 12: Total power consumption (PCB, TRB, and RR).
5
10
15
20
25
30
35
40
45
1 2 3 4 5
Total power consumption [W]
File size [GB]
PCB algorithm
TRB algorithm
[x 10 ]
5
Figure 13: Total power consumption (PCB and TRB).
6 CONCLUDING REMARKS
In this paper, we discussed how much electric power a
server consumes to transfer a file to a client. A server
consumes the electric power proportional to the trans-
mission rate. Through the experiments, we obtained
approximate linear functions showing how much a
server computer consumes the electric power to trans-
mit files to clients for transmission rate. We proposed
the PCB and TRB algorithms to select a server so that
the total power consumption of the servers is reduced.
We evaluated the PCB and TRB algorithms in terms
of the total power consumption and the total trans-
mission time compared with the basic RR algorithm
through simulation. According to the evaluation re-
sults, the total power consumption and the total trans-
mission time can be reduced in the PCB and TRB al-
gorithms compared with the basic RR algorithm. In
the PCB algorithm, the total power consumption can
be more reduced than the TRB algorithm and the dif-
ference of the total transmission time between PCB
and TRB is almost neglectable. It is not necessary to
estimate the transmission rate between a server and
a client in the PCB algorithm. In addition, the total
power consumption and total transmission time are
no increased in the PCB and TRB algorithms com-
pared with the RR algorithm even if the file size is
increased. Therefore, the PCB algorithm is more use-
ful for reducing the total power consumption in the
communication-based applications.
REFERENCES
Aikebaier, A., Enokido, T., and Takizawa, M. (2009).
Energy-efficient computation models for distributed
systems. In Proceedings of the 12th International
POWER CONSUMPTION-BASED AND TRANSMISSION RATE-BASED ALGORITHMS IN
COMMUNICATION-BASED NETWORK APPLICATIONS
21
Conference on Network-Based Information Systems
(NBiS2009), pages 29–36. IEEE CS Press.
Akyildiz, I. F. and Kasimoglu, I. H. (2004). Wireless sensor
and actor networks: Research challenges. In Ad Hoc
Networks journal, volume 2, pages 351–367. Elsevier.
Bianchini, R. and Rajamony, R. (2004). Power and energy
management for server systems. In IEEE Computer,
volume 37(11), pages 68–76. IEEE CS Press.
Enokido, T., Aikebaier, A., and Takizawa, M. (2010a). A
model for reducing power consumption in peer-to-
peer systems. In accepted at IEEE Systems Journal.
IEEE CS Press.
Enokido, T., Suzuki, K., Aikebaier, A., and Takizawa, M.
(2010b). Laxity based algorithm for reducing power
consumption in distributed systems. In Proceedings
of the 4th International Conference on Complex, In-
telligent and Software Intensive Systems (CISIS2010),
pages 321–328. IEEE CS Press.
Ghemawat, S., Gobioff, H., and Leung, S. (2003). The
google file system. In Proceedings of the 19th
ACM symposium on Operating systems principles
(SOSP’03), pages 29–43. ACM.
Green IT (2010). http://www.greenit.net.
Grossman, R. L. (2009). The case for cloud computing. In
IT Professional, pages 23–27. IEEE CS Press.
Heath, T., Diniz, B., Carrera, E. V., Meira, W., and Bian-
chini, R. (2005). Energy conservation in heteroge-
neous server clusters. In PPoPP ’05: Proceedings
of the tenth ACM SIGPLAN symposium on Principles
and Practice of Parallel Programming, pages 186–
195. ACM.
Rajamani, K. and Lefurgy, C. (2003). On evaluating
request-distribution schemes for saving energy in
server clusters. In Proceedings of the 2003 IEEE
International Symposium on Performance Analysis
of Systems and Software, pages 111–122. IEEE CS
Press.
Watts up? .Net (2009). https://www.wattsupmeters.com/
secure/products.php ?pn=0.
Weighted Least Connection (WLC) (1998).
http://www.linuxvirtualserver.org/docs/
scheduling.html.
Weighted Round Robin (WRR) (1998).
http://www.linuxvirtualserver.org/docs/
scheduling.html.
Yang, T., Barolli, L., Ikeda, M., Marco, G. D., Xhafa, F.,
and Miho, R. (2009a). Performance evaluation of a
wireless sensor network considering mobile event. In
Proceedings of the 3rd International Conference on
Complex, Intelligent and Software Intensive Systems
(CISIS2009), pages 1169–1174. IEEE CS Press.
Yang, Y., Xiong, N., Aikebaier, A., Enokido, T., and Tak-
izawa, M. (2009b). Minimizing power consumption
with performance efficiency constraint in web server
clusters. In Proceedings of the 12th International
Conference on Network-Based Information Systems
(NBiS2009), pages 45–51. IEEE CS Press.
Zhang, L. and Zhou, Q. (2009). Ccoa: Cloud computing
open architecture. In 2009 IEEE International Con-
ference on Web Services, pages 607–616. IEEE CS
Press.
Zhao, G., Xuan, K., Rahayu, W., Taniar, D., Safar, M.,
Gavrilova, M., and Srinivasan, B. (2010). Voronoi-
based continuous k nearest neighbor search in mobile
navigation. accepted for publication in IEEE Trans.
on Industrial Electronics.
INNOV 2010 - International Multi-Conference on Innovative Developments in ICT
22