[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.5555/2930611.2930637guideproceedingsArticle/Chapter ViewAbstractPublication PagesnsdiConference Proceedingsconference-collections
Article

FairRide: near-optimal, fair cache sharing

Published: 16 March 2016 Publication History

Abstract

Memory caches continue to be a critical component to many systems. In recent years, there has been larger amounts of data into main memory, especially in shared environments such as the cloud. The nature of such environments requires resource allocations to provide both performance isolation for multiple users/applications and high utilization for the systems. We study the problem of fair allocation of memory cache for multiple users with shared files. We find that, surprisingly, no memory allocation policy can provide all three desirable properties (isolation-guarantee, strategy-proofness and Pareto-efficiency) that are typically achievable by other types of resources, e.g., CPU or network. We also show that there exist policies that achieve any two of the three properties. We find that the only way to achieve both isolation-guarantee and strategy-proofness is through blocking, which we efficiently adapt in a new policy called FairRide. We implement FairRide in a popular memory-centric storage system using an efficient form of blocking, named as expected delaying, and demonstrate that FairRide can lead to better cache efficiency (2.6× over isolated caches) and fairness in many scenarios.

References

[1]
Amazon elasticache. https://aws.amazon.com/elasticache/.
[2]
Apache Hadoop. http://hadoop.apache.org/.
[3]
Azure cache - redis cache cloud service. http://azure.microsoft.com/en-us/services/cache/.
[4]
Distributed Memory: Supporting Memory Storage in HDFS. http://hortonworks.com/blog/ddm/.
[5]
Hdfs caching. http://blog.cloudera.com/blog/2014/08/new-in-cdh-5-1-hdfs-read-caching/.
[6]
Isolation in Memcached or Redis. http://goo.gl/FYfrOK;http://goo.gl/iocFrt;http://goo.gl/VeJHvs.
[7]
Memcached, a distributed memory object caching system. http://memcached.org/.
[8]
MemSQL In-Memory Database. http://http://www.memsql.com/.
[9]
Redis. http://redis.io/.
[10]
The column-store pioneer: MonetDB. https://www.monetdb.org.
[11]
TPC-H. http://www.tpc.org/tpch.
[12]
ANANTHANARAYANAN, G., GHODSI, A., WANG, A., BORTHAKUR, D., KANDULA, S., SHENKER, S., AND STOICA, I. Pacman: coordinated memory caching for parallel jobs. In NSDI'12.
[13]
BENNETT, J. C., AND ZHANG, H. Wf2q: worstcase fair weighted fair queueing. In INFOCOM'96.
[14]
CAO, Z., AND ZEGURA, E. W. Utility maxmin: An application-oriented bandwidth allocation scheme. In INFOCOM'99.
[15]
CAPRITA, B., CHAN, W. C., NIEH, J., STEIN, C., AND ZHENG, H. Group ratio round-robin: O (1) proportional share scheduling for uniprocessor and multiprocessor systems. In ATC'05.
[16]
CROWCROFT, J., AND OECHSLIN, P. Differentiated end-to-end internet services using a weighted proportional fair sharing tcp. SIGCOMM CCR, 1998.
[17]
DEMERS, A., KESHAV, S., AND SHENKER, S. Analysis and simulation of a fair queueing algorithm. In SIGCOMM CCR, 1989.
[18]
DEMERS, A., KESHAV, S., AND SHENKER, S. Analysis and simulation of a fair queueing algorithm. In SIGCOMM'89.
[19]
FÄRBER, F., CHA, S. K., PRIMSCH, J., BORNHÖVD, C., SIGG, S., AND LEHNER, W. Sap hana database: Data management for modern business applications. SIGMOD Rec., 2012.
[20]
GHODSI, A., ZAHARIA, M., HINDMAN, B., KONWINSKI, A., SHENKER, S., AND STOICA, I. Dominant resource fairness: Fair allocation of multiple resource types. NSDI'11.
[21]
GHODSI, A., ZAHARIA, M., SHENKER, S., AND STOICA, I. Choosy: Max-min fair sharing for datacenter jobs with constraints. EuroSys'13.
[22]
GILL, B. S., AND BATHEN, L. A. D. Amp: Adaptive multi-stream prefetching in a shared cache. In FAST'07.
[23]
GOYAL, P., VIN, H. M., AND CHEN, H. Starttime fair queueing: a scheduling algorithm for integrated services packet switching networks. In SIGCOMM CCR, 1996.
[24]
IYER, R., ZHAO, L., GUO, F., ILLIKKAL, R., MAKINENI, S., NEWELL, D., SOLIHIN, Y., HSU, L., AND REINHARDT, S. Qos policies and architecture for cache/memory in cmp platforms. In SIGMETRICS'07.
[25]
KIM, S., CHANDRA, D., AND SOLIHIN, Y. Fair cache sharing and partitioning in a chip multiprocessor architecture. PACT'04.
[26]
LI, H., GHODSI, A., ZAHARIA, M., SHENKER, S., AND STOICA, I. Tachyon: Reliable, memory speed storage for cluster computing frameworks. In SOCC'14.
[27]
MA, Q., STEENKISTE, P., AND ZHANG, H. Routing high-bandwidth traffic in max-min fair share networks. In SIGCOMM CCR, 1996.
[28]
MASSOULIÉ, L., AND ROBERTS, J. Bandwidth sharing: objectives and algorithms. In INFOCOM' 99.
[29]
MOSCIBRODA, T., AND MUTLU, O. Memory performance attacks: Denial of memory service in multi-core systems. In USENIX Security'07.
[30]
OUSTERHOUT, J., AGRAWAL, P., ERICKSON, D., KOZYRAKIS, C., LEVERICH, J., MAZIÈRES, D., MITRA, S., NARAYANAN, A., PARULKAR, G., ROSENBLUM, M., RUMBLE, S. M., STRATMANN, E., AND STUTSMAN, R. The case for ramclouds: Scalable high-performance storage entirely in dram. SIGOPS OSR, 2010.
[31]
PATTERSON, R. H., GIBSON, G. A., GINTING, E., STODOLSKY, D., AND ZELENKA, J. Informed prefetching and caching. SIGOPS'95.
[32]
PIATEK, M., ISDAL, T., ANDERSON, T., KRISHNAMURTHY, A., AND VENKATARAMANI, A. Do incentives build robustness in bit torrent. In NSDI'07.
[33]
SHREEDHAR, M., AND VARGHESE, G. Efficient fair queuing using deficit round-robin. TON'96.
[34]
SHUE, D., FREEDMAN, M. J., AND SHAIKH, A. Performance isolation and fairness for multitenant cloud storage. In OSDI'12.
[35]
STOICA, I., ABDEL-WAHAB, H., JEFFAY, K., BARUAH, S. K., GEHRKE, J. E., AND PLAXTON, C. G. A proportional share resource allocation algorithm for real-time, time-shared systems. In RTSS'96.
[36]
STOICA, I., SHENKER, S., AND ZHANG, H. Core-stateless fair queueing: Achieving approximately fair bandwidth allocations in high speed networks. In SIGCOMM'98.
[37]
STONEBRAKER, M., AND WEISBERG, A. The voltdb main memory dbms. http://voltdb.com/.
[38]
VERMA, A., PEDROSA, L. D., KORUPOLU, M., OPPENHEIMER, D., AND WILKES, J. Large scale cluster management at google with borg. Eurosys' 15.
[39]
WALDSPURGER, C. A., AND WEIHL, W. E. Lottery scheduling: Flexible proportional-share resource management. In OSDI'94.
[40]
WALDSPURGER, C. A., AND WEIHL, W. E. Stride scheduling: deterministic proportional-share resource management. In MIT Tech Report, 1995.
[41]
ZAHARIA, M., CHOWDHURY, M., DAS, T., DAVE, A., MA, J., MCCAULY, M., FRANKLIN, M. J., SHENKER, S., AND STOICA, I. Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. In NSDI'12.

Cited By

View all
  • (2024)Harvesting idle memory for application-managed soft state with midasProceedings of the 21st USENIX Symposium on Networked Systems Design and Implementation10.5555/3691825.3691894(1247-1265)Online publication date: 16-Apr-2024
  • (2024)FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheProceedings of the Nineteenth European Conference on Computer Systems10.1145/3627703.3650078(421-440)Online publication date: 22-Apr-2024
  • (2020)Building an elastic query engine on disaggregated storageProceedings of the 17th Usenix Conference on Networked Systems Design and Implementation10.5555/3388242.3388275(449-462)Online publication date: 25-Feb-2020
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
NSDI'16: Proceedings of the 13th Usenix Conference on Networked Systems Design and Implementation
March 2016
699 pages
ISBN:9781931971294

Sponsors

  • VMware
  • Google Inc.
  • Microsoft Research: Microsoft Research
  • Facebook: Facebook

Publisher

USENIX Association

United States

Publication History

Published: 16 March 2016

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Harvesting idle memory for application-managed soft state with midasProceedings of the 21st USENIX Symposium on Networked Systems Design and Implementation10.5555/3691825.3691894(1247-1265)Online publication date: 16-Apr-2024
  • (2024)FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheProceedings of the Nineteenth European Conference on Computer Systems10.1145/3627703.3650078(421-440)Online publication date: 22-Apr-2024
  • (2020)Building an elastic query engine on disaggregated storageProceedings of the 17th Usenix Conference on Networked Systems Design and Implementation10.5555/3388242.3388275(449-462)Online publication date: 25-Feb-2020
  • (2020)On a Caching System with Object SharingProceedings of the International Workshop on Middleware and Applications for the Internet of Things10.1145/3429881.3430107(1-6)Online publication date: 7-Dec-2020
  • (2018)RobinHoodProceedings of the 13th USENIX conference on Operating Systems Design and Implementation10.5555/3291168.3291183(195-212)Online publication date: 8-Oct-2018
  • (2018)mPart: miss-ratio curve guided partitioning in key-value storesACM SIGPLAN Notices10.1145/3299706.321057153:5(84-95)Online publication date: 18-Jun-2018
  • (2018)NetcoProceedings of the ACM Symposium on Cloud Computing10.1145/3267809.3267827(186-198)Online publication date: 11-Oct-2018
  • (2018)mPart: miss-ratio curve guided partitioning in key-value storesProceedings of the 2018 ACM SIGPLAN International Symposium on Memory Management10.1145/3210563.3210571(84-95)Online publication date: 18-Jun-2018
  • (2018)Ins and OutsProceedings of the Eighteenth ACM International Symposium on Mobile Ad Hoc Networking and Computing10.1145/3209582.3209587(41-50)Online publication date: 26-Jun-2018
  • (2018)Demystifying Cache Policies for Photo Stores at ScaleProceedings of the 2018 International Conference on Supercomputing10.1145/3205289.3205299(284-294)Online publication date: 12-Jun-2018
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media