5 RELATED WORK
File synchronization, file compression and mobile
computing are prevalent areas of research that are in-
creasingly overlapping in problem domain space be-
cause smartphones, with limited storage capacity, are
being used as data storage for documents, songs and
other file types. We categorize the related work of
this problem domain into two types: (1) distributed
file systems, and (2) file synchronization algorithms.
Distributed File Systems. Cloud distributed
file systems offer an alternative to peer-to-peer net-
works (Aymerich et al., 2008; Popovic and Hocen-
ski, 2010; Uppoor et al., 2010). Recent research on
the Cloud and smartphones show that file updating
for software-as-a-service applications is an efficient
way to synchronize software on all devices that house
the program (Cusumano, 2010). Our work is com-
plementary to this approach, in that our approach can
be used to optimize the parameters of distributed file
system synchronization algorithms that can be fit into
our formal model in Equation 2.
Data Synchronization Algorithms. As smart-
phones move in location, the devices will experience
fluctuations in network signal strength (Fukushima
et al., 2005). Fukushima et al. discuss an algorithm
for scheduling automatic file synchronization based
upon the received signal strength indication of the net-
work. Specifically, smaller files synchronize in areas
of lower bandwidth and vice versa for larger files. Our
approach is complementary to this work in that it pro-
vides an alternate method of minimizing energy con-
sumption. We also compare total energy consumption
over Wi-Fi and 3G, with results found in Section 4.
Yan et al. present a low-latency algorithm that first
compartmentalizes files into fixed-byte blocks, then
hashes each block for fast equality comparison when
synchronization is done (Yan et al., 2008). The low-
latency algorithm is very similar to our approach, ex-
cept for the fact that Yan et al. focused on minimiz-
ing network traffic while we worked to reduce energy
consumption.
6 CONCLUSIONS
As mobile devices have increased in popularity, it is
relatively common for users to have multiple comput-
ing devices, such as a desktop computer, a laptop, and
a smartphone, creating the need for distributed file
synchronization. The existing approaches for build-
ing distributed file synchronization algorithms were
developed for desktop platforms, where battery ca-
pacity is not a concern. Due to the high importance
of energy consumption on mobile devices, there is a
need for file synchronization algorithms that attempt
to minimize total energy consumption.
This paper presented a method of deriving the
distributed file synchronization algorithm parameters
that would result in the lowest overall energy usage.
In order to do this, Section 3 derived a formal model
for energy usage of a distributed file synchronization
algorithm. This formal model was then used in Sec-
tion 4 to derive the most energy-efficient distributed
file synchronization algorithm parameter values. The
approaches presented in this paper can easily be ex-
tended to cover other specific distributed file synchro-
nization algorithms.
From our research on this topic, we learned the
following important lessons:
1. Network Choice is the Single Most Important
Decision to when Attempting to Minimize En-
ergy Usage. Using a 3G network results in a 10x
increase in both time and energy over a Wi-Fi net-
work.
2. Ratio of File Compression is the Second-
most Important Design Consideration when
Attempting to Minimize Energy Usage. It is
clearly worth examining file extensions to see if
the files are likely to experience no benefits from
being minimally compressed (such as synchro-
nization of files already stored in a compressed
format) and avoiding compression for those files.
3. Dynamic Block Sizing Should be Investigated.
The optimum block size is different for 3G and
Wi-Fi. This encourages research into storing mul-
tiple versions of the block-hash table and using
the version most appropriate for the context of the
mobile device. As mobile storage increases, this
approach of sacrificing data to gain energy could
provide a notable improvement over the current
traditional methodology of consistently using one
block size.
REFERENCES
Agarral, S., Starobinski, D., and Trachtenberg, A. (2002).
On the scalability of data synchronization protocols
for pdas and mobile devices. IEEE Network, pages
22–28.
Aymerich, F., Fenu, G., and Surcis, S. (2008). An ap-
proach to a cloud computing network. In Applica-
tions of Digital Information and Web Technologies,
2008. ICADIWT 2008. First International Conference
on the, pages 113 –118.
Balasubramanian, N., Balasubramanian, A., and Venkatara-
mani, A. (2009). Energy Consumption in Mobile
PECCS 2012 - International Conference on Pervasive and Embedded Computing and Communication Systems
140