Page 233 - Kỷ yếu hội thảo khoa học lần thứ 12 - Công nghệ thông tin và Ứng dụng trong các lĩnh vực (CITA 2023)
P. 233
VanPhi Ho, VanDai Tran, KimTrong Le 217
flash memory operations, especially write and erase operation which consume a lot of
time and energy.
By using the buffer based and hybrid storage system, BBS significantly improve the
performance of SQLite on Adroid smart phone system.
Figure 1. Overall architecture of BBS
3.2 The implementation of BBS
To implement the proposed hybrid storage architecture, the system needs a method to
the system uses
hybrid driver[8
flash memory for the proposed system.
When writing data and creating the journal file, BBS basically write them in the
FRAM according to the hybrid driver. Once the commit operation is performed
successfully, the FRAM space using for storing data and the journal is erased.
Since the data and the journal file are temporarily stored in FRAM that is non-vola-
tile, BBS easily recovers data when the system is rebooted after the crash. The
recovery process is performed similarly to the commit operation. Whenever the system
reboots after a sudden power-off, BBS checks if the space that is used for storing index
units has data and creating the journal file or not. If there are data and creating the
journal file in that space, BBS will flush the data and creating the journal file to flash
memory.
4 Performance evaluation
This section shows the experimental results achieved by applying the proposed BBS
and compares its performance to the original one. All experiments were performed on
ISBN: 978-604-80-8083-9 CITA 2023