Disk Prefetching Mechanisms for Increasing HTTP Streaming Video Server Throughput

Author:

Cassell Benjamin1ORCID,Szepesi Tyler1,Summers Jim1,Brecht Tim1,Eager Derek2,Wong Bernard1

Affiliation:

1. University of Waterloo, Waterloo ON

2. University of Saskatchewan, Saskatoon SK

Abstract

Most video streaming traffic is delivered over HTTP using standard web servers. While traditional web server workloads consist of requests that are primarily for small files that can be serviced from the file system cache, HTTP video streaming workloads often service a long tail of large infrequently requested videos. As a result, optimizing disk accesses is critical to obtaining good server throughput. In this article we explore serialized, aggressive disk prefetching, a technique that can be used to improve the throughput of HTTP streaming video web servers. We identify how serialization and aggressive prefetching affect performance, and, based on our findings, we construct and evaluate Libception, an application-level shim library that implements both techniques. By dynamically linking against Libception at runtime, applications are able to transparently obtain benefits from serialization and aggressive prefetching without needing to change their source code. In contrast to other approaches that modify applications, make kernel changes, or attempt to optimize kernel tuning, Libception provides a portable and relatively simple system in which techniques for optimizing I/O in HTTP video streaming servers can be implemented and evaluated. We empirically evaluate the efficacy of serialization and aggressive prefetching both with and without Libception, using three web servers (Apache, nginx, and the userver) running on two operating systems (FreeBSD and Linux). We find that, by using Libception, we can improve streaming throughput for all three web servers by at least a factor of 2 on FreeBSD and a factor of 2.5 on Linux. Additionally, we find that with significant tuning of Linux kernel parameters, we can achieve similar performance to Libception by globally modifying Linux’s disk prefetch behaviour. Finally, we demonstrate Libception’s ability to reduce the completion time of a microbenchmark involving two applications competing for disk resources.

Funder

Natural Sciences and Engineering Research Council (NSERC) of Canada through Discovery Grants

NSERC Discovery Accelerator Supplement

University of Waterloo Cheriton Scholarship

OGS scholarship

NSERC graduate scholarships

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture,Safety, Risk, Reliability and Quality,Media Technology,Information Systems,Software,Computer Science (miscellaneous)

Reference39 articles.

1. Unreeling netflix: Understanding and improving multi-CDN movie delivery

2. Jens Axboe. 2009. Linux kernel Git commit. Retrieved from http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=492af6350a5ccf087e4964104a276ed358811458. Jens Axboe. 2009. Linux kernel Git commit. Retrieved from http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=492af6350a5ccf087e4964104a276ed358811458.

3. Watching Video over the Web: Part 1: Streaming Protocols

4. The performance impact of kernel prefetching on buffer cache replacement algorithms

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. CrossPrefetch: Accelerating I/O Prefetching for Modern Storage;Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1;2024-04-17

2. TVSR‐OR: Tile‐based 360‐degree video streaming over real time streaming protocol with optimized read;Transactions on Emerging Telecommunications Technologies;2023-03-28

3. Massive Files Prefetching Model Based on LSTM Neural Network with Cache Transaction Strategy;CMC-COMPUT MATER CON;2020

4. Highly Concurrent Latency-tolerant Register Files for GPUs;ACM Transactions on Computer Systems;2019-11-30

5. Adaptive resource prefetching with spatial–temporal and topic information for educational cloud storage systems;Knowledge-Based Systems;2019-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3