Alligator Collector: A Latency-Optimized Garbage Collector for Functional Programming Languages

被引:4
作者
Gamari, Ben [1 ]
Dietz, Laura [2 ]
机构
[1] Well Typed LLP, London, England
[2] Univ New Hampshire, Durham, NH 03824 USA
来源
PROCEEDINGS OF THE 2020 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, ISMM 2020 | 2020年
关键词
garbage collection implementations; REAL-TIME;
D O I
10.1145/3381898.3397214
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Modern hardware and applications require runtime systems that can operate under large-heap and low-latency requirements. For many client/server or interactive applications, reducing average and maximum pause times is more important than maximizing throughput. The GHC Haskell runtime system version 8.10.1 offers a new latency-optimized garbage collector as an alternative to the existing throughput-optimized copying garbage collector. This paper details the latency-optimized GC design, which is a generational collector integrating GHC's existing collector and bump-pointer allocator with a non-moving collector and non-moving heap suggested by Ueno and Ohori. We provide an empirical analysis on the latency/throughput tradeoffs. We augment the established nofib micro benchmark with a response-time focused benchmark that simulates real-world applications such as LRU caches, web search, and key-value stores.
引用
收藏
页码:87 / 99
页数:13
相关论文
共 28 条
[1]  
Anderson ToddA., 2015, TRANSACT
[2]   LIST PROCESSING IN REAL-TIME ON A SERIAL COMPUTER [J].
BAKER, HG .
COMMUNICATIONS OF THE ACM, 1978, 21 (04) :280-294
[3]  
Ben-Yitzhak Ori, 2002, P 3 INT S MEM MAN, P100
[4]   Immix: A mark-region garbage collector with space efficiency, fast collection, and mutator performance [J].
Blackburn, Stephen M. ;
McKinley, Kathryn S. .
ACM SIGPLAN NOTICES, 2008, 43 (06) :22-32
[5]  
Brooks RodneyA., 1984, Proceedings of the 1984 ACM Symposium on LISP and Functional Programming, LFP '84, P256
[6]   Non-stop Haskell [J].
Cheadle, AM ;
Field, AJ ;
Marlow, S ;
Jones, SLP ;
While, RL .
ACM SIGPLAN NOTICES, 2000, 35 (09) :257-267
[7]  
Cheadle Andrew M, 2004, P 4 INT S MEM MAN, P163
[8]   NONRECURSIVE LIST COMPACTING ALGORITHM [J].
CHENEY, CJ .
COMMUNICATIONS OF THE ACM, 1970, 13 (11) :677-&
[9]  
Detlefs David, 2004, ISMM, P37, DOI [DOI 10.1145/1029873.1029879.MPLETHESERIAL, DOI 10.1145/1029873.1029879]
[10]  
Doligez D., 1993, Conference Record of the Twentieth Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, P113, DOI 10.1145/158511.158611