journal article·2020-07-10Open access

Practical Enhancement of User Experience in NVMe SSDs

Seongmin Kim, Kyusik Kim, Heeyoung Shin, Taeseok Kim

Applied Sciences· Volume 10· Issue 14

Abstract

When processing I/O requests, the current Linux kernel does not adequately consider the urgency of user-centric tasks closely related to user experience. To solve this critical problem, we developed a practical method in this study to enhance user experience in a computing environment wherein non-volatile memory express (NVMe) solid-state drives (SSDs) serve as storage devices. In our proposed scheme, I/O requests that originate from the user-centric tasks were preferentially served across various levels of queues by modifying the multi-queue block I/O layer of the Linux kernel, considering the dispatch method of NVMe SSDs. Our scheme tries to give as fast a path as possible for I/O requests from user-centric tasks among many queues with different levels. Especially, when the SSD is overburdened, it avoids the queues with many pending I/O requests and thus can significantly reduce the I/O latency of user-centric tasks. We implemented our proposed scheme in the Linux kernel and performed practical evaluations on a commercial SSD. The experimental results showed that the proposed scheme achieved significant enhancement in the launch time of five widely used applications by up to ~65%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Data Storage Technologies · Parallel Computing and Optimization Techniques · Caching and Content Delivery

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Engineering, Kwangwoon University, 20, Gwangun-ro, Nowon-gu, Seoul 01897, Korea

Department of Intelligent System and Embedded Software Engineering, Kwangwoon University, 20, Gwangun-ro, Nowon-gu, Seoul 01897, Korea

School of Computer and Information Engineering, Kwangwoon University, 20, Gwangun-ro, Nowon-gu, Seoul 01897, Korea

Funding

National Research Foundation of Korea

References (34)

Show source-provided references
1. SSD architecture and PCI express interface10.1007/978-94-007-5146-0_2 ↗
2. (2020, March 05). NVM Express: NVM Express Overview. Available online: https://nvmexpress.org/wp-content/uploads/NVMe_Overview.pdf.
3. Bjørling, M., Gonzalez, J., and Bonnet, P. (March, January 27). LightNVM: The Linux Open-Channel SSD Subsystem. Proceedings of the 15th USENIX Conference on File and Storage Technologies (FAST 17), Santa Clara, CA, USA.
4. Zhang, J., Donofrio, D., Shalf, J., Kandemir, M.T., and Jung, M. (2015, January 18–22). NVMMU: A Non-Volatile Memory Management Unit for Heterogeneous GPU-SSD Architectures. Proceedings of the International Conference on Parallel Architecture and Compilation (PACT), San Francisco, CA, USA.10.1109/PACT.2015.43 ↗
5. Zhang, J., Kwon, M., Gouk, D., Koh, S., Lee, C., Alian, M., Chun, M., Kandemir, M.T., Kim, N.S., and Kim, J. (2018, January 8–10). FlashShare: Punching Through Server Storage Stack from Kernel to Firmware for Ultra-Low Latency SSDs. Proceedings of the 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), Carlsbad, CA, USA.
6. (2020, March 05). NVM Express Base Specification Revision 1.3c. Available online: https://nvmexpress.org/wp-content/uploads/NVM-Express-1_3c-2018.05.24-Ratified.pdf.
7. Peng, B., Zhang, H., Yao, J., Dong, Y., Xu, Y., and Guan, H. (2018, January 11–13). MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through. Proceedings of the USENIX Annual Technical Conference (USENIX ATC 18), Boston, MA, USA.
8. Kim, S., and Yang, J.S. (2018, January 24–28). Optimized I/O Determinism for Emerging NVM-based NVMe SSD in an Enterprise System. Proceedings of the 55th Annual Design Automation Conference, San Francisco, CA, USA.10.1145/3195970.3196085 ↗
9. Kim, H.J., Lee, Y.S., and Kim, J.S. (2016, January 20–21). NVMeDirect: A User-space I/O Framework for Application-Specific Optimization on NVMe SSDs. Proceedings of the 8th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage 16), Denver, CO, USA.
10. Xu, Q., Siyamwala, H., Ghosh, M., Awasthi, M., Suri, T., Guz, Z., Shayesteh, A., and Balakrishnan, V. (2015, January 15–19). Performance Characterization of Hyperscale Applicationson on NVMe SSDs. Proceedings of the ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, New York, NY, USA.10.1145/2745844.2745901 ↗
11. Awad, A., Kettering, B., and Solihin, Y. (2015, January 29–31). Non-Volatile Memory Host Controller Interface Performance Analysis in High-Performance I/O Systems. Proceedings of the IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), Philadelphia, PA, USA.10.1109/ISPASS.2015.7095793 ↗
12. Qian, J., Jiang, H., Srisa-An, W., Seth, S., Skelton, S., and Moore, J. (2017, January 14–17). Energy-Efficient I/O Thread Schedulers for NVMe SSDs on NUMA. Proceedings of the 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID), Madrid, Spain.10.1109/CCGRID.2017.24 ↗
13. Jun, B., and Shin, D. (2015, January 19–21). Workload-Aware Budget Compensation Scheduling for NVMe Solid State Drives. Proceedings of the IEEE Non-Volatile Memory System and Applications Symposium (NVMSA), Hong Kong, China.10.1109/NVMSA.2015.7304369 ↗
14. Yang, Z., Hoseinzadeh, M., Wong, P., Artoux, J., Mayers, C., Evans, D.T., Bolt, R.T., Bhimani, J., Mi, N., and Swanson, S. (2017, January 10–12). H-NVMe: A Hybrid Framework of NVMe-Based Storage System in Cloud Computing Environment. Proceedings of the IEEE 36th International Performance Computing and Communications Conference (IPCCC), San Diego, CA, USA.10.1109/PCCC.2017.8280431 ↗
15. Kim, J., Ahn, S., La, K., and Chang, W. (2016, January 4–8). Improving I/O Performance of NVMe SSD on Virtual Machines. Proceedings of the 31st Annual ACM Symposium on Applied Computing, Pisa, Italy.10.1145/2851613.2851739 ↗
16. Bhimani, J., Yang, J., Yang, Z., Mi, N., Xu, Q., Awasthi, M., Pandurangan, R., and Balakrishnan, V. (2016, January 9–11). Understanding Performance of I/O Intensive Containerized Applications for NVMe SSDs. Proceedings of the IEEE 35th International Performance Computing and Communications Conference (IPCCC), Las Vegas, NV, USA.10.1109/PCCC.2016.7820650 ↗
17. Joshi, K., Yadav, K., and Choudhary, P. (2017, January 10–11). Enabling NVMe WRR Support in Linux Block Layer. Proceedings of the 9th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage 17), Santa Clara, CA, USA.
18. Bjørling, M., Axboe, J., Nellans, D., and Bonnet, P. (July, January 30). Linux block IO: Introducing Multi-Queue SSD Access on Multi-Core Systems. Proceedings of the 6th International Systems and Storage Conference, Haifa, Israel.
19. Tavakkol, A., Gómez-Luna, J., Sadrosadati, M., Ghose, S., and Mutlu, O. (2018, January 12–15). MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices. Proceedings of the 16th USENIX Conference on File and Storage Technologies (FAST 18), Oakland, CA, USA.
20. Kim, T.Y., Kang, D.H., Lee, D., and Eom, Y.I. (June, January 30). Improving Performance by Bridging the Semantic Gap Between Multi-Queue SSD and I/O Virtualization Framework. Proceedings of the 31st Symposium on Mass Storage Systems and Technologies (MSST), Santa Clara, CA, USA.
21. Lee, M., Kang, D.H., Lee, M., and Eom, Y.I. (2017, January 5–7). Improving Read Performance by Isolating Multiple Queues in NVMe SSDs. Proceedings of the 11th International Conference on Ubiquitous Information Management and Communication, Beppu, Japan.10.1145/3022227.3022262 ↗
22. Yang, T., Huang, P., Zhang, W., Wu, H., and Lin, L. (2019, January 25–29). CARS: A Multi-layer Conflict-Aware Request Scheduler for NVMe SSDs. Proceedings of the Design, Automation & Test in Europe Conference & Exhibition (DATE), Florence, Italy.10.23919/DATE.2019.8715070 ↗
23. Gugnani, S., Lu, X., and Panda, D.K. (2018, January 17–20). Analyzing, Modeling, and Provisioning QoS for NVMe SSDs. Proceedings of the IEEE/ACM 11th International Conference on Utility and Cloud Computing (UCC), Zurich, Switzerland.10.1109/UCC.2018.00033 ↗
24. Providing SLO compliance on NVMe SSDs through parallelism reservation
25. Hahn, S.S., Lee, S., Yee, I., Ryu, D., and Kim, J. (2017, January 2–3). Improving User Experience of Android Smartphones Using Foreground App-Aware I/O Management. Proceedings of the 8th Asia-Pacific Workshop on Systems, Mumbai, India.10.1145/3124680.3124721 ↗
26. Ahn, S., La, K., and Kim, J. (2016, January 20–21). Improving I/O Resource Sharing of Linux Cgroup for NVMe SSDs on Multi-core Systems. Proceedings of the 8th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage 16), Denver, CO, USA.
27. Supporting the Priorities in the Multi-queue Block I/O Layer for NVMe SSDs10.5573/JSTS.2020.20.1.055 ↗
28. Survey of scheduling techniques for addressing shared resources in multicore processors10.1145/2379776.2379780 ↗
29. Wong, C.S., Tan, I.K.T., Kumari, R.D., Lam, J.W., and Fun, W. (2008, January 26–28). Fairness and Interactive Performance of O (1) and CFS Linux Kernel Schedulers. Proceedings of the International Symposium on Information Technology, Kuala Lumpur, Malaysia.10.1109/ITSIM.2008.4631872 ↗
30. (2020, March 05). Flexible I/O Tester. Available online: https://github.com/axboe/fio.
31. Son, Y., Kang, H., Han, H., and Yeom, H.Y. (2015, January 21–25). An Empirical Evaluation of NVM Express SSD. Proceedings of the International Conference on Cloud and Autonomic Computing, Boston, MA, USA.10.1109/ICCAC.2015.41 ↗
32. (2020, March 05). Firefox. Available online: https://www.mozilla.org/en-US/firefox/.
33. (2020, March 05). App/Videos—GNOME Wiki. Available online: https://wiki.gnome.org/Apps/Videos.
34. (2020, March 05). LibreOffice—Free Office Suite. Available online: https://www.libreoffice.org/.