{"title":"On the precision of precise event based sampling","authors":"Jifei Yi, Benchao Dong, Mingkai Dong, Haibo Chen","doi":"10.1145/3409963.3410490","DOIUrl":"https://doi.org/10.1145/3409963.3410490","url":null,"abstract":"Many performance studies rely on Intel's Precise Event Based Sampling (PEBS) to collect processor events, where precision is a key for the reliability of analysis. In this paper, we make a study on the precision of PEBS and show that, while by its name being precise, PEBS can cause mistakes under shadowing, which may make the analysis unreliable. We then show how to remedy such imprecision by artificially inserting bogus instructions. Evaluation shows that our remedy leads to more precise event samples and thus more reliable performance analysis.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"106 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115757910","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Jingde Chen, Subho Sankar Banerjee, Z. Kalbarczyk, R. Iyer
{"title":"Machine learning for load balancing in the Linux kernel","authors":"Jingde Chen, Subho Sankar Banerjee, Z. Kalbarczyk, R. Iyer","doi":"10.1145/3409963.3410492","DOIUrl":"https://doi.org/10.1145/3409963.3410492","url":null,"abstract":"The OS load balancing algorithm governs the performance gains provided by a multiprocessor computer system. The Linux's Completely Fair Scheduler (CFS) scheduler tracks process loads by average CPU utilization to balance workload between processor cores. That approach maximizes the utilization of processing time but overlooks the contention for lower-level hardware resources. In servers running compute-intensive workloads, an imbalanced need for limited computing resources hinders execution performance. This paper solves the above problem using a machine learning (ML)-based resource-aware load balancer. We describe (1) low-overhead methods for collecting training data; (2) an ML model based on a multi-layer perceptron model that imitates the CFS load balancer based on the collected training data; and (3) an in-kernel implementation of inference on the model. Our experiments demonstrate that the proposed model has an accuracy of 99% in making migration decisions and while only increasing the latency by 1.9 μs.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122517682","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Reducing tail latency of DNN-based recommender systems using in-storage processing","authors":"Minsub Kim, Sungjin Lee","doi":"10.1145/3409963.3410501","DOIUrl":"https://doi.org/10.1145/3409963.3410501","url":null,"abstract":"Most recommender systems are designed to comply with service level agreement (SLA) because prompt response to users' requests is the most important factor that decides the quality of service. Existing recommender systems, however, seriously suffer from long tail latency when the embedding tables cannot be entirely loaded in the main memory. In this paper, we propose a new SSD architecture called EMB-SSD, which mitigates the tail latency problem of recommender systems by leveraging in-storage processing. By offloading the data-intensive parts of the recommendation algorithm into an SSD, EMB-SSD not only reduces the data traffic between the host and the SSD, but also lowers software overheads caused by deep I/O stacks. Results show that EMB-SSD exhibits 47% and 25% shorter 99th percentile latency and average latency, respectively, over existing systems.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"10 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133079881","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Shiqi Jiang, Lihao Ran, Ting Cao, Yusen Xu, Yunxin Liu
{"title":"Profiling and optimizing deep learning inference on mobile GPUs","authors":"Shiqi Jiang, Lihao Ran, Ting Cao, Yusen Xu, Yunxin Liu","doi":"10.1145/3409963.3410493","DOIUrl":"https://doi.org/10.1145/3409963.3410493","url":null,"abstract":"Mobile GPU, as the ubiquitous computing hardware on almost every smartphone, is being exploited for the deep learning inference. In this paper, we present our measurements on the inference performance with mobile GPUs. Our observations suggest that mobile GPUs are underutilized. We study the inefficient issue in depth and find that one of root causes is the improper partition of compute workload. To solve this, we propose a heuristics-based workload partitioning approach, considering both performance and overheads on mobile devices. Evaluation results show that our approach reduces the inference latency by up to 32.8% on various devices and neural networks.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114801059","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Juno Kim, Yun Joon Soh, Joseph Izraelevitz, Jishen Zhao, S. Swanson
{"title":"SubZero","authors":"Juno Kim, Yun Joon Soh, Joseph Izraelevitz, Jishen Zhao, S. Swanson","doi":"10.1145/3409963.3410489","DOIUrl":"https://doi.org/10.1145/3409963.3410489","url":null,"abstract":"POSIX-style read() and write() have long been the standard interface for accessing data in files. However, the data copy into and out of memory these methods require imposes an unnecessary overhead when files are stored in fast persistent memories (PMEMs). To avoid the copy, PMEM-aware file systems generally provide direct-access (DAX)-based mmap(), but in doing so force the programmer to manage write-atomicity and concurrent accesses to the file. In this work, we propose two new system calls - peek() and patch(), and collectively called SubZero - that read and update PMEM-backed files without any copies. To show its potential, we implemented SubZero in two state-of-the-art PMEM file systems, XFS-DAX and NOVA. Measurements of simple benchmarks show that SubZero can outperform copy-based read() and write() by up to 2x and 2.8x, respectively. At the application level, peek() improves GET performance of the Apache Web Server by 3.6x, and patch() boosts SET performance of Kyoto Cabinet up to 1.3x.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"237 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122818195","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"HDRF","authors":"Rian Widodo, H. Abe, Kazuhiko Kato","doi":"10.1145/3409963.3410500","DOIUrl":"https://doi.org/10.1145/3409963.3410500","url":null,"abstract":"The selection of data reduction schemes, which is crucial for reduced data footprints on a distributed file system (DFS) and transferring big data, is usually limited to the schemes supported by the underlying platforms. If the source code of the platform is available, it might be possible to add user-favorite reduction schemes, but it requires an expensive implementation cost or is virtually impossible. In this paper, we propose a system design that links a DFS to reduction schemes and enables them transparently to data processing applications. To verify the feasibility of this approach, we implemented a framework within Hadoop DFS (HDFS) named Hadoop Data Reduction Framework (HDRF). The features of HDRF is threefold. First, the application programmers can easily incorporate their favorite reduction schemes with reasonably restrained implementation costs. Second, the selection is transparent to data processing applications. Lastly, experimental results show that HDRF can halve the vanilla HDFS transfer time by using a more optimized application without compromising the compression ratio. When running the same application, HDRF has minimal runtime and storage overheads compared to vanilla HDFS.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127515250","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Libservices","authors":"Giorgos Kappes, S. Anastasiadis","doi":"10.1145/3409963.3410497","DOIUrl":"https://doi.org/10.1145/3409963.3410497","url":null,"abstract":"Containers are commonly used to run the data-intensive applications of different tenants in cloud infrastructures. The storage I/O of the colocated tenants is typically handled by the shared system kernel of the container host. When a data-intensive container competes with a noisy neighbor, the kernel I/O services can cause performance variability and slowdown. This is a challenging problem for which several approaches have already been explored. Although the dynamic resource allocation, kernel structure replication, and hardware-level virtualization are helpful, they incur costs of high implementation complexity and execution overhead. As a realistic cost-effective alternative, we isolate the I/O path of each tenant by running dedicated storage systems at user level on reserved resources. We introduce the libservices as a unified user-level storage abstraction to dynamically provision per tenant container root filesystems, application data filesystems and image repositories. We outline several examples of container storage systems whose clients and servers can be composed from libservices. With an early prototype, we successfully demonstrate that the libservices combine the required efficiency and flexibility to build isolated I/O services on multitenant hosts with superior performance over existing user-level or kernel-level systems.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"108 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127329072","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards application performance fairness on clouds","authors":"Rengan Dou, Xin Wang, Richard T. B. Ma","doi":"10.1145/3409963.3410495","DOIUrl":"https://doi.org/10.1145/3409963.3410495","url":null,"abstract":"In cloud computing, resource allocation is the key building block. Existing resource allocation strategies are designed for multi-tenant cases and the majority of them target resource fairness and utilization. We consider the problem of resource allocation among multiple applications that belong to a single user. In this case, instead of resource fairness, the user cares about performance fairness. We focus on memory, one of the most universal resources used by applications. We mainly face two challenges. The first one is how to characterize the performance of various applications. We carefully choose User time, the number of CPU jiffies spending on the User mode, as a representative of the application's progress to reflect the performance of the application. Through a series of processing, we make performance comparable among different applications. The other challenge is to ensure high system memory utilization. We address this challenge by designing an adaptive memory allocation algorithm that guarantees high memory utilization and performance fairness simultaneously through dynamically reallocating memory among applications. We have implemented our algorithm by developing a scheduler on a physical machine where multiple applications share resources. Experimental evaluation shows that our algorithm can achieve good performance fairness on the premise of ensuring high memory utilization with different applications and importance.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"75 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128301422","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Concerto: cooperative network-wide telemetry with controllable error rate","authors":"Yiran Li, Kevin Gao, Xin Jin, W. Xu","doi":"10.1145/3409963.3410499","DOIUrl":"https://doi.org/10.1145/3409963.3410499","url":null,"abstract":"Network-wide telemetry requires real-time analysis of a large amount of traffic. Telemetry systems use stream processors to support various applications, and Protocol Independent Switching Architecture switches to reduce the workload on stream processors. Due to the inefficient use of switch resources, existing systems cannot fully reduce the workload on the stream processors. Unlike the existing systems that treat switches independently when assigning tasks, Concerto lets switches work together. The use of cooperating switches means more resources and a further reduction in the stream processor's workload. Furthermore, Concerto can also adhere to a more stringent error rate requirement. Our evaluation shows that Concerto reduces the stream processor's workload by as much as 19x, and under the same workload on the stream processor, Concerto achieves an error rate of 104x lower than existing systems.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"48 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121716068","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"ColumnBurst","authors":"Gongjin Sun, S. Jun","doi":"10.1145/3409963.3410494","DOIUrl":"https://doi.org/10.1145/3409963.3410494","url":null,"abstract":"We present ColumnBurst, a memory-efficient, near-storage hardware accelerator for database join queries. While the paradigm of near-storage computation has demonstrated performance and efficiency benefits on many workloads by reducing data movement overhead, memory-bound operations such as relational joins on unsorted data have been relatively inefficient with fast modern storage devices, due to the limited capacity and performance of memory available on the near-storage processing engine. ColumnBurst delivers very high performance even on such complex queries, while staying within the memory performance and capacity budget of what is typically already available on off-the-shelf storage devices. ColumnBurst achieves this via a compact, hardware implementation of sorting-based group-by aggregation and join algorithms, instead of the conventional hash-based algorithms. We evaluate ColumnBurst using an FPGA-based prototype with 1 GB of slow on-device DDR3 DRAM, and show that on benchmarks including TPC-H queries with join queries on unsorted columns, it outperforms MonetDB on a 6-core i7 with 32 GB of DRAM by over 7x, and ColumnBurst using a near-storage hash join algorithm by 2x.","PeriodicalId":183976,"journal":{"name":"Proceedings of the 11th ACM SIGOPS Asia-Pacific Workshop on Systems","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122001417","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}