Abstract
Embedding models are effective for learning high-dimensional sparse data. Traditionally, they are deployed in DRAM parameter servers (PS) for online inference access. However, the ever-increasing model capacity makes this practice suffer from both high storage costs and long recovery time. Rapidly developing Persistent Memory (PM) offers new opportunities to PSs owing to its large capacity at low costs, as well as its persistence, while the application of PM also faces two challenges including high read latency and heavy CPU burden. To provide a low-cost but still high-performance parameter service for online inferences, we introduce PetPS, the first production-deployed PM parameter server. (1) To escape with high PM latency, PetPS introduces a PM hash index tailored for embedding model workloads, to minimize PM access. (2) To alleviate the CPU burden, PetPS offloads parameter gathering to NICs, to avoid CPU stalls when accessing parameters on PM and thus improve CPU efficiency. Our evaluation shows that PetPS can boost throughput by 1.3 -- 1.7X compared to PSs that use state-of-the-art PM hash indexes, or get 2.9 -- 5.5X latency reduction with the same throughput. Since 2020, PetPS has been deployed in Kuaishou, one world-leading short video company, and successfully reduced TCO by 30% without performance degradation.
Publisher
Association for Computing Machinery (ACM)
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Reference56 articles.
1. 2022. Apache Kafka. https://kafka.apache.org/. 2022. Apache Kafka. https://kafka.apache.org/.
2. 2022. Apache MXNet | A flexible and efficient library for deep learning. https://mxnet.apache.org/versions/1.9.1/. 2022. Apache MXNet | A flexible and efficient library for deep learning. https://mxnet.apache.org/versions/1.9.1/.
3. 2022. Compute Express Link. https://www.computeexpresslink.org/. 2022. Compute Express Link. https://www.computeexpresslink.org/.
4. 2022. dmlc/ps-lite: A lightweight parameter server interface. https://github.com/dmlc/ps-lite. 2022. dmlc/ps-lite: A lightweight parameter server interface. https://github.com/dmlc/ps-lite.
5. 2022. DPDK. https://www.dpdk.org/. 2022. DPDK. https://www.dpdk.org/.
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献