3 ms·
Yep, this. Although to be fair, Zing is pretty good but not a panacea. It causes latencies to increase across the board -- probably due to increased allocation
by gbasin 8y ago
Yep, this. Although to be fair, Zing is pretty good but not a panacea. It causes latencies to increase across the board -- probably due to increased allocation times, or maybe messing with the cache
- chrisseaton 8y ago> probably due to increased allocation times Doesn’t C4 still use a thread-local bump allocator? How does that increase allocation time? I would think it’s much more likely to be the complex barriers.
- gbasin 8y agoYes you're probably right. I haven't dug much into it myself
- giltene 8y agoIf you did (dig into it yourself), you'd quickly find out that the urban myth about Zing somehow hurting latencies across the board is plain wrong. In fact, these days it tends to be percievably faster (in both latency and throughput) in about 70-80% of the workload we encounter. Certainly when compared to G1GC and CMS, and often even when compared to ParallelGC... E.g. it is typicaly >10% faster at things like Cassandra, Spark (TPC-DS), LMAX Disruptor workloads, etc. etc. etc.