bigcache-bench icon indicating copy to clipboard operation
bigcache-bench copied to clipboard

Why the GC pause time of bigCache and freeCache is nearly 200ms?

Open Anastasia-Zhang opened this issue 1 year ago • 3 comments

When I try to execute go run caches_gc_overhead_comparison.go , the result was so confused.... go version go1.19 linux/amd64 cpu: AMD EPYC 7K62 48-Core Processor I've tried serval times with the similar results:

Number of entries: 20000000 Number of repeats: 50 GC pause for startup: 17.373µs GC pause for warmup: 13.430233ms GC pause for freecache: 202.993745ms GC pause for bigcache: 185.630034ms GC pause for map: 111.981196ms

I don't know why the GC pause time of bigCache and freeCache is larger than map, and is nearly 200ms....

Anastasia-Zhang avatar Mar 17 '23 09:03 Anastasia-Zhang