We use cookies to improve your experience with our site.

一种面向固态硬盘的应用程序启动性能优化机制

Improving Application Launch Performance on Solid State Drives

  • 摘要: 应用程序的启动性能与用户体验的满意度密切相关,因此对系统平台开发者与提供商具有重要意义。随着固态硬盘(SSD)成本的降低,一种常见的提高程序启动性能的有效方法是将机械硬盘(HDD)更换为固态硬盘。由于两种硬盘的特性不同,传统的面向机械硬盘的程序启动器在固态硬盘系统中将不再适用。本文分析了传统的程序启动器在固态硬盘系统中的性能缺点,提出一种新的面向固态硬盘的应用程序预取机制,称为Fast Application STarter(FAST)。FAST的核心思想是通过将程序启动过程中的运算(CPU)时间与固态硬盘访问(I/O)时间相重叠来提高启动性能。FAST是通过Linux操作系统提供的一组用户级组件及系统调试工具实现的,因此可方便地部署在近期版本的Linux系统上,无需重新编译内核。本文在一台运行Linux 2.6.32操作系统的桌面PC上实现了FAST机制,并选取一组广泛使用的应用程序对其进行评测。评测结果表明,平均情况下,使用FAST机制可将评测程序的启动时间降低28%。

     

    Abstract: Application launch performance is of great importance to system platform developers and vendors as it greatly affects the degree of users' satisfaction. The single most effective way to improve application launch performance is to replace a hard disk drive (HDD) with a solid state drive (SSD), which has recently become affordable and popular. A natural question is then whether or not to replace the traditional HDD-aware application launchers with a new SSD-aware optimizer. We address this question by analyzing the ine眂iency of the HDD-aware application launchers on SSDs and then proposing a new SSD-aware application prefetching scheme, called the Fast Application STarter (FAST). The key idea of FAST is to overlap the computation (CPU) time with the SSD access (I/O) time during an application launch. FAST is composed of a set of user-level components and system debugging tools provided by Linux OS (operating system). Hence, FAST can be easily deployed in any recent Linux versions without kernel recompilation. We implement FAST on a desktop PC with an SSD running Linux 2.6.32 OS and evaluate it by launching a set of widely-used applications, demonstrating an average of 28% reduction of application launch time as compared to PC without a prefetcher.

     

/

返回文章
返回