Remix.run Logo
▲ citrin_ru 5 hours ago

Isn't the reason for this that on a single core SerialGC is better (lower CPU overhead at least)?

▲brunoborges 2 hours ago | parent | next [-]

A 1,000 millicore CPU limit on Kubernetes does not mean the JVM can only use a single core. But that is indeed how the JVM interprets the limit: as a single core being available.

▲antonhag 4 hours ago | parent | prev | next [-]

Lower overhead yes - but G1 should have shorter pauses. And shorter pauses is probably worth it unless you run only background jobs in your jvms.

▲cogman10 3 hours ago | parent [-]

Lower CPU and Memory overhead.

Serial will be your best choice if your app is constantly using 100% of that core or if you need to minimize the amount of memory overhead.

G1 is a better choice if you can be flexible with your memory and if you have a lot of periods in your app where it's below 100% CPU usage (maybe a lot of IO).

▲ch4s3 4 hours ago | parent | prev [-]

I'd imagine so. The kind of bookkeeping they're talking about here would negatively effect performance on a single core.